/* Style sheets for Japandi Event & Space Booking calendar */

.ebc-be86c614-main-wrapper {
    font-family: 'Playfair Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Georgia, serif;
    background-color: #FAF7F2;
    padding: 60px 40px;
    border-radius: 16px;
    color: #2A2E2B;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(42, 46, 43, 0.04);
}

/* Header Typography */
.ebc-be86c614-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.ebc-be86c614-eyebrow {
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.ebc-be86c614-title {
    font-size: 40px;
    line-height: 1.25;
    margin: 0 0 16px 0;
    font-weight: 400;
}

.ebc-be86c614-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    color: #555c56;
}

/* Luxury Action Row */
.ebc-be86c614-actions-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ebc-be86c614-btn {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.ebc-be86c614-btn-dark {
    background-color: #1B4D3E;
    color: #ffffff;
}

.ebc-be86c614-btn-dark:hover {
    background-color: #2e6653;
}

.ebc-be86c614-btn-primary {
    background-color: #AC8534;
    color: #ffffff;
}

.ebc-be86c614-btn-primary:hover {
    background-color: #c49942;
}

.ebc-be86c614-btn-outline {
    background-color: transparent;
    color: #AC8534;
    border-color: #AC8534;
}

.ebc-be86c614-btn-outline:hover {
    background-color: #AC8534;
    color: #ffffff;
}

/* Layout Split Grid */
.ebc-be86c614-grid-container {
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar Info Card */
.ebc-be86c614-sidebar {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #EAE3DC;
}

.ebc-be86c614-card-title {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 500;
}

.ebc-be86c614-legend-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ebc-be86c614-legend-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ebc-be86c614-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
}

.ebc-be86c614-dot-available { background-color: #D4E2D5; }
.ebc-be86c614-dot-private { background-color: #E2DDD4; }
.ebc-be86c614-dot-public { background-color: #1B4D3E; }

.ebc-be86c614-legend-list strong {
    display: block;
    font-size: 14px;
    color: #2A2E2B;
}

.ebc-be86c614-legend-list span {
    display: block;
    font-size: 12px;
    color: #777d78;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin-top: 2px;
}

.ebc-be86c614-card-footer {
    border-top: 1px solid #FAF7F2;
    padding-top: 20px;
}

.ebc-be86c614-card-footer p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #8E8A84;
    margin: 0;
}

/* Interactive Calendar Grid styling */
.ebc-be86c614-calendar-block {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #EAE3DC;
}

.ebc-be86c614-cal-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.ebc-be86c614-cal-nav {
    border: none;
    background: #FAF7F2;
    cursor: pointer;
    font-size: 18px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.2s;
}

.ebc-be86c614-cal-nav:hover {
    background: #EAE3DC;
}

.ebc-be86c614-cal-month-title {
    font-size: 22px;
    font-weight: 500;
    margin: 0;
}

.ebc-be86c614-cal-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    color: #8E8A84;
    margin-bottom: 12px;
}

.ebc-be86c614-cal-grid-target {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

/* Calendar Cells */
.ebc-be86c614-calendar-cell {
    min-height: 100px;
    border: 1px solid #FAF7F2;
    border-radius: 6px;
    padding: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ebc-be86c614-day-num {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.6;
}

.ebc-be86c614-cell-status-label {
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 6px;
    border-radius: 3px;
    text-align: center;
    display: inline-block;
    width: fit-content;
}

/* Available state */
.ebc-be86c614-cell-available {
    background-color: #FAFBF9;
}
.ebc-be86c614-cell-available:hover {
    border-color: #AC8534;
    transform: translateY(-2px);
}
.ebc-be86c614-cell-available .ebc-be86c614-cell-status-label {
    background-color: #E2ECE5;
    color: #1B4D3E;
}

/* Blocked/Private state */
.ebc-be86c614-cell-private {
    background-color: #FAF8F5;
    cursor: not-allowed;
}
.ebc-be86c614-cell-private .ebc-be86c614-cell-status-label {
    background-color: #EAE5DC;
    color: #8C8476;
}

/* Public Event State */
.ebc-be86c614-cell-public {
    background-color: #F3F7F5;
}
.ebc-be86c614-cell-public:hover {
    border-color: #1B4D3E;
    transform: translateY(-2px);
}
.ebc-be86c614-cell-public .ebc-be86c614-cell-status-label {
    background-color: #1B4D3E;
    color: #ffffff;
}

.ebc-be86c614-cell-event-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 500;
    margin-top: 4px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ebc-be86c614-other-month {
    opacity: 0.25;
    cursor: default;
}

/* Modal Booking Request styling */
.ebc-be86c614-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 46, 43, 0.4);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.ebc-be86c614-modal {
    background-color: #FAF7F2;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    padding: 40px;
    position: relative;
    box-shadow: 0 15px 50px rgba(42, 46, 43, 0.15);
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid #EAE3DC;
}

.ebc-be86c614-modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #8E8A84;
}

.ebc-be86c614-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.ebc-be86c614-modal-header h3 {
    font-size: 26px;
    margin: 0 0 10px 0;
    font-weight: 400;
}

.ebc-be86c614-modal-header p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    color: #6E6A64;
    margin: 0;
}

/* Form Styles */
.ebc-be86c614-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ebc-be86c614-form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.ebc-be86c614-form-row label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.ebc-be86c614-field-input,
.ebc-be86c614-field-select {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding: 12px 16px;
    border-radius: 4px;
    border: 1px solid #EAE3DC;
    background-color: #ffffff;
    font-size: 14px;
    color: #2A2E2B;
    transition: border-color 0.2s;
}

.ebc-be86c614-field-input:focus,
.ebc-be86c614-field-select:focus {
    outline: none;
    border-color: #AC8534;
}

.ebc-be86c614-modal-submit-btn {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    width: 100%;
    padding: 14px;
    border: none;
    background-color: #AC8534;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    letter-spacing: 1px;
}

.ebc-be86c614-modal-submit-btn:hover {
    background-color: #926f2a;
}

.ebc-be86c614-form-feedback {
    margin-top: 15px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    display: none;
}

/* Responsive queries */
@media (max-width: 900px) {
    .ebc-be86c614-grid-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ebc-be86c614-main-wrapper {
        padding: 40px 20px;
    }
    .ebc-be86c614-cal-days-header,
    .ebc-be86c614-cal-grid-target {
        grid-template-columns: repeat(1, 1fr);
    }
    .ebc-be86c614-calendar-cell {
        min-height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .ebc-be86c614-form-grid {
        grid-template-columns: 1fr;
    }
}
