/* ===================================
   Consultation Page Styles
   =================================== */

/* Progress Steps */
.progress-line {
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: rgba(var(--accent-rgb), 0.2);
    z-index: 0;
}

.time-hint-text {
    color: #ffffff;
}

.progress-line-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-color-soft));
    width: 0;
    transition: width 0.5s ease;
}

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--background-color);
    border: 3px solid rgba(var(--accent-rgb), 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.step-item.active .step-circle {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-dark));
    border-color: var(--accent-color);
    color: var(--background-color);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.4);
}

.step-item.completed .step-circle {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    border-color: #4CAF50;
    color: #fff;
}

.step-item.completed .step-circle::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.step-label {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    transition: color 0.3s ease;
}

.step-item.active .step-label,
.step-item.completed .step-label {
    color: var(--accent-color);
}

/* Form Container */
.consultation-form-wrap {
    background: linear-gradient(145deg, var(--card-bg), var(--background-color));
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Inputs */
.consultation-form-wrap .form-control,
.consultation-form-wrap .form-select {
    background: var(--background-color);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    color: var(--heading-color);
    padding: 14px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.consultation-form-wrap .form-control:focus,
.consultation-form-wrap .form-select:focus {
    background: var(--background-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
    color: var(--heading-color);
}

.consultation-form-wrap .form-control::placeholder {
    color: var(--text-muted);
}

.consultation-form-wrap .form-label {
    color: var(--heading-color);
    font-weight: 500;
    margin-bottom: 8px;
}

.consultation-form-wrap .input-group-text {
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-right: none;
    color: var(--accent-color);
}

.consultation-form-wrap .input-group .form-control {
    border-left: none;
}

.consultation-form-wrap .input-group:focus-within .input-group-text {
    border-color: var(--accent-color);
}

/* Consultation Type Cards */
.consultation-type-card {
    background: var(--background-color);
    border: 2px solid rgba(var(--accent-rgb), 0.2);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.consultation-type-card:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.consultation-type-card.active {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 0 1px #ffffff, 0 0 24px rgba(255, 255, 255, 0.35);
}

.consultation-type-card.active span {
    color: #ffffff;
}

.consultation-type-card i {
    font-size: 28px;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: block;
}

.consultation-type-card span {
    display: block;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.consultation-type-card small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

/* Payment Method Cards */
.payment-method-card {
    background: var(--background-color);
    border: 2px solid rgba(var(--accent-rgb), 0.2);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-method-card:hover {
    border-color: rgba(var(--accent-rgb), 0.5);
    transform: translateY(-2px);
}

.payment-method-card.active {
    border-color: var(--accent-color);
    background: rgba(var(--accent-rgb), 0.1);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.2);
}

.payment-method-card img {
    max-height: 35px;
    object-fit: contain;
}

.payment-method-card span {
    font-size: 12px;
    font-weight: 600;
    color: var(--heading-color);
}

/* QR Payment Card */
.qr-payment-card {
    background: var(--background-color);
    border: 2px solid rgba(var(--accent-rgb), 0.2);
    border-radius: 12px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-payment-card img {
    display: block;
    max-width: 220px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
}

/* Eligibility Status */
.eligibility-free {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    padding: 20px;
    color: #4CAF50;
}

.eligibility-free i {
    color: #4CAF50;
}

.eligibility-free strong {
    color: #4CAF50;
}

.eligibility-paid {
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    border-radius: 12px;
    padding: 20px;
    color: var(--accent-color);
}

.eligibility-paid i {
    color: var(--accent-color);
}

.eligibility-paid strong {
    color: var(--accent-color);
}

/* Success Icon */
.success-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: successPulse 2s infinite;
}

.success-icon i {
    font-size: 50px;
    color: #fff;
}

@keyframes successPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(76, 175, 80, 0);
    }
}

/* Sidebar Styles */
.consultation-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: linear-gradient(145deg, var(--card-bg), var(--background-color));
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    border-radius: 12px;
    padding: 25px;
}

.sidebar-card h5 {
    font-size: 16px;
    margin-bottom: 15px;
}

.sidebar-card .contact-item {
    display: flex;
    align-items: center;
    color: var(--heading-color);
}

.sidebar-card .contact-item a {
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-card .contact-item a:hover {
    color: var(--accent-color);
}

.pricing-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.1);
}

.pricing-item:last-of-type {
    border-bottom: none;
}

.security-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-list li {
    padding: 8px 0;
    color: var(--heading-color);
    font-size: 14px;
}

.payment-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(var(--accent-rgb), 0.1);
}

