/* ============================================
   Onboarding Page Styles
   RTL-optimized, Modern Design
   ============================================ */

* {
    box-sizing: border-box;
}

body.rtl {
    direction: rtl;
}

/* ============================================
   PROGRESS BAR (6 Steps)
   ============================================ */

.onboarding-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 0 20px;
    position: relative;
}

.onboarding-progress::before {
    content: '';
    position: absolute;
    top: 24px;
    right: 0;
    left: 0;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
}

.progress-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 1;
    flex: 1;
}

.progress-step.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #999;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.progress-step.completed .step-circle {
    background: #4caf50;
    border-color: #4caf50;
    color: #fff;
}

.progress-step.active .step-circle {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.2);
}

.step-label {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin-top: 4px;
    white-space: nowrap;
}

.progress-step.active .step-label {
    color: #0a66c2;
    font-weight: 600;
}

.progress-step.completed .step-label {
    color: #4caf50;
    font-weight: 600;
}

/* Progress line coloring for completed steps */
.progress-step.completed ~ .progress-step::before {
    background: #4caf50;
}

/* ============================================
   MAIN CARD
   ============================================ */

.onboarding-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.onboarding-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 40px;
    min-height: 500px;
}

.onboarding-card h1 {
    color: #111928;
    text-align: right;
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 27px */
    margin: 0 0 12px 0;
}

.onboarding-card .subtitle {
    font-size: 16px;
    color: #666;
    text-align: right;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ============================================
   STEP 1: FILE UPLOAD AREA
   ============================================ */

.upload-area {
    border: 2px dashed #d0d0d0;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 30px;
}

.upload-area:hover {
    border-color: #0a66c2;
    background: #f0f7ff;
}

/* Existing CV Display */
.existing-cv-display {
    text-align: center;
    padding: 40px 20px;
    margin: 30px 0;
}

.existing-cv-display .upload-icon {
    font-size: 60px;
    margin-bottom: 16px;
}

.existing-cv-name {
    color: #111928;
    font-size: 16px;
    font-weight: 600;
    margin: 16px 0;
}

.upload-new-link {
    color: #3b82f6;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 12px;
}

.upload-new-link:hover {
    color: #2563eb;
}

.upload-area.dragover {
    border-color: #0a66c2;
    background: #e3f2fd;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.upload-area h2 {
    font-size: 20px;
    color: #333;
    margin: 0 0 12px 0;
}

.upload-area p {
    font-size: 14px;
    color: #666;
    margin: 8px 0;
}

.upload-area .file-size-limit {
    font-size: 12px;
    color: #999;
    margin-top: 12px;
}

.upload-area input[type="file"] {
    display: none;
}

/* File selected state */
.upload-area.file-selected {
    border-color: #4caf50;
    background: #f1f8f4;
}

.file-info {
    display: none;
    margin-top: 20px;
    padding: 16px 20px;
    background: #f5f5f5;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    position: relative;
}

.file-info.visible {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.file-info .file-details {
    flex: 1;
    text-align: right;
}

.file-info .file-name {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin-bottom: 0;
}

.file-info .file-remove {
    background: transparent;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s ease;
}

.file-info .file-remove:hover {
    color: #d32f2f;
}

/* ============================================
   BUTTONS
   ============================================ */

.onboarding-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.onboarding-buttons.single-button {
    justify-content: flex-start;
}

.btn-onboarding {
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-onboarding:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-skip {
    background: transparent;
    color: #666;
    border: 2px solid #d0d0d0;
}

.btn-skip:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #999;
}

.btn-primary {
    background: #0a66c2;
    color: #fff;
    border: 2px solid #0a66c2;
}

.btn-primary:hover:not(:disabled) {
    background: #084d94;
    border-color: #084d94;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

.btn-secondary {
    background: #fff;
    color: #0a66c2;
    border: 2px solid #0a66c2;
}

.btn-secondary:hover:not(:disabled) {
    background: #f0f7ff;
}

/* ============================================
   LOADING STATE (replaces upload area)
   ============================================ */

.loading-state {
    display: none;
    text-align: center;
    padding: 60px 40px;
}

.loading-state.visible {
    display: block;
}

.loading-state h2 {
    font-size: 20px;
    color: #333;
    margin: 0 0 40px 0;
    font-weight: 600;
}

.loading-spinner-container {
    margin: 0 auto 40px;
    width: 120px;
    height: 120px;
    position: relative;
}

/* Circular Progress Spinner */
.circular-progress {
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
}

.circular-progress-circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 8;
}

.circular-progress-bar {
    fill: none;
    stroke: #0a66c2;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292; /* 2 * PI * 54 */
    stroke-dashoffset: 339.292;
    animation: progress 3s ease-in-out infinite;
}

@keyframes progress {
    0% {
        stroke-dashoffset: 339.292;
    }
    50% {
        stroke-dashoffset: 84.823; /* 25% */
    }
    100% {
        stroke-dashoffset: 339.292;
    }
}

.loading-state p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 12px 0;
    text-align: center;
}

.loading-state p:last-child {
    margin-bottom: 0;
}

/* ============================================
   STEP 2: FORM FIELDS
   ============================================ */

.onboarding-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.form-row--two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    margin-bottom: 24px;
}

