/* style.css - Version 8.4 (Vertical Stack Sticky Bar) */
/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700;800;900&family=Sarabun:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #00a8e8;
    --primary-dark: #0077b6;
    --text-dark: #1a202c;
    --text-grey: #4a5568;

    /* Font Variables */
    --font-heading: 'Kanit', sans-serif;
    --font-body: 'Sarabun', sans-serif;

    /* Colors for specific statuses */
    --status-success: #28a745;
    --status-danger: #dc3545;
    
    /* Pagination Gray Color */
    --pagination-color: #6c757d; 

    /* Glow Effects */
    --default-blue-glow: rgba(0, 168, 232, 0.25);
    --active-orange-glow: rgba(255, 152, 0, 0.6);
    --active-orange-gradient: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    --active-orange-border: #ff9800;
}

/* Container */
.career-plugin-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: var(--font-body);
    color: var(--text-dark);
    box-sizing: border-box;
    padding: 0 15px;
    /* Space for Sticky Bar */
    padding-bottom: 120px; 
}

.career-plugin-container * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent !important;
}

/* ================== MENU STYLES ================== */

/* Top Notice Style */
.career-top-notice {
    text-align: left;
    color: #ff9800; 
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 20px;
    width: 100%;
}

.career-intro {
    margin-bottom: 25px;
    font-family: var(--font-heading);
    text-align: center;
}

/* --- BIRTH SELECTOR STYLES (ENHANCED V5.6) --- */
.birth-selector-wrapper {
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 168, 232, 0.1);
    border: 1px solid #e0f2fe;
    border-top: 5px solid var(--primary-color);
    margin-bottom: 35px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.birth-selector-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 168, 232, 0.15);
}

.birth-inputs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.birth-select {
    flex: 1;
    min-width: 140px;
}

.small-select {
    flex: 0 0 90px;
    min-width: 80px;
}

.thaksa-toggle-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px dashed #cbd5e1;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: .3s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--status-success);
}

input:checked+.slider:before {
    transform: translateX(22px);
}

.toggle-label {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Thaksa Status Colors & Glow */
.thaksa-status-off {
    color: #00a8e8; /* Blue */
    text-shadow: 0 0 10px rgba(0, 168, 232, 0.6);
    transition: all 0.3s;
}

.thaksa-status-on {
    color: #ff9800; /* Orange */
    text-shadow: 0 0 10px rgba(255, 152, 0, 0.8);
    font-weight: 700;
    transition: all 0.3s;
}

/* --- INFO CARD STYLES --- */
.mns-info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #cce3ff;
    border-left: 5px solid #ff9800;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.1);
    overflow: hidden;
    text-align: left !important;
}

.info-card-header {
    background: #fff5e6;
    color: #d97706;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem !important; 
    border-bottom: 1px solid #ffe0b2;
    text-align: left !important;
}

.info-card-content {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left !important;
}

.info-line {
    font-family: var(--font-body);
    font-size: 1.4rem !important; 
    color: var(--text-dark);
    text-align: left !important;
}

.info-line strong {
    font-weight: 600;
    color: var(--primary-dark);
}

.highlight-red {
    color: var(--status-danger);
    background: #fff5f5;
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-block;
}

.highlight-red span {
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: underline;
}

/* --- ASTROLOGY ANIMATIONS --- */
@keyframes mns-spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes mns-pulse-glow {
    0% { opacity: 0.8; filter: drop-shadow(0 0 2px rgba(255, 152, 0, 0.4)); }
    50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(255, 152, 0, 0.8)); }
    100% { opacity: 0.8; filter: drop-shadow(0 0 2px rgba(255, 152, 0, 0.4)); }
}
.astro-icon-spin {
    animation: mns-spin-slow 20s linear infinite;
    transform-origin: center;
}
.astro-star-pulse {
    animation: mns-pulse-glow 3s ease-in-out infinite;
}
.mns-astro-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- CAREER GROUPS --- */
.career-group-row {
    margin-bottom: 35px;
    text-align: left !important;
}

