/* Public Booking Page Styles */

.public-booking-body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf3 100%);
    min-height: 100vh;
    padding: 2rem 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-container {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}

.booking-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 320px 1fr;
}

@media (max-width: 768px) {
    .booking-card {
        grid-template-columns: 1fr;
    }
}

.booking-info {
    padding: 2rem 1.5rem;
    background: #fafbfc;
    border-right: 1px solid #e9ecef;
}

@media (max-width: 768px) {
    .booking-info {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
}

.booking-org {
    font-size: 0.875rem;
    color: #6c757d;
}

.booking-host {
    font-size: 0.875rem;
}

.booking-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0.5rem 0 1rem;
}

.booking-meta {
    margin-bottom: 1.5rem;
}

.meta-item {
    color: #495057;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.meta-item i {
    color: #6c757d;
    margin-right: 0.5rem;
    width: 16px;
}

.booking-description {
    font-size: 0.875rem;
    line-height: 1.5;
}

.booking-picker {
    padding: 2rem;
}

.booking-picker h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Calendar Widget */
.calendar-widget {
    background: #fff;
    border-radius: 8px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #1a1a2e;
}

.calendar-nav-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #fff;
    border: 1px solid #dbe3ec;
    color: #3B7DDD;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
}

.calendar-nav-btn:hover {
    background: #3B7DDD;
    color: #fff;
    border-color: #3B7DDD;
}

.booking-select {
    display: block;
    width: 100%;
    padding: 0.45rem 2rem 0.45rem 0.75rem;
    background: #fff;
    border: 1px solid #dbe3ec;
    color: #1a1a2e;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.15s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233B7DDD'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 14px;
}

.booking-select:hover, .booking-select:focus {
    border-color: #3B7DDD;
    outline: none;
    box-shadow: none;
}

/* Timezone combobox */
.tz-combobox {
    position: relative;
}

.tz-search-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233B7DDD'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 14px;
    padding-right: 2rem;
}

.tz-dropdown {
    position: absolute;
    bottom: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 0.5rem;
}

.tz-filter-input {
    width: 100%;
    padding: 0.4rem 0.6rem;
    border: 1px solid #dbe3ec;
    border-radius: 4px;
    font-size: 0.8125rem;
    margin-bottom: 0.4rem;
    outline: none;
}

.tz-filter-input:focus {
    border-color: #3B7DDD;
}

.tz-options {
    max-height: 240px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.tz-options::-webkit-scrollbar {
    width: 6px;
}

.tz-options::-webkit-scrollbar-thumb {
    background: #dbe3ec;
    border-radius: 3px;
}

.tz-option {
    padding: 0.4rem 0.6rem;
    font-size: 0.8125rem;
    color: #495057;
    cursor: pointer;
    border-radius: 4px;
}

.tz-option:hover, .tz-option.selected {
    background: #e8f0fe;
    color: #3B7DDD;
}

.tz-option.hidden {
    display: none;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table th {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    padding: 0.5rem 0;
}

.calendar-table td {
    text-align: center;
    padding: 4px;
}

.calendar-day {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.875rem;
    color: #495057;
    transition: all 0.15s;
}

.calendar-day.available:hover {
    background: #e8f0fe;
    color: #3B7DDD;
}

.calendar-day.selected {
    background: #3B7DDD;
    color: #fff;
    font-weight: 600;
}

.calendar-day.disabled {
    color: #ced4da;
    cursor: not-allowed;
}

.calendar-day.today {
    font-weight: 700;
    border: 1px solid #3B7DDD;
}

/* Slots Panel */
.slots-panel {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slots-panel::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}

.slot-button {
    display: block;
    width: 100%;
    padding: 0.45rem 0.75rem;
    margin-bottom: 0.35rem;
    background: #fff;
    border: 1px solid #dbe3ec;
    color: #3B7DDD;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: 0.01em;
}

.slot-button:hover {
    background: #3B7DDD;
    color: #fff;
    border-color: #3B7DDD;
}

.slot-button.selected {
    background: #3B7DDD;
    color: #fff;
    border-color: #3B7DDD;
}

.no-slots {
    text-align: center;
    color: #6c757d;
    font-size: 0.875rem;
    padding: 2rem 0;
}

/* Confirmation */
.confirmation-check {
    color: #28a745;
    font-size: 4rem;
}

.booking-footer a {
    color: #3B7DDD;
    text-decoration: none;
}

.booking-footer a:hover {
    text-decoration: underline;
}