.form-field label {
    display: block;
    color: #111928;
    text-align: right;
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 21px */
    margin-bottom: 8px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field select {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    background: #F9FAFB;
    color: #111928;
    text-align: right;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%; /* 17.5px */
    transition: all 0.2s ease;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field select:focus {
    outline: none;
    border-color: #0a66c2;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

.form-field input::placeholder {
    color: #9CA3AF;
}

/* Toggle Switch - Modern Clean Style */
.form-field--toggle {
    background: #F9FAFB;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    padding: 20px;
    margin-top: 32px;
}

.toggle-label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 8px;
}

.toggle-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.toggle-text {
    text-align: right;
    color: #111928;
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 150%;
}

.toggle-description {
    display: block;
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
    text-align: right;
}

/* Hide the checkbox - we use the span for visual */
.toggle-label input[type="checkbox"] {
    display: none;
}

/* The toggle track (ellipse) - OFF state */
.toggle-switch {
    display: inline-block;
    width: 44px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

/* The thumb (white circle) - OFF position (left) */
.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: left 0.2s ease;
}

/* Checked state - green background */
.toggle-label input[type="checkbox"]:checked + .toggle-switch {
    background: #4CAF50;
}

/* Checked state - move thumb to the right */
.toggle-label input[type="checkbox"]:checked + .toggle-switch::after {
    left: 22px;
}


/* ============================================
   STEP 3: SKILLS
   ============================================ */

.onboarding-skills-section {
    max-width: 700px;
    margin: 0 auto;
}

/* Selected Skills Container */
.selected-skills-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    min-height: 120px;
    border: 2px dashed #d0d0d0;
}

.selected-skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    direction: rtl;
}

.no-skills-message {
    text-align: center;
    color: #999;
    font-size: 15px;
    font-style: italic;
    margin: 20px 0;
    width: 100%;
}

/* Search Field */
.skills-search-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.skills-search-input {
    width: 100%;
    padding: 12px 45px 12px 16px;
    border: 2px solid #d0d0d0;
    border-radius: 8px;
    font-size: 15px;
    font-family: "Noto Sans", Arial, sans-serif;
    direction: rtl;
    text-align: right;
    transition: all 0.3s ease;
}

