/* Multi-Step Registration Form Styles */

.multi-step-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 40px;
}

.progress {
    height: 8px;
    border-radius: 10px;
    background: #e5e7eb;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    color: #f9fafb;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(15, 23, 42, 0.35);
}

[data-theme="dark"] .progress-text {
    color: #f8fafc;
    text-shadow: 0 2px 6px rgba(15, 23, 42, 0.55);
}

/* Steps Container */
.steps-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

/* Step Headers */
.step-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f3f4f6;
}

.step-header h3 {
    color: #1f2937;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-header p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

/* Form Fields */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-label .required {
    color: #dc2626;
}

.form-control,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc2626;
}

.invalid-feedback {
    color: #dc2626;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar-fill {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
}

.strength-bar-fill.weak {
    width: 33%;
    background: #dc2626;
}

.strength-bar-fill.medium {
    width: 66%;
    background: #f59e0b;
}

.strength-bar-fill.strong {
    width: 100%;
    background: #10b981;
}

.strength-text {
    font-size: 12px;
    margin-top: 4px;
}

/* Email Validation Indicator */
.email-validation {
    margin-top: 6px;
    font-size: 13px;
}

.email-validation.checking {
    color: #6b7280;
}

.email-validation.available {
    color: #10b981;
}

.email-validation.unavailable {
    color: #dc2626;
}

/* Doctor Selection Cards */
.option-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.option-card:hover {
    border-color: #3b82f6;
    background: #f9fafb;
}

.option-card.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

.option-card input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
}

.option-card h5 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.option-card p.small {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.option-card .conditional-fields {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* Working Days Selector */
.working-days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
}

.day-checkbox {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.day-checkbox:hover {
    border-color: #3b82f6;
    background: #f9fafb;
}

.day-checkbox input[type="checkbox"]:checked + label {
    font-weight: 600;
    color: #1e40af;
}

.day-checkbox input[type="checkbox"]:checked ~ * {
    border-color: #3b82f6;
    background: #eff6ff;
}

/* Navigation Buttons */
.step-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f3f4f6;
}

.btn {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.btn-secondary:hover:not(:disabled) {
    background: #e5e7eb;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-success:hover:not(:disabled) {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Loading State */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-warning {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.alert-danger {
    background: #fee2e2;
    border-left: 4px solid #dc2626;
    color: #991b1b;
}

.alert-success {
    background: #d1fae5;
    border-left: 4px solid #10b981;
    color: #065f46;
}

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

/* Plan Cards */
.plan-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.plan-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.plan-card.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

/* Responsive */
@media (max-width: 768px) {
    .multi-step-container {
        padding: 10px;
        margin: 20px auto;
    }

    .steps-container {
        padding: 24px 16px;
    }

    .step-header h3 {
        font-size: 20px;
    }

    .step-navigation {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .working-days {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Dark Mode Support (if needed later) */
[data-theme="dark"] .steps-container {
    background: #1f2937;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background: #374151;
    border-color: #4b5563;
    color: #f3f4f6;
}

[data-theme="dark"] .option-card {
    background: #374151;
    border-color: #4b5563;
}

