/* Recruiting module — candidate booking page (/interview/<token>), QR apply form (/interview/apply/<code>)
   and the public booking page (/interview/book/<code>).
   Sits on top of the Bootstrap 3 + donorInfo.css look used by the donor verification page. */

.recruiting-page {
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.recruiting-header {
    padding: 10px 15px;
    margin-bottom: 15px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.recruiting-header .client-name {
    margin: 5px 0;
    font-weight: bold;
}

.recruiting-header .client-address {
    font-size: 13px;
    line-height: 1.5;
}

/* English / Français switch (?lang=) under the agency contact block */
.recruiting-header .recruiting-lang {
    margin-top: 6px;
}

.recruiting-header .recruiting-lang a {
    text-decoration: underline;
}

/* Booking details */
.booking-details {
    margin-bottom: 10px;
}

.booking-details dt {
    width: 110px;
    text-align: left;
}

.booking-details dd {
    margin-left: 125px;
    margin-bottom: 6px;
}

.booking-actions .btn {
    margin: 0 6px 8px 0;
}

.booking-actions .reschedule-note {
    margin-top: 4px;
}

/* Slot picker */
.slot-days {
    display: flex;
    flex-wrap: wrap;
}

.slot-day {
    padding-bottom: 12px;
}

.slot-day h5 {
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 6px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.slot-day h5 small {
    font-weight: normal;
    color: #777;
}

.slot-btn {
    margin-bottom: 6px;
    font-size: 14px;
}

.slot-btn.active,
.slot-btn.active:focus {
    background-color: #337ab7;
    border-color: #2e6da4;
    color: #fff;
}

.no-slots {
    padding: 10px 0;
    font-size: 15px;
}

/* Confirmation panel shown after a time is tapped */
.confirm-panel .lead {
    margin-bottom: 8px;
}

.confirm-actions .btn {
    margin: 4px 8px 4px 0;
}

/* Cancel block: a native <details> element, no script needed to open or close it.
   The summary is styled as the red button; the confirmation panel appears underneath when open. */
.cancel-details {
    display: block;
    margin: 4px 0 8px 0;
}

.cancel-details > summary {
    list-style: none;
    cursor: pointer;
    display: inline-block;
}

.cancel-details > summary::-webkit-details-marker {
    display: none;
}

.cancel-details[open] > summary {
    margin-bottom: 10px;
}

.cancel-details .cancel-panel {
    text-align: left;
    max-width: 520px;
}

/* "Your Details" form on the candidate page (editable name / email, Oct 23) */
.details-actions {
    padding-bottom: 6px;
}

.details-actions .btn {
    margin: 4px 8px 4px 0;
}

/* Compliance notices (Oct 26): Ontario AI disclosure above the form, Quebec "speak with a person" line */
.ai-disclosure {
    font-size: 13px;
}

.human-offer {
    font-weight: bold;
}

/* Apply form / public booking page */
.screening-question {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.screening-question .radio-inline {
    padding-top: 2px;
    margin-right: 12px;
}

/* Small screens: one day per row, larger tap targets */
@media (max-width: 767px) {
    .slot-day {
        width: 100%;
    }

    .slot-btn {
        padding: 10px 12px;
        font-size: 16px;
    }

    .booking-details dt {
        width: auto;
        float: none;
        text-align: left;
        font-weight: bold;
    }

    .booking-details dd {
        margin-left: 0;
        margin-bottom: 8px;
    }
}

/* Oct 27: Zoom (online) times are tagged in the picker; the hint shows while the times are hidden behind the
   quick questions on the public page; Zoom instructions (the meeting link) on the candidate page */
.slot-btn .slot-type,
.slot-legend .slot-type {
    display: inline-block;
    margin-left: 4px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: bold;
    line-height: 16px;
    color: #fff;
    background-color: #2d8cf0;
    border-radius: 3px;
    vertical-align: middle;
}

.slot-btn.slot-virtual {
    border-color: #2d8cf0;
}

.screening-hint {
    margin: 0 0 15px 0;
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-left: 4px solid #337ab7;
}

.booking-details dd.booking-instructions {
    word-break: break-word;
}
