/* ============================================
   AI Career Path Wizard — Production Design
   Matches scholariq.in/ai-career-path v2
   ============================================ */

/* ============================================
   0. SMOOTH LOADING PREVENTION
   ============================================ */

/* Prevent flash of unstyled content during initial render */
.career-wizard-container {
    opacity: 0;
    animation: smoothFadeIn 0.2s ease-out forwards;
    animation-delay: 0.01s;
}

@keyframes smoothFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   1. PROGRESS BAR (Fixed, Sticky)
   ============================================ */

.progress-bar-wrapper {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    z-index: 999;
    transition: top 0.3s ease;
}

.progress-track {
    height: 8px;
    background: #F3F4F6;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #DAA520 0%, #B8860B 100%);
    border-radius: 4px;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(184, 134, 11, 0.3);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 13px;
}

.progress-text {
    color: #4B5563;
    font-weight: 500;
}

.progress-percent {
    color: #B8860B;
    font-weight: 700;
    font-size: 15px;
}

/* ============================================
   2. WIZARD CONTAINER & SCREENS
   ============================================ */

.career-wizard-container {
    /* Allow natural height so content can fit smaller viewports and scroll if necessary */
    min-height: auto;
    background: #ffffff;
}

.wizard-step {
    /* Avoid forcing full viewport height which causes overflow with header/footer.
       Use padding to create comfortable spacing while letting layout flow naturally. */
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 18px;
    animation: fadeIn 0.45s ease;
}

