/* FORCE LEFT ALIGNMENT INSIDE FORM */
#appointmentForm {
    text-align: left !important;
}
/* Dropdown option hover & selected color */
#timezoneSelect option:hover,
#timezoneSelect option:checked {
    background-color: #072247 !important;
    color: #ffffff !important;
}
.appointment-icon {
    width: 500px;
    height: 250px;
    margin-bottom:9px;
    object-fit: contain;
}
/* FINAL CHECKBOX FIX */
.checkbox-consent {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;

    width: auto;
    max-width: 100%;

    margin: 12px 0;
    font-size: 14px;
    color: #333;

    text-align: left;
}

.checkbox-consent input {
    margin: 0 8px 0 0;
}

.checkbox-consent span {
    display: inline;
    white-space: nowrap;
}


.appointment-heading {
    margin-top: 80px;        /* space below header */
    margin-bottom: 30px;     /* space before main box */
    text-align: center;
}
.appointment-topbar {
    max-width: 1200px;
    margin: 20px auto 0;   /* MORE TOP SPACE */

    text-align: right;
       padding-right: 0; 
}

.back-btn {
    display: inline-block;
    background-color: #0d2b5b;
    color: #fff;
    padding: 2px 7px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
}
/* FIX CHECKBOX ALIGNMENT */

.back-btn:hover {
    background-color: #0ea13d;
}


.appointment-heading h1 {
    font-size: 38px;
    font-weight: 700;
    color: #072247;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.appointment-heading p {
    font-size: 16px;
    color: #475569;
}

.appointment-heading {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 35px;
}

.appointment-heading h1 {
    font-size: 36px;
    font-weight: 700;
    color: #072247;
    margin-bottom: 8px;
}

.appointment-heading p {
    font-size: 16px;
    color: #072247;
}

/* ===== Decorative Clocks ===== */
.decor-clock {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #ffffff 45%, transparent 46%),
        linear-gradient(90deg, #0c152b 50%, transparent 50%),
        linear-gradient(0deg, #072247 50%, transparent 50%);
    border: 6px solid #072247;
    opacity: 0.1;
    pointer-events: none;
}

/* Clock hands illusion */
.decor-clock::before,
.decor-clock::after {
    content: "";
    position: absolute;
    background:#072247;
    left: 50%;
    top: 50%;
    transform-origin: bottom;
    opacity: 0.1;
}

.decor-clock::before {
    width: 4px;
    height: 42px;
    transform: translateX(-50%) translateY(-100%) rotate(45deg);
}

.decor-clock::after {
    width: 3px;
    height: 55px;
    transform: translateX(-50%) translateY(-100%) rotate(120deg);
}

/* Positioning */
.clock-left {
    top: -45px;
    left: -45px;
}

.clock-right {
    top: -45px;
    right: -45px;
}

/* Parent must be relative */
.appointment-content {
    position: relative;
}


/* ===== Layout ===== */
.appointment-wrapper {
    max-width:1200px;              /* slightly narrower */
    margin: 80px auto;

    /* MORE left-right breathing space for 125% zoom */
    padding-left: clamp(70px, 10vw, 160px);
    padding-right: clamp(70px, 10vw, 160px);

    display: grid;
    grid-template-columns: 38% 62%;
    gap: 45px;
    font-family: "Segoe UI", Arial, sans-serif;
}


/* ===== Left Panel ===== */
.appointment-info {
    background: linear-gradient(180deg, #f0f6ff, #e8efff);
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(37,99,235,0.12);
}

.appointment-info h2 {
    font-size: 28px;
    margin-bottom: 14px;
    color: #072247;
}

.duration {
    font-size: 16px;
    color: #072247;
    margin-bottom: 18px;
    font-weight: 600;
}

.desc {
    font-size: 15px;
    margin-bottom: 20px;
    color: #072247;
    line-height: 1.6;
}

.appointment-info ul {
    padding-left: 18px;
    font-size: 15px;
}

.appointment-info ul li {
    margin-bottom: 10px;
}

.timezone {
    margin-top: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #072247;
}

/* ===== Right Panel ===== */
.appointment-content {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    padding: 36px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}


h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #072247;
}

/* ===== Calendar ===== */
.calendar {
    border-radius: 18px;
    padding: 28px;
    background: linear-gradient(180deg, #f9fbff, #eef4ff);
    box-shadow: inset 0 0 0 1px #dbeafe;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.calendar-header span {
    font-size: 20px;
    font-weight: 600;
    color: #072247;
}

.calendar-header button {
    background: #072247;
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.calendar-days,
.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

/* Day names */
.calendar-days span {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    padding-bottom: 10px;
}

/* Dates */
.calendar-dates span {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s ease;
}

.calendar-dates span:hover {
    background: #dbeafe;
}

/* Today */
.calendar-dates .today {
    border: 2px solid #072247;
    color: #072247;
    font-weight: 600;
}

/* Selected */
.calendar-dates .active {
    background: #072247;
    color: #fff;
    font-weight: 600;
}

/* ===== Time Slots ===== */
.time-slots {
    margin-top: 35px;
}

.time-slots h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #072247;
}

#timeSlots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px;
}


.time-slot {
    padding: 12px;
    text-align: center;
    border-radius: 12px;
    border: 2px solid #072247;
    color: #072247;
    cursor: pointer;
    font-weight: 600;
    background: #f8fbff;
    transition: 0.2s ease;
}


.time-slot:hover {
    background: #072247;
    color: #fff;
}

/* ===== Page 2 ===== */

.summary {
    background: linear-gradient(180deg, #eef4ff, #e0ecff);
    padding: 18px;
    border-radius: 14px;
    font-size: 15px;
    margin-bottom: 25px;
    color: #072247;
}

/* ===== Form ===== */
form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid #c7d2fe;
    font-size: 14.5px;
}


form input:focus,
form textarea:focus {
    outline: none;
    border-color: #072247;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.checkbox {
    font-size: 14px;
    margin-bottom: 18px;
}

.btn-primary {
    background: linear-gradient(90deg, #072247, #072247); /* Blue */
    color: #fff;
    padding: 16px;
    width: 100%;
    border-radius: 12px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #16a34a, #15803d); /* Green */
}


/* ===== Mobile ===== */
@media (max-width: 900px) {
    .appointment-wrapper {
        grid-template-columns: 1fr;
    }

    .appointment-info,
    .appointment-content {
        padding: 28px;
    }
}
