/* Resume Builder - Main Stylesheet */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    background: #f8f9fa;
    /*min-height: 100vh;*/
    color: #1e293b;
}

.required {
    color: #ef4444;
    font-weight: 700;
}

/* ===== APP CONTAINER ===== */
.app-container {
    display: flex;
    /*min-height: 100vh;*/
}

@media (max-width: 480px) {
    .app-container {
        display: block;
    }
}

@keyframes blink {
    0%   { opacity: 1; }
    25%   { opacity: 1; }
    50%  { opacity: 1; }
    75%  { opacity: 0; }
    100% { opacity: 1; }
}

.blink {
    animation: blink 3s linear infinite;
}


/* ===== DESKTOP SIDEBAR ===== */
.sidebar {
    width: 280px;
    background: #1e293b;
    padding: 40px 30px;
    position: fixed;
    height: -webkit-fill-available;
    overflow-y: auto;
    display: block;
}

@media (max-width: 480px) {
    .sidebar {
        display: none !important;
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
    text-decoration: none;
}

/*.logo {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 8px;*/
/*    font-size: 20px;*/
/*    font-weight: 600;*/
/*    color: #000;*/
/*    text-decoration: none;*/
/*}*/

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: #2563eb;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}


.steps-container {
    position: relative;
}

.step-connector {
    position: absolute;
    left: 18px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: #334155;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 0;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.step-item:hover .step-label {
    color: #e2e8f0;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #64748b;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-item.completed .step-circle {
    background: #10b981;
    color: white;
}

.step-item.active .step-circle {
    background: #3b82f6;
    color: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.step-item.incomplete .step-circle {
    background: #334155;
    color: white;
}

.step-label {
    color: #94a3b8;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step-item.completed .step-label,
.step-item.active .step-label,
.step-item.incomplete .step-label {
    color: white;
    font-weight: 600;
}

.step-progress {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #334155;
}

.progress-label {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 10px;
}

.progress-bar-container {
    height: 6px;
    background: #334155;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-percentage {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-top: 10px;
}

/* ===== MOBILE TOP BAR ===== */
.mobile-topbar {
    display: none !important;
    background: #2c3e50;
    padding: 16px 12px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 480px) {
    .mobile-topbar {
        display: block !important;
    }
}

.mobile-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    position: relative;
    gap: 8px;
}

.mobile-step-connector {
    position: absolute;
    top: 22px;
    left: 30px;
    right: 30px;
    height: 2px;
    background: #475569;
    z-index: 0;
}

.mobile-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

.mobile-step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #94a3b8;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.mobile-step.completed .mobile-step-circle {
    background: #10b981;
    color: white;
}

.mobile-step.active .mobile-step-circle {
    background: #3b82f6;
    color: white;
}

.mobile-step.incomplete .mobile-step-circle {
    background: #334155;
    color: white;
}

.mobile-step-label {
    font-size: 9px;
    color: #94a3b8;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    max-width: 60px;
    word-wrap: break-word;
}

.mobile-step.active .mobile-step-label {
    color: white;
    font-weight: 700;
}

.mobile-step.completed .mobile-step-label,
.mobile-step.incomplete .mobile-step-label {
    color: #cbd5e1;
    font-weight: 600;
}

.mobile-progress-bar {
    height: 4px;
    background: #475569;
    border-radius: 10px;
    overflow: hidden;
}

.mobile-progress-fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 60px 80px;
    max-width: 900px;
}

@media (max-width: 480px) {
    .main-content {
        margin-left: 0 !important;
        padding: 20px 16px;
        /*padding-bottom: 100px;*/
    }
}

.page-header {
    margin-bottom: 40px;
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
}

@media (max-width: 480px) {
    .page-title {
        font-size: 26px;
    }
}

.page-subtitle {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

/* ===== FORM SECTIONS ===== */
.form-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    scroll-margin-top: 100px;
}