.label-head {
    color: var(--primary-dark);
    display: block;
    width: 100%;
    padding-bottom: 10px;
    font-size: 1.5em;
    font-weight: 700;
    font-family: var(--font-heading);
    border-bottom: 2px solid #eef2f6;
    margin-bottom: 20px;
    position: relative;
    text-align: left !important;
}

.label-head::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

.career-list-items {
    padding: 5px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Reduced gap slightly */
    justify-content: flex-start !important;
    text-align: left !important;
}

/* --- CAREER BUTTON STYLE (Compact Version ~10% Smaller) --- */
.career-label {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    color: #1f2937;
    border: 1px solid #cbd5e1;
    /* Reduced Size Here */
    padding: 10px 22px; /* Was 12px 30px */
    font-size: 1.25rem; /* Was 1.4rem */
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    font-family: var(--font-body);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    line-height: 1.3;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.career-label:hover {
    background: linear-gradient(135deg, #00a8e8 0%, #0077b6 100%);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-3px) scale(1.02); /* Adjusted hover scale */
    box-shadow: 0 8px 15px rgba(0, 168, 232, 0.3);
}

/* Selected State (Multi-Select) */
.career-label.selected-career {
    background: var(--active-orange-gradient);
    color: white;
    font-weight: 600;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.5);
    transform: translateY(-2px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding-right: 40px; /* Adjusted spacing for checkmark */
}

.career-label.selected-career::after {
    content: '✓';
    position: absolute;
    right: 12px; /* Adjusted position */
    font-weight: 800;
    font-size: 1.1em;
}

/* Dimmed State (When max limit reached) */
.career-label.dimmed-career {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(100%);
    transform: none !important;
    box-shadow: none !important;
}

/* --- STICKY ACTION BAR (VERTICAL STACK) --- */
.career-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* PC: Stronger Background & Border */
    background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(12px);
    border-top: 4px solid var(--primary-color); /* Added Accent Line */
    /* PC: Stronger Shadow */
    box-shadow: 0 -10px 40px rgba(0, 168, 232, 0.15); 
    /* PC: Bigger Padding */
    padding: 20px 30px; 
    z-index: 10000; /* High Z-Index to ensure visibility */
    display: flex;
    justify-content: space-between;
    align-items: center; /* Center Vertically relative to container height */
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.career-sticky-bar.is-visible {
    transform: translateY(0);
}

.sticky-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1; /* Allow it to take space */
}

.sticky-label {
    font-family: var(--font-heading);
    font-size: 1rem; /* Slightly larger */
    color: var(--text-grey);
    font-weight: 500;
}

/* [UPDATED] Vertical List Style */
.sticky-selected-list {
    font-family: var(--font-heading);
    /* Removed nowrap to allow stacking/wrapping */
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
    display: flex;
    flex-direction: column; /* Stack Items Vertically */
    gap: 4px; /* Space between lines */
}

/* [NEW] Individual Career Line Style */
.sticky-career-line {
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--primary-dark);
    font-weight: 600;
    display: block;
}

.sticky-actions-right {
    display: flex;
    align-items: center;
    gap: 15px; /* More gap */
    flex-shrink: 0; /* Prevent buttons from shrinking */
    align-self: flex-end; /* Align to bottom if list grows tall */
    padding-bottom: 5px; /* Slight offset */
}

/* Reset Button in Sticky Bar */
.sticky-btn-reset {
    background: white; /* White bg makes it stand out on mobile */
    border: 2px solid #cbd5e1; /* Thicker border */
    color: #64748b;
    width: 45px; /* Larger click area */
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sticky-btn-reset:hover {
    background: #fff5f5;
    color: var(--status-danger);
    border-color: #fca5a5;
    transform: rotate(90deg) scale(1.1);
}

.sticky-btn-action {
    background: var(--active-orange-gradient);
    color: white;
    border: none;
    padding: 14px 35px; /* Larger Button */
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem; /* Larger Font */
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticky-btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.6);
}