.payment-badges img {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-badges img:hover {
    opacity: 1;
}

/* Secure Badge */
.secure-badge {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

/* Form Check */
.consultation-form-wrap .form-check-input {
    background-color: var(--background-color);
    border-color: rgba(var(--accent-rgb), 0.3);
}

.consultation-form-wrap .form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.consultation-form-wrap .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.success {
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 100%);
    border-left: 4px solid #4CAF50;
}

.toast-notification.error {
    background: linear-gradient(135deg, #4a1a1a 0%, #5a2d2d 100%);
    border-left: 4px solid #f44336;
}

.toast-notification.warning {
    background: linear-gradient(135deg, #4a3a1a 0%, #5a4a2d 100%);
    border-left: 4px solid #ff9800;
}

.toast-notification.info {
    background: linear-gradient(135deg, #1a3a4a 0%, #2d4a5a 100%);
    border-left: 4px solid #2196F3;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.toast-content i {
    font-size: 20px;
}

.toast-notification.success .toast-content i { color: #4CAF50; }
.toast-notification.error .toast-content i { color: #f44336; }
.toast-notification.warning .toast-content i { color: #ff9800; }
.toast-notification.info .toast-content i { color: #2196F3; }

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.loading-content {
    text-align: center;
    color: #fff;
}

.loading-content .spinner-border {
    width: 50px;
    height: 50px;
    color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .consultation-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .consultation-form-wrap {
        padding: 25px 20px;
    }
    
    .step-label {
        font-size: 11px;
    }
    
    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .progress-line {
        left: 30px;
        right: 30px;
        top: 18px;
    }
    
    .consultation-type-card {
        padding: 15px 10px;
        margin-bottom: 10px;
    }
    
    .consultation-type-card i {
        font-size: 24px;
    }
    
    .payment-method-card {
        padding: 12px 8px;
    }
    
    .toast-notification {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}
/* File Upload Styles */
#fileDropZone {
    cursor: pointer !important;
}

#fileDropZone:hover {
    border-color: var(--accent-color) !important;
    background: rgba(var(--accent-rgb), 0.1) !important;
}

#fileList {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.file-item {
    transition: all 0.2s ease;
}

.file-item:hover {
    background: rgba(var(--accent-rgb), 0.15) !important;
}

/* Calendar Picker Styles */
#calendarPicker {
    animation: slideDown 0.3s ease;
}

#calendarPicker button {
    transition: all 0.2s ease;
}

#calendarPicker button:hover:not(:disabled) {
    background-color: rgba(var(--accent-rgb), 0.2) !important;
    border-color: var(--accent-color) !important;
}

#calendarPicker button:disabled {
    cursor: not-allowed;
    opacity: 0.3;
}

#calendarDays button {
    transition: all 0.2s ease;
}

#calendarDays button:hover:not(:disabled) {
    transform: scale(1.05);
}

#preferredDateDisplay {
    cursor: pointer;
}

#preferredDateDisplay:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15) !important;
}

@media (max-width: 768px) {
    #calendarPicker {
        left: 0 !important;
        right: auto !important;
        top: calc(100% + 8px) !important;
        width: min(92vw, 320px) !important;
        max-width: 92vw;
        padding: 12px !important;
    }

    #calendarMonth {
        min-width: 0 !important;
        font-size: 14px;
    }

    #calendarDays {
        gap: 4px !important;
    }

    #calendarDays button {
        min-height: 32px;
        font-size: 13px;
    }

    .payment-badges {
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .consultation-form-wrap {
        padding: 20px 14px;
    }

    .progress-line {
        left: 20px;
        right: 20px;
    }

    .step-label {
        font-size: 10px;
    }

    .toast-notification {
        top: 84px;
        left: 12px;
        right: 12px;
    }
}


