/* Wizard Styling */

.wizard-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Progress Bar */
.wizard-progress {
    margin-bottom: 3rem;
}

.progress-bar {
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0c5486, #1e40af);
    width: 20%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    background-color: #f3f4f6;
    transition: all 0.3s ease;
    cursor: default;
}

.step.active {
    background-color: #3b82f6;
    color: white;
}

.step.completed {
    background-color: #10b981;
    color: white;
}

.step-number {
    display: block;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.step-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Header */
.wizard-header {
    background: linear-gradient(135deg, #0c5486 0%, #1e40af 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.wizard-header h1 {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    font-weight: bold;
}

.wizard-header p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Wizard Form */
.wizard-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.wizard-step {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-step h2 {
    font-size: 1.75rem;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.step-help {
    color: #6b7280;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
}

/* Consultation Type & Format Options */
.consultation-types,
.format-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .consultation-types {
        grid-template-columns: 1fr 1fr;
    }

    .format-options {
        grid-template-columns: 1fr 1fr;
    }
}

.consultation-option,
.format-option {
    display: block;
    cursor: pointer;
    position: relative;
}

.consultation-option input,
.format-option input {
    display: none;
}

.consultation-option input:checked ~ .option-card,
.format-option input:checked ~ .option-card {
    border: 2px solid #0c5486;
    background-color: #eff6ff;
    box-shadow: 0 0 0 3px rgba(12, 84, 134, 0.1);
}

.option-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background-color: #f9fafb;
    transition: all 0.2s ease;
}

.option-card:hover {
    border-color: #0c5486;
    background-color: #f3f4f6;
}

.option-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.option-content h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: #1f2937;
}

.option-content p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1f2937;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0c5486;
    box-shadow: 0 0 0 3px rgba(12, 84, 134, 0.1);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.date-time-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .date-time-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.warning {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.warning.hidden {
    display: none;
}

.info-box {
    background-color: #eff6ff;
    border-left: 4px solid #0c5486;
    padding: 1rem;
    border-radius: 6px;
    margin: 1.5rem 0;
}

.info-box p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    color: #1e40af;
}

.info-box p:first-child {
    margin-top: 0;
}

.info-box p:last-child {
    margin-bottom: 0;
}

#selectedDateTime {
    margin-top: 1rem;
}

/* Review Section */
.review-section {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.review-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    font-weight: 600;
    color: #6b7280;
}

.review-value {
    text-align: right;
    color: #1f2937;
    font-weight: 500;
}

/* Pricing Box */
.pricing-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #bae6fd;
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0.5rem 0;
    align-items: center;
}

.price-label {
    font-weight: 700;
    color: #1e40af;
    font-size: 1.125rem;
}

.price-value {
    text-align: right;
    font-weight: 700;
    color: #0369a1;
    font-size: 1.5rem;
}

/* Buttons */
.wizard-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: space-between;
}

.btn {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, #f37c05 0%, #0c5486 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    box-shadow: 0 4px 12px rgba(243, 124, 5, 0.4), 0 4px 12px rgba(12, 84, 134, 0.2);
}

.btn-secondary {
    background-color: #e5e7eb;
    color: #1f2937;
}

.btn-secondary:hover:not(:disabled) {
    background-color: #d1d5db;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-success:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn.hidden {
    display: none;
}

/* Mobile Hint */
.mobile-hint {
    text-align: center;
    margin-top: 1.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .mobile-hint {
        display: none;
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .wizard-container {
        padding: 1rem 0.5rem;
    }

    .wizard-form {
        padding: 1.5rem 1rem;
    }

    .wizard-header {
        padding: 1.5rem 1rem;
    }

    .wizard-header h1 {
        font-size: 1.5rem;
    }

    .wizard-header p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .progress-steps {
        gap: 0.25rem;
    }

    .step {
        padding: 0.5rem;
    }

    .step-label {
        font-size: 0.65rem;
    }

    .step-number {
        font-size: 1rem;
        margin-bottom: 0;
    }
}

/* Error Container */
.error-container {
    background-color: #fee2e2;
    border-left: 4px solid #dc2626;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#errorMessage {
    margin: 0;
    color: #dc2626;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Utility Classes */
.hidden {
    display: none !important;
}