@media (max-width: 480px) {
    .form-section {
        padding: 24px 20px;
        border-radius: 12px;
        margin-bottom: 20px;
        scroll-margin-top: 120px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

.section-header {
    margin-bottom: 35px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

/* ===== FORM FIELDS ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-row.two-cols {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .form-row.two-cols {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.label-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
}

.label-badge.optional {
    background: #f1f5f9;
    color: #64748b;
}

.label-badge.recommended {
    background: #dbeafe;
    color: #3b82f6;
}

.form-input,
.form-select,
.form-textarea {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-help {
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
    line-height: 1.5;
}

/* ===== PROFILE PICTURE ===== */
.profile-upload-wrapper {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

@media (max-width: 480px) {
    .profile-upload-wrapper {
        flex-direction: column;
    }
}

.profile-preview {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
    background: #f8f9fa;
}

.profile-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.upload-controls {
    flex: 1;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-btn:hover {
    background: #3b82f6;
    color: white;
}

/* ===== CONTACT NUMBER ===== */
.contact-wrapper {
    display: flex;
    gap: 12px;
}

.country-code {
    width: 100px;
    flex-shrink: 0;
}

.phone-input {
    flex: 1;
}

/* ===== RADIO OPTIONS ===== */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.radio-option {
    position: relative;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.radio-card:hover {
    border-color: #cbd5e1;
    background: #f8f9fa;
}

.radio-option input[type="radio"]:checked + .radio-card {
    border-color: #3b82f6;
    background: #eff6ff;
}

.radio-icon {
    font-size: 24px;
}

.radio-label-text {
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
}

/* ===== LANGUAGES ===== */
.language-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    min-height: 40px;
}

.language-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #3b82f6;
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.chip-remove {
    cursor: pointer;
    opacity: 0.8;
    font-size: 18px;
    line-height: 1;
}

.chip-remove:hover {
    opacity: 1;
}

.language-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.suggestion-chip {
    padding: 8px 14px;
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-chip:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #eff6ff;
}

.language-input-group {
    display: flex;
    gap: 12px;
}

.language-input-field {
    flex: 1;
}

.add-language-btn {
    padding: 12px 24px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-language-btn:hover {
    background: #2563eb;
}

/* ===== ENTRY CARDS ===== */
.entry-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 20px;
}

.entry-card {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.entry-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.delete-btn {
    padding: 6px 14px;
    background: white;
    color: #ef4444;
    border: 1px solid #fecaca;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delete-btn:hover {
    background: #fef2f2;
    border-color: #ef4444;
}

.add-buttons-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.add-entry-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    color: #3b82f6;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-entry-btn:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.add-entry-btn2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    color: #3b82f6;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-entry-btn2:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

/* ===== EXPERIENCE TABS ===== */
.experience-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e2e8f0;
}

.tab-btn {
    padding: 12px 20px;
    background: transparent;
    color: #64748b;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}



.tab-btn:hover {
    color: #3b82f6;
}

.tab-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== SKILLS ===== */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    min-height: 40px;
}

.skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #3b82f6;
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.skill-input-group {
    display: flex;
    gap: 12px;
}

.skill-input-field {
    flex: 1;
}

.add-skill-btn {
    padding: 12px 24px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-skill-btn:hover {
    background: #2563eb;
}

/* ===== INFO BOX ===== */
.info-box {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #1e40af;
}

.info-box strong {
    display: block;
    margin-bottom: 8px;
    color: #1e3a8a;
}

/* ===== ERROR MESSAGE ===== */
.error-message {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 13px;
    color: #dc2626;
    display: none;
}

.error-message.show {
    display: block;
}

/* ===== GENERATE BUTTON ===== */
.generate-section {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding: 24px 0;
    border-top: 1px solid #e2e8f0;
}

/*@media (max-width: 480px) {*/
/*    .generate-section {*/
/*        position: fixed;*/
/*        bottom: 0;*/
/*        left: 0;*/
/*        right: 0;*/
/*        background: white;*/
/*        margin-top: 0;*/
/*        padding: 16px 20px;*/
/*        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);*/
/*        z-index: 50;*/
/*    }*/
/*}*/

.generate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

@media (max-width: 480px) {
    .generate-btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
}

.generate-btn:active {
    transform: translateY(0);
}

.generate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}


@media (max-width: 395px) {
    .tab-btn {
        padding: 12px 10px;
    }
    
    .language-input-field {
    width: 190px;
    }
}

@media (max-width: 360px) {
    .tab-btn {
        padding: 12px 8px;
    }
    
    .phone-input {
    width: 180px;
    }
    
    .country-code {
    width: 80px;
    }
    
    .language-input-field {
    width: 163px;
    }
    
    .add-language-btn {
    padding: 10px 20px;
    }
    
    .skill-input-field {
    width: 195px;
    }
    
    #Degree  {
    width: 225px;
    }
    
    
}


/* AI Enhancement Buttons and Features */

/* Inline AI enhancement buttons */
.enhance-ai-btn-inline {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FCD34D;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.enhance-ai-btn-inline:hover {
    background: #FDE68A;
    transform: translateY(-1px);
}

/* Entry card AI button */
.entry-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.enhance-ai-btn {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FCD34D;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.enhance-ai-btn:hover {
    background: #FDE68A;
    transform: translateY(-1px);
}

/* Update entry header to accommodate new buttons */
.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E5E7EB;
    flex-wrap: wrap;
    gap: 12px;
}

/* Global alert styling improvements */
#globalAlert {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile responsiveness for AI features */
@media (max-width: 768px) {
    .entry-actions {
        /*flex-direction: column;*/
        width: 100%;
    }
    
    .enhance-ai-btn,
    .delete-btn {
        width: 100%;
    }
    
    .entry-header {
        /*flex-direction: column;*/
        align-items: flex-start;
    }
    
    .enhance-ai-btn-inline {
        display: block;
        /*margin-left: 0 !important;*/
        margin-top: 8px;
        width: fit-content;
    }
}

/* Loading states */
.ai-processing {
    opacity: 0.6;
    pointer-events: none;
}

.ai-processing::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #4F46E5;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Improved form textarea for AI-enhanced content */
.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.6;
}

.form-textarea:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Skill chips with better spacing */
.skill-chip,
.language-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #EEF2FF;
    color: #4338CA;
    border-radius: 20px;
    font-size: 14px;
    margin: 4px;
    transition: all 0.2s;
}

.skill-chip:hover,
.language-chip:hover {
    background: #E0E7FF;
    transform: translateY(-1px);
}

.chip-remove {
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.chip-remove:hover {
    opacity: 1;
}

/* Better button states */
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

button:not(:disabled):active {
    transform: translateY(1px);
}

/* Improved section spacing */
.form-section {
    margin-bottom: 48px;
}

.section-header {
    margin-bottom: 32px;
}

/* Better error messages */
.error-message {
    background: #FEE2E2;
    color: #991B1B;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    display: none;
    border-left: 4px solid #DC2626;
}

.error-message.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Info boxes */
.info-box {
    background: #DBEAFE;
    border: 1px solid #3B82F6;
    border-radius: 8px;
    padding: 16px;
    margin: 24px 0;
    color: #1E40AF;
    line-height: 1.6;
}

/* Generate button enhancement */
.generate-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.generate-btn:active {
    transform: translateY(0);
}

/* Tooltips for AI features */
.ai-tooltip {
    position: relative;
}

.ai-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1F2937;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    margin-bottom: 8px;
}

.ai-tooltip:hover::after {
    opacity: 1;
}

/* Progress indicators */
.progress-bar-container {
    background: #E5E7EB;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

/* Mobile progress bar */
.mobile-progress-bar {
    height: 4px;
    background: #E5E7EB;
    width: 100%;
}

.mobile-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

/* Step indicators with better states */
.step-item,
.mobile-step {
    transition: all 0.3s;
}

.step-item.active,
.mobile-step.active {
    color: #4F46E5;
}

.step-item.completed .step-circle,
.mobile-step.completed .mobile-step-circle {
    background: #10B981;
    color: white;
}

.step-item.incomplete .step-circle,
.mobile-step.incomplete .mobile-step-circle {
    background: #F3F4F6;
    color: #9CA3AF;
}

/* Form input focus states */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Radio cards enhancement */
.radio-card {
    transition: all 0.2s;
}

.radio-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

input[type="radio"]:checked + .radio-card {
    border-color: #4F46E5;
    background: #EEF2FF;
}

/* Suggestion chips */
.suggestion-chip {
    cursor: pointer;
    transition: all 0.2s;
}

.suggestion-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Profile upload improvements */
.profile-upload-wrapper {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.profile-preview {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F9FAFB;
}

.profile-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-placeholder {
    font-size: 48px;
    color: #9CA3AF;
}

.upload-controls {
    flex: 1;
}

.upload-btn {
    background: white;
    border: 2px dashed #D1D5DB;
    color: #4F46E5;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.upload-btn:hover {
    border-color: #4F46E5;
    background: #F9FAFB;
}

/* Contact wrapper */
.contact-wrapper {
    display: flex;
    gap: 12px;
}

.country-code {
    width: 100px;
    flex-shrink: 0;
}

.phone-input {
    flex: 1;
}

/* Responsive improvements */
@media (max-width: 640px) {
    .profile-upload-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .upload-controls {
        width: 100%;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .country-code {
        width: 100%;
    }
}

/* Accessibility improvements */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #4F46E5;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .sidebar,
    .mobile-topbar,
    .enhance-ai-btn,
    .enhance-ai-btn-inline,
    .delete-btn,
    .generate-btn {
        display: none !important;
    }
}