/**
 * LIGHTWEIGHT & HARMONIOUS NAVIGATION
 * 
 * Minimal, elegant, and original design for progress steps
 * that is light, harmonious, and interesting without being aggressive.
 * 
 * Author: High Web Strategist & Designer
 * Date: October 29, 2025
 */

/* ============================================
   PROGRESS STEPS - LIGHTWEIGHT DESIGN
   ============================================ */

.progress-step {
    position: relative !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

/* Minimalist circle with subtle border */
.step-number {
    width: 50px !important;
    height: 50px !important;
    background: transparent !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

/* Subtle inner circle for depth (optional, very light) */
.step-number::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(203, 213, 225, 0.3);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Active state - Elegant and light */
.progress-step.active .step-number {
    background: transparent !important;
    border-color: #D4AF37 !important;
    border-width: 3px !important;
    color: #D4AF37 !important;
    box-shadow: 
        0 0 0 4px rgba(212, 175, 55, 0.08),
        0 2px 8px rgba(212, 175, 55, 0.12) !important;
    transform: scale(1.08) !important;
}

.progress-step.active .step-number::before {
    opacity: 1;
    border-color: rgba(212, 175, 55, 0.2);
}

/* Completed state - Subtle and sophisticated */
.progress-step.completed .step-number {
    background: #f8fafc !important;
    border-color: #64748b !important;
    border-width: 2px !important;
    color: #64748b !important;
    box-shadow: none !important;
}

/* Small checkmark indicator - subtle and elegant */
.progress-step.completed .step-number::after {
    content: '✓';
    position: absolute;
    font-size: 10px;
    color: #ffffff;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Step title styling - clean and minimal */
.step-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(0.8125rem, 0.75rem + 0.3125vw, 0.9375rem) !important;
    font-weight: 500 !important;
    color: #64748b !important;
    margin-top: 10px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    line-height: 1.3 !important;
}

.progress-step.active .step-title {
    color: #1a365d !important;
    font-weight: 600 !important;
}

.progress-step.completed .step-title {
    color: #64748b !important;
    font-weight: 500 !important;
}

/* Subtle hover effect - very light */
.progress-step:hover .step-number {
    border-color: #94a3b8 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}

.progress-step.active:hover .step-number {
    border-color: #D4AF37 !important;
    box-shadow: 
        0 0 0 4px rgba(212, 175, 55, 0.12),
        0 3px 10px rgba(212, 175, 55, 0.15) !important;
}

/* ============================================
   CONNECTING LINE - SUBTLE AND LIGHT
   ============================================ */

/* Make the connecting line lighter and more subtle */
.progress-bar::before {
    background-color: #e2e8f0 !important;
    height: 2px !important;
}

/* ============================================
   FORM NAVIGATION BUTTONS - REFINED
   ============================================ */

.form-navigation button {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(0.9375rem, 0.875rem + 0.3125vw, 1.0625rem) !important;
    font-weight: 600 !important;
    padding: 12px 28px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.2px !important;
}

/* Previous button - Very subtle */
.form-navigation button[type="button"] {
    background: #ffffff !important;
    color: #64748b !important;
    border: 2px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.form-navigation button[type="button"]:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

/* Next/Submit button - Elegant but not aggressive */
.form-navigation button[type="submit"],
.form-navigation button:not([type="button"]) {
    background: #D4AF37 !important;
    color: #ffffff !important;
    border: 2px solid #D4AF37 !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2) !important;
}

.form-navigation button[type="submit"]:hover,
.form-navigation button:not([type="button"]):hover {
    background: #C9A52F !important;
    border-color: #C9A52F !important;
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.25) !important;
    transform: translateY(-1px) !important;
}

.form-navigation button[type="submit"]:active,
.form-navigation button:not([type="button"]):active {
    transform: translateY(0) !important;
}

/* Disabled state */
.form-navigation button:disabled {
    background: #f1f5f9 !important;
    color: #cbd5e1 !important;
    border-color: #e2e8f0 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .step-number {
        width: 46px !important;
        height: 46px !important;
        font-size: 17px !important;
    }
    
    .step-title {
        font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem) !important;
        margin-top: 8px !important;
    }
    
    .form-navigation button {
        padding: 11px 24px !important;
    }
}

@media (max-width: 480px) {
    .step-number {
        width: 42px !important;
        height: 42px !important;
        font-size: 16px !important;
    }
    
    .progress-step.completed .step-number::after {
        width: 14px;
        height: 14px;
        font-size: 9px;
        top: -3px;
        right: -3px;
    }
    
    .form-navigation button {
        padding: 10px 20px !important;
    }
}

/* ============================================
   SUBTLE ANIMATIONS - VERY LIGHT
   ============================================ */

/* Gentle pulse for active step - very subtle */
@keyframes gentle-pulse {
    0%, 100% {
        box-shadow: 
            0 0 0 4px rgba(212, 175, 55, 0.08),
            0 2px 8px rgba(212, 175, 55, 0.12);
    }
    50% {
        box-shadow: 
            0 0 0 6px rgba(212, 175, 55, 0.06),
            0 2px 8px rgba(212, 175, 55, 0.12);
    }
}

.progress-step.active .step-number {
    animation: gentle-pulse 3s ease-in-out infinite;
}

/* Fade in on load - very smooth */
.progress-step {
    animation: fadeIn 0.4s ease-out backwards;
}

.progress-step:nth-child(1) { animation-delay: 0.05s; }
.progress-step:nth-child(2) { animation-delay: 0.1s; }
.progress-step:nth-child(3) { animation-delay: 0.15s; }
.progress-step:nth-child(4) { animation-delay: 0.2s; }
.progress-step:nth-child(5) { animation-delay: 0.25s; }
.progress-step:nth-child(6) { animation-delay: 0.3s; }

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Focus state for keyboard navigation */
.progress-step:focus-within .step-number {
    outline: 2px solid rgba(212, 175, 55, 0.5);
    outline-offset: 3px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .step-number {
        box-shadow: none !important;
        border: 2px solid #000 !important;
    }
    
    .progress-step.active .step-number {
        border-color: #000 !important;
        border-width: 3px !important;
    }
}
