/* Openingsuren Page Styles */
.opening-hours-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.opening-hours-column {
    display: flex;
    flex-direction: column;
}

.opening-hours-table-public {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Funnel Sans', sans-serif;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.opening-hours-table-public thead {
    background-color: rgba(255, 215, 0, 0.1);
}

.opening-hours-table-public th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    color: var(--yellow);
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.opening-hours-table-public td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.opening-hours-table-public tbody tr:last-child td {
    border-bottom: none;
}

.opening-hours-table-public tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.day-name-public {
    font-weight: 600;
    color: var(--white);
    min-width: 150px;
    font-size: 1.05rem;
}

.day-hours {
    color: var(--white);
}

.time-range {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 4px;
    margin-right: 0.25rem;
}

.time-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.25rem;
}

.closed-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
    border-radius: 4px;
    font-weight: 600;
}

.closed-reason {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 0.5rem;
    font-style: italic;
}

.no-hours {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.no-hours-message {
    font-family: 'Funnel Sans', sans-serif;
    color: var(--white);
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* Calendar Column */
.calendar-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calendar-container {
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
}

.calendar-header h2 {
    font-family: 'Funnel Display', sans-serif;
    color: var(--yellow);
    font-size: 1.75rem;
    margin: 0;
    text-align: center;
    flex: 1;
}

.calendar-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--yellow);
    color: var(--yellow);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.calendar-nav-btn:hover {
    background-color: var(--yellow);
    color: var(--black);
    transform: scale(1.1);
}

.calendar-nav-btn span {
    line-height: 1;
    display: block;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Funnel Sans', sans-serif;
}

.calendar-table thead th {
    padding: 0.75rem 0.5rem;
    text-align: center;
    color: var(--yellow);
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.calendar-day {
    width: calc(100% / 7);
    height: 60px;
    padding: 0.5rem;
    text-align: center;
    vertical-align: top;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    cursor: default;
}

.calendar-day.empty {
    background-color: rgba(255, 255, 255, 0.02);
    border: none;
}

.calendar-day.today {
    background-color: rgba(255, 215, 0, 0.15);
    border: 2px solid var(--yellow);
}

.calendar-day.has-closure {
    background-color: rgba(220, 53, 69, 0.15);
}

.calendar-day.today.has-closure {
    background-color: rgba(220, 53, 69, 0.2);
    border: 2px solid #dc3545;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.4);
}

.calendar-day.weekly-closed {
    background-color: rgba(220, 53, 69, 0.1);
}

.calendar-day-number {
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.calendar-closure-indicator,
.calendar-weekly-closed {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    color: #dc3545;
    font-size: 0.75rem;
    line-height: 1;
}

.calendar-weekly-closed {
    color: rgba(220, 53, 69, 0.7);
}

.calendar-legend {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Funnel Sans', sans-serif;
    color: var(--white);
    font-size: 0.875rem;
}

.legend-today {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: rgba(255, 215, 0, 0.15);
    border: 2px solid var(--yellow);
    border-radius: 3px;
}

.legend-closure {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: rgba(220, 53, 69, 0.15);
    border-radius: 50%;
    position: relative;
}

.legend-closure::after {
    content: '●';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #dc3545;
    font-size: 0.6rem;
}

.legend-weekly-closed {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    position: relative;
}

.legend-weekly-closed::after {
    content: '●';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(220, 53, 69, 0.7);
    font-size: 0.6rem;
}

/* Upcoming Closures Section */
.upcoming-closures {
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
}

.upcoming-closures h3 {
    font-family: 'Funnel Display', sans-serif;
    color: var(--yellow);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.closures-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.closure-item {
    font-family: 'Funnel Sans', sans-serif;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    transition: all 0.3s ease;
}

.closure-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
}

.closure-date {
    font-weight: 600;
    color: var(--yellow);
}

.closure-reason {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 968px) {
    .opening-hours-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .opening-hours-table-public {
        font-size: 0.9rem;
    }
    
    .opening-hours-table-public th,
    .opening-hours-table-public td {
        padding: 0.75rem 1rem;
    }
    
    .day-name-public {
        min-width: 100px;
    }
    
    .calendar-day {
        height: 50px;
        padding: 0.25rem;
    }
    
    .calendar-day-number {
        font-size: 0.875rem;
    }
    
    .calendar-container {
        padding: 1rem;
    }
    
    .calendar-header h2 {
        font-size: 1.5rem;
    }
    
    .calendar-table thead th {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }
    
    .upcoming-closures h3 {
        font-size: 1.25rem;
    }
}
