/* ITT Heal - Booking Lookup Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

.header {
    text-align: center;
    background: #8aa77b;
    color: white;
    padding: 30px 20px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}

.header h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.tagline {
    font-size: 16px;
    opacity: 0.95;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card h2 {
    color: #8aa77b;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #8aa77b;
}

.uppercase {
    text-transform: uppercase;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
    min-height: 44px; /* WCAG 2.1 AAA touch target compliance */
}

.btn-primary {
    background: #8aa77b;
    color: white;
}

.btn-primary:hover {
    background: #6b8e6b;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    border: 1px solid #f5c6cb;
}

.error-text {
    color: #721c24;
    font-size: 14px;
}

.captcha-container {
    background: #fff3cd;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    border: 1px solid #ffc107;
}

.detail-group {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.detail-group:last-child {
    border-bottom: none;
}

.detail-group h3 {
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.detail-group p {
    font-size: 18px;
    color: #333;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.status-confirmed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.estimate-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.estimate-box.highlight {
    background: #d4edda;
    border: 2px solid #8aa77b;
}

.estimate-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.estimate-value {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.policy-info {
    background: #fff3cd;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
    border-left: 4px solid #ffc107;
}

.policy-info h3 {
    color: #856404;
    margin-bottom: 12px;
}

.policy-info ul {
    list-style: none;
}

.policy-info li {
    color: #856404;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.policy-info li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-size: 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #8aa77b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    margin: 0 auto 20px;
}

.confirmation-details {
    background: #d4edda;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.confirmation-note {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 20px;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

.hidden {
    display: none !important;
}

@media (max-width: 344px) {
    .container {
        padding: 10px;
    }

    .header {
        padding: 20px 15px;
    }

    .header h1 {
        font-size: 24px;
    }

    .card {
        padding: 20px 15px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Reschedule Section Styles - ITT Heal Brand Compliant */
.reschedule-info { color: #666; margin-bottom: 1.5rem; font-size: 0.95rem; }
.date-input { width: 100%; padding: 0.75rem; border: 1px solid #ddd; border-radius: 4px; font-size: 1rem; margin-bottom: 1rem; transition: border-color 0.3s ease; }
.date-input:focus { outline: none; border-color: #8aa77b; }
.time-slot { padding: 0.75rem 0.5rem; min-height: 44px; border: 1px solid #8aa77b; border-radius: 4px; background: white; color: #8aa77b; cursor: pointer; font-size: 0.9rem; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; }
.time-slot:hover { background: #f0f7f2; }
.time-slot.selected { background: #8aa77b; color: white; }
#selected-time-display { word-wrap: break-word; overflow-wrap: break-word; background: #f0f7f2; padding: 1rem; border-radius: 4px; margin: 1rem 0; text-align: center; }
#selected-time-display strong { color: #8aa77b; }
#time-slots .loading { text-align: center; color: #666; padding: 1rem; }
#time-slots .error { color: #dc3545; text-align: center; padding: 1rem; }
#no-slots-message { text-align: center; color: #666; padding: 1rem; background: #f8f9fa; border-radius: 4px; }
.reschedule-tip { background: #e8f4ea; padding: 0.75rem; border-radius: 4px; color: #5a7d5a; font-size: 0.9rem; margin: 1rem 0; text-align: center; }
#reschedule-confirmation .success-icon { font-size: 3rem; color: #8aa77b; text-align: center; margin-bottom: 1rem; }
#reschedule-confirmation h2 { text-align: center; color: #8aa77b; }
#reschedule-confirmation .confirmation-details { background: #f8f9fa; padding: 1rem; border-radius: 4px; margin: 1rem 0; }
@media (max-width: 344px) { .time-slot { font-size: 0.85rem; padding: 0.6rem 0.4rem; min-height: 44px; } .reschedule-tip { font-size: 0.85rem; padding: 0.6rem; } }

/* Trust and Help Text Styles */
.help-tip { font-weight: normal; font-size: 0.85rem; color: #666; }
.privacy-note { text-align: center; font-size: 0.9rem; color: #666; margin: 1rem 0 0.5rem 0; }