.sticky-btn-action:disabled {
    background: #cbd5e1;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}


/* ================== RESULT SECTION ================== */
.career-result-view {
    margin-top: 40px;
}

.career-header {
    text-align: left;
    margin-bottom: 25px;
    padding: 30px;
    background: linear-gradient(120deg, #ffffff 0%, #f0f9ff 100%);
    border-radius: 20px;
    border: 1px solid #e0f2fe;
    border-left: 6px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 168, 232, 0.08);
    position: relative;
    overflow: hidden;
    text-align: left !important;
}

.career-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.career-header h3 {
    font-family: var(--font-body);
    font-weight: 600;
    color: #64748b;
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.career-header h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--active-orange-border);
    border-radius: 50%;
}

.career-header h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 2.2rem;
    margin: 0;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    background: -webkit-linear-gradient(45deg, #1a202c, #2d3748);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.controls-row {
    margin-bottom: 25px;
    text-align: right;
}

.form-control-modern {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 50px;
    border: 1px solid #94a3b8;
    padding: 10px 20px 10px 20px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-dark);
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    min-width: 100px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control-modern:focus {
    border-color: var(--active-orange-border) !important;
    box-shadow: 0 0 0 3px var(--active-orange-glow) !important;
}

/* ================== SUITABLE HEADER ================== */
.career-suitable-message {
    display: table !important;
    margin: 25px auto 25px auto !important;
    padding: 12px 35px;
    text-align: center !important;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--status-success);
    font-weight: 600;
    background: rgba(40, 167, 69, 0.08);
    border-radius: 50px;
    border: 2px dashed rgba(40, 167, 69, 0.4);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.15);
    position: relative;
    left: auto !important;
    transform: none !important;
    width: auto;
    min-width: 280px;
    animation: bounceInUp 0.8s ease-out, floatGentle 3s ease-in-out infinite;
}

@keyframes bounceInUp {
    0% { opacity: 0; transform: translateY(20px); }
    60% { opacity: 1; transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

@keyframes floatGentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Checkmark Animation (Tada/Pulse) */
@keyframes checkmarkTada {
    0% { transform: scale(1); }
    10%, 20% { transform: scale(0.9) rotate(-3deg); }
    30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
    40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
    100% { transform: scale(1) rotate(0); }
}

.suitable-icon {
    display: inline-block;
    vertical-align: sub;
    margin-left: 5px;
    animation: checkmarkTada 1.5s ease-in-out infinite; /* Apply Animation */
}

/* ================== GRID LAYOUT ================== */
.career-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* ================== CARD STYLES ================== */
.mns-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--card-color);
    border-left: 1px solid #f1f5f9;
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.mns-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.mns-card-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    align-items: center;
    text-align: center;
}

.mns-row-phone {
    width: 100%;
    margin-bottom: 2px;
}

.mns-phone-link {
    font-family: var(--font-heading);
    font-size: 2.5rem !important;
    font-weight: 500 !important;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    line-height: 1;
    display: block;
    letter-spacing: 0.5px;
    transition: transform 0.1s ease, opacity 0.1s ease;
}

.mns-phone-link:active {
    opacity: 0.6;
    transform: scale(0.96);
}

.mns-row-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 4px;
    border-bottom: 1px dashed #f0f0f0;
}

.mns-info-logo img {
    height: 30px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    display: block !important;
    margin: 0 !important;
}

.mns-info-price {
    font-family: var(--font-heading);
    font-size: 1.8rem !important;
    font-weight: 700 !important;
}

.mns-row-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.mns-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}

.mns-stat-label {
    font-size: 0.75rem;
    color: #a0aec0;
    font-weight: 600;
    text-transform: uppercase;
}

.mns-grade-circle,
.mns-sum-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0 !important;
}

.mns-grade-circle {
    color: #fff;
    background-color: var(--card-color);
}

.mns-sum-circle {
    background-color: #fff;
    color: var(--card-color);
    border: 2px solid var(--card-color);
}

.mns-stat-divider {
    width: 1px;
    height: 25px;
    background: #e2e8f0;
}

