/* Treatment Detail Page - Right Sidebar Styling */

.detail-page .row {
    display: flex;
    align-items: flex-start;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Appointment Form Box */
.appointment-form-box {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.appointment-form-box h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    border-bottom: 2px solid #00a99d;
    padding-bottom: 12px;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.appointment-form .form-group {
    display: flex;
    flex-direction: column;
}

.appointment-form input[type="text"],
.appointment-form input[type="email"],
.appointment-form input[type="tel"],
.appointment-form textarea {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.appointment-form input[type="text"]:focus,
.appointment-form input[type="email"]:focus,
.appointment-form input[type="tel"]:focus,
.appointment-form textarea:focus {
    outline: none;
    border-color: #00a99d;
    box-shadow: 0 0 0 3px rgba(0, 169, 157, 0.1);
}

.appointment-form textarea {
    resize: vertical;
    min-height: 100px;
}

.appointment-form .btn-submit {
    background: linear-gradient(135deg, #00a99d 0%, #008b7f 100%);
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.appointment-form .btn-submit:hover {
    background: linear-gradient(135deg, #008b7f 0%, #006b63 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 169, 157, 0.3);
}

.appointment-form .btn-submit:active {
    transform: translateY(0);
}

/* WhatClinic Widget Box */
.whatclinic-widget-box {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    display: block;
    text-align: center;
    min-height: 280px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.whatclinic-widget-box a {
    display: inline-block;
    width: 100%;
    max-width: 100%;
}

/* WhatClinic iframe styling (inside widget) */
.whatclinic-widget-box iframe {
    max-width: 100% !important;
    height: auto !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .detail-page .row {
        flex-direction: column;
    }
    
    .detail-page .col-md-8,
    .detail-page .col-md-4 {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .appointment-form-box {
        padding: 20px;
    }
    
    .appointment-form-box h3 {
        font-size: 16px;
    }
    
    .appointment-form input,
    .appointment-form textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}