.wizard-step.welcome-step {
    background: linear-gradient(135deg, #FFFDF7 0%, #FFF8E1 100%);
}

/* Question screens reserve a small offset for the fixed progress bar but do not force large paddings */
.wizard-step.question-screen {
    padding-top: calc(72px + 12px);
}

/* Container widths */
.container-narrow {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.container-wide {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

/* ============================================
   3. WELCOME SCREEN (Step 0)
   ============================================ */

.hero-rocket {
    font-size: clamp(48px, 8vw, 80px);
    text-align: center;
    margin-bottom: 14px;
    animation: bounce 1s ease infinite;
}

.hero-title {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 800;
    text-align: center;
    color: #1d2330;
    margin-bottom: 6px;
    line-height: 1.12;
}

.gradient-text {
    background: linear-gradient(135deg, #DAA520, #B8860B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.beta-badge {
    text-align: center;
    color: #f59e0b;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.4px;
}

.hero-subtitle {
    text-align: center;
    font-size: clamp(14px, 2.2vw, 18px);
    color: #4B5563;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Trust Badges */
.trust-stats {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 18px;
    border-radius: 12px;
    border: 2px solid #E5E7EB;
    transition: all 0.28s ease;
}

.stat-item:hover {
    border-color: #B8860B;
    box-shadow: 0 4px 16px rgba(184, 134, 11, 0.12);
    transform: translateY(-2px);
}

.stat-item i {
    font-size: 24px;
    color: #B8860B;
}

.stat-item strong {
    display: block;
    font-size: 18px;
    color: #1d2330;
    font-weight: 700;
}

.stat-item span {
    display: block;
    font-size: 13px;
    color: #6B7280;
}

/* Privacy */
.privacy-checkbox {
    max-width: 720px; /* allow longer label lines to sit nicely centered */
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center; /* center the checkbox + label */
    gap: 12px;
    padding: 0 12px;
}

.privacy-checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #B8860B;
    flex: 0 0 20px;
}

.privacy-checkbox label {
    font-size: 15px;
    color: #4B5563;
    line-height: 1.35;
    /* allow label to wrap but keep leading aligned center with checkbox */
    display: inline-block;
}

.privacy-checkbox a {
    color: #B8860B;
    font-weight: 600;
    text-decoration: underline;
}

/* Security Note */
.security-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6B7280;
    margin-top: 14px;
}

.security-note i {
    color: #10B981;
}

/* ============================================
   4. QUESTION SCREENS (Steps 1-9)
   ============================================ */

.emoji-large {
    font-size: 80px;
    display: block;
    margin-bottom: 20px;
    text-align: center;
}

.animate-bounce {
    animation: bounce 1s ease infinite;
}

.question-title {
    font-size: 36px;
    font-weight: 700;
    color: #1d2330;
    line-height: 1.3;
    margin-bottom: 12px;
    text-align: center;
}

.question-title .highlight {
    color: #B8860B;
    font-weight: 700;
}

.animate-slide-up {
    animation: slideUp 0.6s ease;
}

.question-helper {
    font-size: 16px;
    color: #6B7280;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.personalized-note {
    font-size: 14px;
    color: #6B7280;
    margin-top: 20px;
    margin-bottom: 0;
    background: #F9FAFB;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    text-align: left;
    line-height: 1.6;
}

.personalized-note .highlight {
    color: #B8860B;
    font-weight: 600;
}

/* ============================================
   5. INPUT FIELDS & FORMS
   ============================================ */

.input-group {
    position: relative;
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.input-modern {
    position: relative;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.input-modern label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.input-modern input,
.input-modern select,
.input-modern textarea {
    width: 100%;
    padding: 16px 48px 16px 18px;
    font-size: 16px;
    color: #1F2937;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.input-modern input:focus,
.input-modern select:focus,
.input-modern textarea:focus {
    outline: none;
    border-color: #B8860B;
    box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.1);
}

.input-modern input::placeholder {
    color: #9CA3AF;
}

.input-modern i {
    position: absolute;
    right: 16px;
    top: calc(50% + 12px);
    transform: translateY(-50%);
    color: #9CA3AF;
    pointer-events: none;
}

/* Phone Wrapper */
.phone-wrapper {
    display: flex;
    align-items: center;
}

.country-code {
    padding: 16px 14px;
    background: #F3F4F6;
    border: 2px solid #E5E7EB;
    border-radius: 12px 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    border-right: none;
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   6. BUTTONS
   ============================================ */

.button-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 48px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(184, 134, 11, 0.25);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(184, 134, 11, 0.35);
}

.btn-hero:disabled,
.btn-hero.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.25);
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.35);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #9CA3AF;
    box-shadow: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #4B5563;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #B8860B;
    color: #B8860B;
    background: #FFFDF7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.15);
}

/* ============================================
   7. CARD SELECTIONS — Education
   ============================================ */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
    text-align: center;
}

.option-card {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.option-card:hover {
    border-color: #B8860B;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(184, 134, 11, 0.15);
}

.option-card.selected {
    border-color: #B8860B;
    background: linear-gradient(135deg, #FFFDF7 0%, #FFF9E6 100%);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.2);
}

.option-card.selected::after {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: #B8860B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    animation: checkPop 0.3s ease;
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.option-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 8px;
}

.card-label {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.4;
}

/* ============================================
   8. SEARCH BOX
   ============================================ */

.search-box {
    position: relative;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 55px;
    font-size: 16px;
    border: 2px solid #E5E7EB;
    border-radius: 50px;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.search-box input:focus {
    outline: none;
    border-color: #B8860B;
    box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.15);
    background: #FFFDF7;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #B8860B;
    font-size: 18px;
}

/* ============================================
   9. SPECIALIZATION / FIELD CATEGORIES
   ============================================ */

.field-categories {
    margin-bottom: 40px;
    text-align: left;
}

.category-section {
    margin-bottom: 28px;
}

.category-section h5 {
    font-size: 15px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill-option {
    padding: 12px 22px;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.pill-option:hover {
    border-color: #B8860B;
    background: #FFFDF7;
}

.pill-option.selected {
    background: #B8860B;
    color: white;
    border-color: #B8860B;
}

/* ============================================
   10. EXPERIENCE CARDS
   ============================================ */

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.exp-card {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.exp-card.popular {
    border-color: #B8860B;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.15);
}

.exp-card .badge {
    position: absolute;
    top: -10px;
    right: 12px;
    background: #EF4444;
    color: white;
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.exp-card:hover {
    border-color: #B8860B;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.15);
}

.exp-card.selected {
    border-color: #B8860B;
    background: linear-gradient(135deg, #FFFDF7 0%, #FFF9E6 100%);
}

.exp-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1F2937;
    margin: 10px 0 8px;
}

.exp-card p {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 12px;
}

.salary-tag {
    display: inline-block;
    background: #10B981;
    color: white;
    padding: 5px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

/* ============================================
   11. GOAL CARDS
   ============================================ */

.goal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
    text-align: left;
}

.goal-card {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.goal-card.featured {
    border-color: #B8860B;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.15);
}

.goal-card .badge.popular {
    position: absolute;
    top: -10px;
    right: 12px;
    background: #EF4444;
    color: white;
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.goal-card:hover {
    border-color: #B8860B;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.2);
}

.goal-card.selected {
    border-color: #B8860B;
    background: linear-gradient(135deg, #FFFDF7 0%, #FFF9E6 100%);
}

.goal-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 10px;
}

.goal-card p {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 16px;
    line-height: 1.5;
}

.goal-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6B7280;
}

.goal-stats span {
    padding: 4px 10px;
    background: #F3F4F6;
    border-radius: 8px;
}

/* ============================================
   12. SKILLS
   ============================================ */

.skills-counter {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 24px;
    padding: 12px 20px;
    background: #F9FAFB;
    border: 2px dashed #E5E7EB;
    border-radius: 12px;
}

.skills-counter strong {
    color: #B8860B;
    font-size: 18px;
}

.skills-categories {
    margin-bottom: 40px;
    text-align: left;
}

.skill-category {
    margin-bottom: 28px;
}

.skill-category h5 {
    font-size: 15px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 14px;
}

.skills-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.skill-chip:hover {
    border-color: #B8860B;
    background: #FFFDF7;
}

.skill-chip.selected {
    background: #B8860B;
    color: white;
    border-color: #B8860B;
}

.skill-chip i {
    font-size: 12px;
}

/* ============================================
   13. TARGET ROLES
   ============================================ */

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #FFFDF7 0%, #FFF9E6 100%);
    border: 2px solid #B8860B;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #B8860B;
    margin-bottom: 28px;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.role-card {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.role-card:hover {
    border-color: #B8860B;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.2);
}

.role-card.selected {
    border-color: #B8860B;
    background: linear-gradient(135deg, #FFFDF7 0%, #FFF9E6 100%);
}

.match-badge {
    position: absolute;
    top: -10px;
    right: 12px;
    background: #B8860B;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.3);
}

.role-icon {
    font-size: 40px;
    margin-bottom: 12px;
    text-align: center;
}

.role-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 12px;
    text-align: center;
}

.role-info {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 12px;
    color: #6B7280;
    flex-wrap: wrap;
}

.role-info span {
    padding: 4px 10px;
    background: #F3F4F6;
    border-radius: 8px;
}

.demand {
    font-weight: 600;
}

.demand.very-high {
    color: #059669;
    background: #ECFDF5 !important;
}

.demand.high {
    color: #10B981;
    background: #ECFDF5 !important;
}

.demand.stable,
.demand.medium {
    color: #f59e0b;
    background: #FFFBEB !important;
}

/* ============================================
   14. REVIEW PROFILE (Step 9)
   ============================================ */

.completion-badge {
    text-align: center;
    margin-bottom: 24px;
}

.completion-badge i {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
    color: #10B981;
}

.completion-badge p {
    font-size: 18px;
    font-weight: 600;
    color: #059669;
}

.profile-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    border: 2px solid #E5E7EB;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 32px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 2px solid #F3F4F6;
    margin-bottom: 24px;
}

.avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    flex-shrink: 0;
}

.profile-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 4px;
}

.profile-header p {
    font-size: 14px;
    color: #6B7280;
    margin: 2px 0;
}

.profile-details {
    display: grid;
    gap: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #F3F4F6;
}

.detail-row .label {
    font-weight: 600;
    color: #6B7280;
    font-size: 14px;
}

.detail-row .value {
    font-weight: 600;
    color: #1F2937;
    font-size: 14px;
}

.skills-badges,
.roles-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.skills-badges span,
.roles-badges span {
    padding: 6px 12px;
    background: #B8860B;
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* ============================================
   15. GENERATING SCREEN (Step 10)
   ============================================ */

.generating-animation {
    text-align: center;
}

.brain-animation {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.brain-pulse-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: brainPulse 2s ease-in-out infinite;
}

.brain-icon {
    position: relative;
    font-size: 80px;
    animation: aiFloat 3s ease-in-out infinite;
}

.loading-steps {
    max-width: 400px;
    margin: 40px auto;
    text-align: left;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-bottom: 10px;
    background: white;
    border-radius: 12px;
    border: 2px solid #E5E7EB;
    transition: all 0.5s ease;
}

.loading-step.completed {
    border-color: #10B981;
    background: #F0FDF4;
}

.loading-step.processing {
    border-color: #B8860B;
    background: #FFFDF7;
}

.loading-step i {
    font-size: 20px;
}

.loading-step.completed i {
    color: #10B981;
}

.spinner-small {
    width: 20px;
    height: 20px;
    border: 3px solid #E5E7EB;
    border-top-color: #B8860B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-step span {
    font-size: 15px;
    font-weight: 500;
    color: #374151;
}

/* Progress for generating */
.generation-progress {
    max-width: 400px;
    margin: 30px auto 0;
}

.gen-progress-bar {
    height: 8px;
    background: #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.gen-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #DAA520 0%, #B8860B 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* ============================================
   16. ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes checkPop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes brainPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.3;
    }
}

@keyframes aiFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(10deg);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ============================================
   17. RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .progress-bar-wrapper {
        padding: 10px 15px 2px 15px;
    }

    /* Reduce overall padding so content fits shorter viewports */
    .wizard-step {
        padding: 14px 12px;
    }

    /* Reserve small offset for the fixed progress bar without pushing content too far down */
    .wizard-step.question-screen {
        padding-top: 64px;
    }

    /* Move progress bar slightly higher on mobile to align with compact header */
    .progress-bar-wrapper {
        top: 56px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    /* Tighter hero spacing on short screens */
    .hero-rocket { margin-bottom: 10px; }

    .question-title {
        font-size: 28px;
    }

    .emoji-large,
    .hero-rocket {
        font-size: 60px;
    }

    .trust-stats {
        gap: 12px;
    }

    .stat-item {
        padding: 12px 16px;
    }

    /* Mobile: ensure trust stat cards are centered and wrap predictably
       First card occupies full width then remaining two sit side-by-side */
    .trust-stats {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    /* Stack all three stat cards full-width on mobile for better readability */
    .trust-stats .stat-item {
        box-sizing: border-box;
        text-align: center;
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .stat-item strong {
        font-size: 16px;
    }

    /* Reduce vertical footprint of trust cards */
    .trust-stats .stat-item {
        padding: 10px 14px;
    }

    .card-grid,
    .experience-grid,
    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .goal-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .option-card,
    .exp-card,
    .goal-card,
    .role-card {
        padding: 16px 12px;
    }

    .card-icon,
    .role-icon {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .option-card h4,
    .exp-card h4,
    .goal-card h4,
    .role-card h4 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .card-label,
    .exp-card p,
    .goal-card p,
    .role-card .role-info {
        font-size: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Place action buttons side-by-side on mobile: primary on right, secondary on left */
    .btn-hero,
    .btn-primary,
    .btn-secondary {
        width: auto;
        padding: 14px 20px;
    }

    .button-group {
        flex-direction: row;
        justify-content: space-between;
        gap: 12px;
        align-items: stretch;
    }

    .wizard-step.question-screen .button-group {
        position: fixed;
        bottom: 65px;
        bottom: calc(65px + env(safe-area-inset-bottom));
        left: 0;
        right: 0;
        background: white;
        padding: 12px 16px;
        margin: 0;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
        z-index: 1000;
    }

    .wizard-step.question-screen {
        padding-bottom: 140px;
        padding-bottom: calc(140px + env(safe-area-inset-bottom));
    }

    .button-group .btn-secondary,
    .button-group .btn-primary {
        flex: 1 1 48%;
        max-width: 48%;
        min-width: 0; /* allow shrinking on very narrow screens */
        width: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 48px;
    }

    /* Center lone hero button on mobile */
    .button-group > .btn-hero {
        margin-left: auto;
        margin-right: auto;
        flex: 0 0 auto;
        max-width: 420px;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .detail-row {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .detail-row .value {
        text-align: left;
    }

    .skills-badges,
    .roles-badges {
        justify-content: flex-start;
    }

    /* Smaller privacy spacing on mobile so CTA stays visible */
    .privacy-checkbox { margin-bottom: 12px; }

    /* Reduce height of hero CTA area so it doesn't push footer into view */
    .button-group { margin-top: 8px; }
}

/* If viewport height is very short (small phones), reduce some large elements further */
@media (max-height: 700px) {
    .hero-rocket, .emoji-large { font-size: 44px !important; }
    .hero-title { font-size: 24px !important; }
    .hero-subtitle { font-size: 14px !important; }
    /* Keep trust stat layout consistent (don't force full-width stacking) */
    /* Removed full-width override so first card + two half cards layout remains on mobile */
    .button-group .btn-secondary, .button-group .btn-primary { flex: 1 1 48%; max-width: 48%; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .question-title {
        font-size: 24px;
    }

    .container-narrow,
    .container-wide {
        padding: 0 5px;
    }

    .option-card,
    .exp-card,
    .goal-card,
    .role-card {
        padding: 20px 16px;
    }
}

/* ============================================
   LEGACY COMPAT: step-container → container
   (Redirect old classes to new layout)
   ============================================ */

.step-container {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.step-container.wide {
    max-width: 1000px;
}

.step-container.narrow {
    max-width: 500px;
}

.step-title {
    font-size: 36px;
    font-weight: 700;
    color: #1d2330;
    line-height: 1.3;
    margin-bottom: 12px;
    text-align: center;
}

.step-title .highlight {
    color: #B8860B;
    font-weight: 700;
}

.step-helper {
    font-size: 16px;
    color: #6B7280;
    text-align: center;
    margin-bottom: 36px;
    line-height: 1.6;
}

.step-emoji {
    font-size: 80px;
    text-align: center;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

/* ============================================
   18. GENERATING OVERLAY
   ============================================ */

.generating-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.generating-spinner {
    text-align: center;
}

.spinner-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #B8860B;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.generating-text {
    font-size: 18px;
    font-weight: 600;
    color: #1d2330;
    margin: 0;
}

/* ============================================
   19. OTP MODAL
   ============================================ */

.otp-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.otp-modal {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    overflow: hidden;
}

.otp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 2px solid #F3F4F6;
}

.otp-modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1d2330;
    margin: 0;
}

.otp-close {
    width: 36px;
    height: 36px;
    background: #F3F4F6;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.otp-close:hover {
    background: #E5E7EB;
    color: #1F2937;
}

.otp-modal .otp-subtext {
    padding: 0 28px;
    margin: 20px 0 24px;
    font-size: 15px;
    color: #4B5563;
    line-height: 1.6;
    text-align: center;
}

.otp-code-display {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFDF7 100%);
    border: 2px dashed #B8860B;
    border-radius: 14px;
    padding: 16px;
    margin: 0 28px 24px;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #B8860B;
    letter-spacing: 8px;
}

.otp-input {
    padding: 0 28px 20px;
}

.otp-input label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    text-align: center;
}

.otp-input-group {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.otp-box {
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    transition: all 0.3s ease;
    background: white;
}

.otp-box:focus {
    outline: none;
    border-color: #B8860B;
    box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.15);
    background: #FFFDF7;
}

.otp-error {
    padding: 12px 28px;
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    border-radius: 10px;
    color: #DC2626;
    font-size: 14px;
    text-align: center;
    margin: 0 28px   16px;
}

.otp-resend {
    text-align: center;
    padding: 0 28px 24px;
}

.otp-resend .btn-secondary {
    min-width: 180px;
    font-size: 15px;
}

.otp-modal .button-group {
    padding: 24px 28px;
    border-top: 2px solid #F3F4F6;
    background: #F9FAFB;
    margin: 0;
}

/* Pathway Modal variant */
.pathway-modal {
    max-width: 800px;
}

.pathway-options {
    padding: 0 28px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pathway-card {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pathway-card:hover {
    border-color: #B8860B;
    box-shadow: 0 8px 24px rgba(184, 134, 11, 0.15);
    transform: translateY(-2px);
}

.pathway-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.pathway-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 8px;
}

.pathway-detail {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 16px;
}

.pathway-benefits {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.pathway-benefits li {
    font-size: 13px;
    color: #4B5563;
    padding: 6px 0;
    line-height: 1.5;
}

/* Animations */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .otp-modal {
        max-width: 95%;
    }

    .otp-input-group {
        gap: 6px;
    }

    .otp-box {
        font-size: 20px;
    }

    .otp-code-display {
        font-size: 24px;
        letter-spacing: 4px;
    }

    .pathway-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .otp-modal-header h3 {
        font-size: 20px;
    }

    .otp-input-group {
        gap: 4px;
    }

    .otp-box {
        font-size: 18px;
        border-radius: 8px;
    }
}

/* Warning Alert */
.warning-alert {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    max-width: 600px;
    width: calc(100% - 40px);
}

.warning-content {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFDF7 100%);
    border: 2px solid #B8860B;
    border-radius: 14px;
    padding: 16px 50px 16px 20px;
    box-shadow: 0 8px 24px rgba(184, 134, 11, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.warning-content span {
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.warning-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: rgba(184, 134, 11, 0.1);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    color: #B8860B;
    cursor: pointer;
    transition: all 0.2s ease;
}

.warning-close:hover {
    background: rgba(184, 134, 11, 0.2);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ============================================
   20. COMPLETION SCREEN STYLES
   ============================================ */

/* Completion steps with green boxes */
.completion-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.completion-item {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 2px solid #10B981;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    animation: completionPop 0.4s ease forwards;
    opacity: 0;
}

.completion-item:nth-child(1) { animation-delay: 0.1s; }
.completion-item:nth-child(2) { animation-delay: 0.2s; }
.completion-item:nth-child(3) { animation-delay: 0.3s; }
.completion-item:nth-child(4) { animation-delay: 0.4s; }
.completion-item:nth-child(5) { animation-delay: 0.5s; }

.completion-item i {
    font-size: 22px;
    color: #10B981;
    flex-shrink: 0;
}

.completion-item span {
    font-size: 15px;
    font-weight: 500;
    color: #065F46;
    flex: 1;
}

/* Success icon */
.success-icon {
    font-size: 64px;
    text-align: center;
    margin-bottom: 16px;
    animation: successBounce 0.6s ease;
}

/* Completion message */
.completion-message {
    text-align: center;
    margin: 24px 0;
}

.completion-message p {
    font-size: 16px;
    color: #374151;
    margin: 8px 0;
    line-height: 1.6;
}

.email-highlight {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFDF7 100%);
    border: 2px solid #B8860B;
    border-radius: 10px;
    padding: 12px 20px;
    margin: 16px 0 !important;
    font-size: 17px !important;
}

.spam-notice {
    font-size: 14px !important;
    color: #6B7280 !important;
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    margin: 32px 0 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    min-width: 200px;
}

.btn-large i {
    margin-right: 8px;
}

/* Fun fact styling */
.fun-fact {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFDF7 100%);
    border-left: 4px solid #B8860B;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    text-align: left;
}

.fun-fact i {
    color: #B8860B;
    margin-right: 8px;
}

.fun-fact strong {
    color: #B8860B;
    font-weight: 600;
}

/* Processing steps (during generation) */
.processing-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}

.process-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.process-item.active {
    border-color: #B8860B;
    background: linear-gradient(135deg, #FFFDF7 0%, #FFF9E6 100%);
}

.process-item.done {
    border-color: #10B981;
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
}

.process-item i {
    font-size: 20px;
    color: #9CA3AF;
    transition: all 0.3s ease;
}

.process-item.active i {
    color: #B8860B;
}

.process-item.done i {
    color: #10B981;
}

.process-item span {
    font-size: 15px;
    font-weight: 500;
    color: #4B5563;
    flex: 1;
}

.process-item.done span {
    color: #065F46;
}

/* Brain animation */
.brain-animation {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.brain-pulse-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.3) 0%, rgba(184, 134, 11, 0) 70%);
    animation: brainPulse 2s ease-in-out infinite;
}

.brain-icon {
    position: relative;
    font-size: 60px;
    text-align: center;
    line-height: 100px;
    animation: aiFloat 3s ease-in-out infinite;
}

/* Animations */
@keyframes completionPop {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    60% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes successBounce {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        min-width: unset;
    }

    .completion-steps {
        gap: 10px;
    }

    .completion-item {
        padding: 14px 16px;
    }

    .completion-item span {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .success-icon {
        font-size: 48px;
    }

    .completion-message p {
        font-size: 14px;
    }

    .email-highlight {
        font-size: 15px !important;
        padding: 10px 16px;
    }

    .btn-large {
        padding: 14px 24px !important;
        font-size: 15px !important;
    }
}

/* ============================================
   20. PERSONALIZATION PREVIEW
   ============================================ */

.personalization-preview {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFDF7 100%);
    border: 2px solid #B8860B;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: slideUp 0.4s ease;
}

.personalization-icon {
    font-size: 36px;
    flex-shrink: 0;
    animation: bounce 1s ease;
}

.personalization-text {
    flex: 1;
    margin: 0;
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
}

.personalization-text strong {
    color: #B8860B;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 4px;
}

@media (max-width: 480px) {
    .personalization-preview {
        padding: 16px 20px;
        gap: 12px;
    }

    .personalization-icon {
        font-size: 30px;
    }

    .personalization-text {
        font-size: 14px;
    }

    .personalization-text strong {
        font-size: 15px;
    }
}

/* ============================================
   21. SKILL SEARCH BOX
   ============================================ */

.skill-search-box {
    position: relative;
    max-width: 600px;
    margin: 24px auto 30px;
}

.skill-search-box i.fa-search {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    font-size: 16px;
    pointer-events: none;
}

.skill-search-box .search-input {
    width: 100%;
    padding: 16px 50px 16px 50px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 15px;
    color: #1F2937;
    transition: all 0.3s ease;
    background: white;
}

.skill-search-box .search-input:focus {
    outline: none;
    border-color: #B8860B;
    box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.1);
    background: #FFFDF7;
}

.skill-search-box .clear-search {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: #F3F4F6;
    border-radius: 50%;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-search-box .clear-search:hover {
    background: #E5E7EB;
    color: #1F2937;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6B7280;
    font-size: 15px;
}

.no-results i {
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    color: #D1D5DB;
}

/* Enhanced skill chips */
.skills-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-chip {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 24px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-chip:hover {
    border-color: #B8860B;
    background: #FFFDF7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.15);
}

.skill-chip.selected {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFDF7 100%);
    border-color: #B8860B;
    color: #B8860B;
    font-weight: 600;
}

.skill-chip i {
    font-size: 12px;
}

.skill-category {
    margin-bottom: 28px;
}

.skill-category h5 {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F3F4F6;
}

/* Enhanced skills counter */
.skills-counter {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFDF7 100%);
    border: 2px solid #B8860B;
    border-radius: 12px;
    padding: 14px 20px;
    text-align: center;
    font-size: 15px;
    color: #374151;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.skills-counter strong {
    color: #B8860B;
    font-size: 18px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .skill-search-box {
        margin: 20px auto 24px;
    }

    .skill-search-box .search-input {
        padding: 14px 45px 14px 45px;
        font-size: 14px;
    }

    .skill-chip {
        padding: 8px 14px;
        font-size: 13px;
    }
}