.skills-search-input:focus {
    outline: none;
    border-color: #0a66c2;
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

.skills-search-input::placeholder {
    color: #999;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.6;
    pointer-events: none;
}

/* Info Note */
.skills-info-note {
    padding: 16px;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 6px;
    background: var(--blue-100, #E1EFFE);
    margin-top: 20px;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 18px;
    line-height: 1;
}

.info-text {
    color: var(--blue-700, #1A56DB);
    text-align: left;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 21px */
}

/* Available Skills Container */
.available-skills-container {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    margin-top: 10px;
}

.available-skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

/* Skill Chips (from notification-center.css) */
.nc-skill-chip {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    background: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    gap: 6px;
}

.nc-skill-chip:hover {
    background: #e8e8e8;
    border-color: #0073aa;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.2);
}

/* Selected skills - small and gray */
.nc-skill-chip.selected {
    background: #f0f0f0;
    border: 2px solid #ddd;
    color: #333;
    font-weight: 500;
}

.nc-skill-chip.selected:hover {
    background: #e8e8e8;
    border-color: #999;
}

.nc-skill-chip .skill-name {
    flex: 1;
}

.nc-skill-chip .skill-remove-btn {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.nc-skill-chip.selected .skill-remove-btn {
    color: #fff;
}

.nc-skill-chip .skill-remove-btn:hover {
    transform: scale(1.3) rotate(90deg);
}

/* Available skill chips (not selected yet) - no remove button */
.nc-skill-chip.available {
    background: #e3f2fd;
    border-color: #90caf9;
    color: #0d47a1;
    padding: 4px 10px;
}

.nc-skill-chip.available:hover {
    background: #bbdefb;
    border-color: #0a66c2;
    transform: scale(1.02);
}

.skills-loader,
.skills-no-results {
    text-align: center;
    padding: 30px 20px;
    color: #999;
    font-size: 15px;
    font-style: italic;
}

/* Scrollbar for available skills */
.available-skills-container::-webkit-scrollbar {
    width: 8px;
}

.available-skills-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.available-skills-container::-webkit-scrollbar-thumb {
    background: #0a66c2;
    border-radius: 4px;
}

.available-skills-container::-webkit-scrollbar-thumb:hover {
    background: #084d94;
}

/* Load More Button */
.skills-load-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.skills-load-more-btn:hover {
    background: #e9ecef;
    border-color: #0a66c2;
    color: #0a66c2;
}

.skills-load-more-btn .load-more-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.skills-load-more-btn:hover .load-more-icon {
    transform: translateY(2px);
}

/* ============================================
   SUCCESS MESSAGE - Fixed Popup
   ============================================ */

.success-message {
    display: none;
    position: fixed;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: #4caf50;
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    z-index: 10001;
    min-width: 300px;
    max-width: 90%;
}

.success-message.visible {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   ERROR MESSAGE - Fixed Popup
   ============================================ */

.error-message {
    display: none;
    position: fixed;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: #f44336;
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
    z-index: 10001;
    min-width: 300px;
    max-width: 90%;
}

.error-message.visible {
    display: block;
    animation: slideDown 0.3s ease;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .onboarding-progress {
        padding: 0 10px;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .step-label {
        font-size: 11px;
    }
    
    .onboarding-card {
        padding: 24px;
    }
    
    .onboarding-card h1 {
        font-size: 24px;
    }
    
    .upload-area {
        padding: 40px 20px;
    }
    
    .upload-icon {
        font-size: 48px;
    }
    
    .onboarding-buttons {
        flex-direction: column-reverse;
    }
    
    .btn-onboarding {
        width: 100%;
    }
    
    /* Step 2 responsive */
    .form-row--two-cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .onboarding-progress::before {
        display: none;
    }
    
    .step-label {
        display: none;
    }
    
    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* ============================================
   Step 4: Employment Experience Styles
   ============================================ */

/* Add button */

.add-experience-btn-container {
    margin: 20px 0;
    text-align: right;
}

.btn-add-exp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff;
    border: 2px solid #3b82f6;
    border-radius: 6px;
    color: #3b82f6;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-exp:hover {
    background: #3b82f6;
    color: #fff;
}

/* Experience cards list */
.exp-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.exp-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    transition: box-shadow 0.3s ease;
}

.exp-card:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.exp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.exp-card-title {
    margin: 0;
    color: #111928;
    font-size: 14px;
    font-weight: 600;
    line-height: 150%;
    flex: 1;
}

/* Text alignment based on language */
.exp-card-title.cv-rtl {
    text-align: right;
}

.exp-card-title.cv-ltr {
    text-align: left;
}

.exp-card-actions {
    display: flex;
    gap: 6px;
}

.btn-exp-icon {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    padding: 3px;
    transition: transform 0.2s ease;
}

.btn-exp-icon:hover {
    transform: scale(1.2);
}

.exp-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.exp-card-company {
    margin: 0;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    line-height: 150%;
}

.exp-card-dates {
    margin: 0;
    color: #6b7280;
    font-size: 11px;
    font-weight: 400;
    line-height: 150%;
}

.exp-card-location {
    margin: 0;
    color: #6b7280;
    font-size: 11px;
    font-weight: 400;
    line-height: 150%;
}

.exp-card-description {
    margin: 10px 0 0 0;
    color: #111928;
    font-size: 11px;
    font-weight: 400;
    line-height: 150%;
    white-space: pre-wrap;
}

/* Modal Overlay */
.exp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 16px;
}

/* Modal Content - 20% smaller */
.exp-modal-content {
    background: #fff;
    border-radius: 10px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.exp-confirm-modal {
    max-width: 320px;
}

/* Modal Header */
.exp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.exp-modal-header h2 {
    margin: 0;
    color: #111928;
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
}

.exp-modal-close {
    background: none;
    border: none;
    font-size: 19px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: background 0.2s ease;
}

.exp-modal-close:hover {
    background: #f3f4f6;
}

/* Modal Body */
.exp-modal-body {
    padding: 16px;
}

/* Modal Footer */
.exp-modal-footer {
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Form Groups */
.exp-form-group {
    margin-bottom: 14px;
}

.exp-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #111928;
    font-size: 11px;
    font-weight: 500;
    line-height: 150%;
    text-align: right;
}

/* Form Inputs - 20% smaller */
.exp-form-input,
.exp-form-select,
.exp-form-textarea {
    display: flex;
    width: 100%;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    color: #111928;
    font-size: 11px;
    font-weight: 400;
    line-height: 125%;
    text-align: right;
    box-sizing: border-box;
    font-size: 14px !important;
}

.exp-form-input:focus,
.exp-form-select:focus,
.exp-form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
}

.exp-form-textarea {
    resize: vertical;
    min-height: 96px;
}

/* Form Row */
.exp-form-row {
    display: flex;
    gap: 13px;
}

.exp-form-row .exp-form-group {
    flex: 1;
}

/* Form Note */
.exp-form-note {
    margin: 13px 0 0 0;
    padding: 10px;
    background: #f9fafb;
    border-radius: 5px;
    color: #6b7280;
    font-size: 10px;
    font-weight: 400;
    line-height: 150%;
    text-align: right;
}

/* Checkbox */
.exp-checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.exp-checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

/* Confirmation message */
.exp-confirm-message {
    margin: 0;
    color: #111928;
    font-size: 13px;
    font-weight: 500;
    line-height: 150%;
    text-align: center;
    padding: 16px 0;
}

/* Danger button */
.btn-danger {
    background: #dc2626 !important;
    color: #fff !important;
}

.btn-danger:hover {
    background: #b91c1c !important;
}

/* Success message - only shows when triggered */
.exp-success-msg {
    position: fixed;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    background: #d1fae5;
    border: 2px solid #10b981;
    border-radius: 6px;
    padding: 10px 19px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #065f46;
    font-size: 11px;
    font-weight: 600;
    z-index: 10000;
    animation: slideUp 0.3s ease;
}

.exp-success-msg::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #10b981;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .exp-modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .exp-form-row {
        flex-direction: column;
    }
    
    .exp-card-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .exp-card-actions {
        align-self: flex-end;
    }
}

/* ============================================
   Step 6: More About Me Styles
   ============================================ */

.step6-form-group {
    margin-bottom: 24px;
}

.step6-form-group label {
    display: block;
    color: var(--gray-900, #111928);
    text-align: right;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 8px;
}

.step6-textarea,
.step6-input {
    width: 100%;
    display: flex;
    padding: 12px 16px;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid var(--gray-300, #D1D5DB);
    background: var(--gray-50, #F9FAFB);
    color: var(--gray-900, #111928);
    text-align: right;
    font-size: 14px;
    font-weight: 400;
    line-height: 125%;
    direction: rtl;
    box-sizing: border-box;
}

.step6-textarea {
    resize: vertical;
    min-height: 150px;
}

.step6-textarea:focus,
.step6-input:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.step6-textarea::placeholder,
.step6-input::placeholder {
    color: #9CA3AF;
    text-align: right;
}

.char-counter {
    text-align: left;
    font-size: 12px;
    color: #6B7280;
    margin-top: 4px;
}

.char-counter span {
    font-weight: 600;
    color: #374151;
}

/* Info box (same as step 3) */
.info-box {
    padding: 16px;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 6px;
    background: var(--blue-100, #E1EFFE);
    margin: 24px 0;
    color: var(--blue-700, #1A56DB);
    text-align: right;
    font-size: 14px;
    line-height: 150%;
}

/* ============================================
   GENERAL ANIMATIONS
   ============================================ */

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.8); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* ============================================
   CELEBRATION SCREEN (Step 6 Completion)
   ============================================ */

/* Celebration Screen Styles */
.celebration-container {
    position: relative;
    padding: 40px;
    text-align: center;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.celebration-confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.celebration-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: celebrationSlideIn 0.8s ease-out;
}

.celebration-section {
    padding: 30px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.celebration-section:last-child {
    border-bottom: none;
}

.celebration-section-top {
    flex: 0 0 auto;
}

.celebration-section-middle {
    flex: 0 0 auto;
}

.celebration-section-bottom {
    flex: 0 0 auto;
    padding-top: 40px;
}

.celebration-title {
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
}

.celebration-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
    text-align: right;
}

.celebration-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.celebration-btn {
    min-width: 160px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.celebration-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #ffffff !important;
}

/* Confetti Base */
.confetti-piece {
    position: absolute;
    top: -20px;
    opacity: 0;
    animation: confettiFall linear forwards;
}

/* Star Shape */
.confetti-star {
    font-size: 16px;
    width: 20px;
    height: 20px;
}

.confetti-star::before {
    content: '⭐';
}

/* Diamond Shape */
.confetti-diamond {
    width: 12px;
    height: 12px;
    transform: rotate(45deg);
}

/* Ellipse Shape */
.confetti-ellipse {
    width: 8px;
    height: 16px;
    border-radius: 50%;
}

@keyframes confettiFall {
    0% {
        top: -10%;
        opacity: 1;
        transform: rotate(0deg);
    }
    100% {
        top: 110%;
        opacity: 0.3;
        transform: rotate(720deg);
    }
}

/* Celebration Slide In */
@keyframes celebrationSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive - Celebration */
@media (max-width: 768px) {
    .celebration-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .celebration-btn {
        width: 100%;
        min-width: auto;
    }
    
    .celebration-title {
        font-size: 22px;
    }
    
    .celebration-section {
        padding: 20px 15px;
    }
}