.mns-row-desc {
    flex-grow: 1;
    width: 100%;
    font-family: var(--font-body);
    font-size: 1.2rem !important;
    font-weight: 500;
    color: var(--text-grey);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2px;
    position: relative;
    z-index: 1;
    min-height: 1.3em;
}

.mns-row-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 5px;
}

.mns-btn-circle {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0 !important;
    border: none !important;
}

.mns-btn-circle:active {
    background: var(--active-orange-gradient) !important;
    box-shadow: 0 0 0 3px var(--active-orange-glow) !important;
    transform: scale(0.95) !important;
}

.mns-btn-circle svg {
    width: 18px;
    height: 18px;
    stroke-width: 2px;
}

.mns-btn-circle:hover {
    transform: scale(1.15) rotate(5deg);
}

/* Cart Button: Use --card-color variable + Gradient Overlay for Shine */
.mns-btn-cart {
    background-color: var(--card-color, #4caf50) !important; 
    background-image: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(0,0,0,0.1) 100%) !important; /* Shine Effect */
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* [NEW] Jello Animation Keyframes */
@keyframes jello-horizontal {
  0% { transform: scale3d(1, 1, 1); }
  30% { transform: scale3d(1.15, 0.85, 1); }
  40% { transform: scale3d(0.85, 1.15, 1); }
  50% { transform: scale3d(1.10, 0.9, 1); }
  65% { transform: scale3d(0.95, 1.05, 1); }
  75% { transform: scale3d(1.05, 0.95, 1); }
  100% { transform: scale3d(1, 1, 1); }
}

/* [MODIFIED] Trigger Jello on Card Hover */
.mns-card:hover .mns-btn-cart {
    animation: jello-horizontal 0.9s both;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2) !important;
}

