/* Step 2 Specific Styles */
:root {
    --primary-pink: #E6007E;
    --primary-teal: #0096AF;
    --text-dark: #333;
    --bg-light: #f4f7f6;
}

body {
    background-color: var(--bg-light);
}

.step2-main {
    padding: 120px 0 80px;
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 40px;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-pink);
    border-radius: 2px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Appointment Form Card */
.appointment-form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.appointment-form h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-teal);
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.appointment-form h3:first-of-type {
    margin-top: 0;
}

.appointment-form table td {
    padding: 10px 0;
}

.appointment-form strong {
    font-size: 14px;
    color: #555;
    display: inline-block;
    margin-bottom: 5px;
}

.required-asterisk {
    color: var(--primary-pink);
    font-weight: bold;
}

.appointment-form select,
.appointment-form input[type="text"],
.appointment-form input[type="date"],
.appointment-form input[type="tel"],
.appointment-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s;
    background: #fff;
}

.appointment-form select:focus,
.appointment-form input:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.input-hint {
    font-size: 11px;
    color: #888;
    margin-bottom: 5px;
    font-style: italic;
}

.error-message {
    font-size: 12px;
    color: var(--primary-pink);
    margin-top: 5px;
    font-weight: 600;
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 10px;
}

.terms-container a {
    color: var(--primary-teal);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

/* Buttons */
.btn-submit {
    background: var(--primary-pink);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 126, 0.3);
}

.btn-cancel {
    background: #f0f0f0;
    color: #666;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Fees Table */
.fees-table-container {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.fees-table {
    width: 100%;
    border-collapse: collapse;
}

.fees-table thead th {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    padding-bottom: 20px;
    text-align: center;
}

.fees-cell {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    color: #444;
}

.fees-cell:first-child {
    font-weight: 700;
    color: var(--primary-pink);
    width: 40px;
}

.fees-cell-price {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 800;
    color: var(--primary-teal);
    text-align: right;
}

/* Modal Styling - Refined for Premium Look */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    overflow-y: auto;
}

.modal-content {
    background: #ffffff;
    max-width: 550px;
    margin: 60px auto;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.modal-message h3 {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: #4b5563;
    line-height: 1.5;
}

.modal-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.modal-row:last-child {
    border-bottom: none;
}

.modal-label {
    font-weight: 700;
    font-size: 14px;
    color: #374151;
    flex: 0 0 45%;
}

.modal-value {
    font-weight: 500;
    color: #6b7280;
    text-align: right;
    font-size: 14px;
    flex: 1;
}

.modal-buttons {
    margin-top: 45px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.modal-btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-size: 15px;
    transition: all 0.2s;
    min-width: 180px;
}

.btn-primary {
    background: #3b82f6; /* More vibrant blue */
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.23);
}

.btn-secondary {
    background: #f3f4f6;
    color: #4b5563;
}

.btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .modal-content {
        margin: 20px;
        padding: 30px 20px;
        border-radius: 20px;
    }
    .modal-buttons {
        flex-direction: column;
    }
    .modal-btn {
        width: 100%;
    }
    .modal-row {
        flex-direction: column;
        gap: 4px;
    }
    .modal-value {
        text-align: left;
    }
}