.mns-btn-compare {
    background: linear-gradient(135deg, #f6ad55, #ed8936);
}

.mns-btn-call {
    background: linear-gradient(135deg, #00bfff, #0077b6);
}

/* Tooltip for Logo */
.mns-logo-tooltip {
    visibility: hidden;
    background: rgba(26, 32, 44, 0.9);
    backdrop-filter: blur(4px);
    color: #fff;
    text-align: center;
    border-radius: 50px;
    padding: 6px 15px;
    position: absolute;
    z-index: 20;
    bottom: 120%;
    left: 0;
    transform: translateY(5px) scale(0.95);
    opacity: 0;
    transition: all 0.2s ease-out;
    font-family: var(--font-body);
    font-size: 0.85rem;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.mns-info-logo:hover .mns-logo-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.mns-logo-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 20px;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(26, 32, 44, 0.9) transparent transparent transparent;
}

/* Pagination */
.pagination-wrapper {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.career-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.career-pagination li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: inline-block;
}

.career-pagination li::before,
.career-pagination li::after {
    content: none !important;
    display: none !important;
}

.career-pagination li a,
.career-pagination li span {
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    background-color: #fff;
    color: var(--pagination-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    border: 1px solid #e2e8f0;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

/* Active Pagination -> Gray */
.career-pagination li.active a,
.career-pagination li.active span {
    background-color: var(--pagination-color); /* Gray */
    color: #fff;
    border-color: var(--pagination-color);
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.4);
    pointer-events: none;
    transform: translateY(-2px);
}

.career-pagination li a:hover {
    border-color: var(--pagination-color);
    color: var(--pagination-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.2);
}

.career-pagination li.disabled span {
    color: #cbd5e0;
    background: #f8fafc;
    pointer-events: none;
    box-shadow: none;
    border-color: #edf2f7;
}

/* Share Button */
.mns-share-container {
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    justify-content: center;
}

.mns-btn-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f8fafc;
    border: 1px solid #cbd5e0;
    color: #00a8e8;
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.mns-btn-share:hover {
    background-color: #f1f5f9;
    transform: translateY(-1px);
}

.mns-copy-tooltip {
    visibility: hidden;
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: #ffffff;
    border-radius: 50px;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.95);
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(245, 124, 0, 0.3);
}

.mns-copy-tooltip.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.mns-copy-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #F57C00 transparent transparent transparent;
}

.alert-box {
    padding: 30px;
    background: #fff;
    color: var(--text-grey);
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.text-center {
    text-align: center;
}

/* ================== RESPONSIVE (MOBILE) ================== */
@media (max-width: 768px) {
    /* [UPDATED] Container Logic: Full Width Breakout */
    .career-plugin-container {
        width: calc(100% + 20px) !important; /* Wider than parent */
        margin-left: -10px !important; /* Pull left */
        margin-right: -10px !important; /* Pull right */
        padding: 0 !important; 
        padding-bottom: 120px !important; /* [INCREASED] Space for Sticky Bar */
        overflow-x: hidden;
    }

    .career-top-notice {
        font-size: 15px; 
        padding: 0 10px; /* Restore padding for text */
    }

    .birth-inputs-row {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        width: 100%;
        gap: 10px;
        justify-content: space-between;
        padding: 0 10px;
    }

    .birth-select,
    .small-select {
        flex: 0 0 calc(50% - 5px) !important;
        width: calc(50% - 5px) !important;
        min-width: 0 !important;
    }

    /* [UPDATED] Mobile Grid: Gap 8px + Edge-to-Edge */
    .career-results-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important; 
        padding: 0 2px !important; /* Minimal edge padding */
    }

    /* [UPDATED] Compact Vertical Height */
    .mns-card-body {
        padding: 6px 2px; /* Reduce internal padding */
        gap: 1px; /* Reduce internal gap */
    }

    .mns-row-info {
        padding-bottom: 2px; /* Compact */
        border-bottom: 1px dashed #f0f0f0;
    }

    .mns-row-stats {
        margin-bottom: 3px; /* Compact */
    }

    .label-head {
        font-size: 1.3em;
        text-align: left !important;
        padding-left: 10px;
    }
    
    /* Mobile Buttons also smaller */
    .career-label {
        padding: 8px 18px;
        font-size: 1.15rem;
    }

    /* [UPDATED] Restored Big Fonts */
    .mns-phone-link {
        font-size: 1.85rem !important; 
    }

    .mns-info-logo img {
        height: 24px !important;
    }

    .mns-info-price {
        font-size: 1.5rem !important;
    }

    .mns-grade-circle,
    .mns-sum-circle {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .mns-btn-circle {
        width: 32px !important;
        height: 32px !important;
    }

    .mns-logo-tooltip {
        white-space: normal; 
        max-width: 200px;
    }

    .mns-info-logo:hover .mns-logo-tooltip {
        transform: translateY(0) scale(1) !important;
    }

    .mns-logo-tooltip::after {
        left: 15px !important;
        margin-left: 0 !important;
    }

    .career-header {
        text-align: left;
        padding: 20px;
        text-align: left !important;
    }

    .career-header h3 {
        justify-content: flex-start;
    }

    .info-card-header, 
    .info-line {
        font-size: 1.25rem !important;
    }
    
    .thaksa-status-off {
        text-shadow: 0 0 15px rgba(0, 168, 232, 0.9) !important;
    }
    
    .thaksa-status-on {
        text-shadow: 0 0 15px rgba(255, 152, 0, 0.9) !important;
    }

    .career-suitable-message {
        font-size: 1.4rem;
        min-width: 90%;
        padding: 8px;
    }
    
    /* Mobile Sticky Bar - Always Visible Logic & Safe Area */
    .career-sticky-bar {
        padding: 12px 15px;
        /* Ensure padding for iPhone Safe Area */
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
        flex-direction: row; /* Keep row on mobile for space */
        z-index: 99999; /* Ensure on top */
        /* If user wants it 'always there' even before selection, remove transform, 
           but currently logic depends on .is-visible from JS */
    }
    .sticky-selected-list {
        /* Allow list to stack up even on mobile */
        max-width: 45vw;
        font-size: 1rem;
    }
    .sticky-career-line {
        font-size: 1rem; /* Smaller font for mobile stack */
        line-height: 1.2;
    }
    .sticky-btn-action {
        padding: 10px 18px;
        font-size: 1rem;
    }
    .sticky-btn-reset {
        width: 36px;
        height: 36px;
    }
}