/* Style dla modala */
.modal {
    display: none; /* Ukryty domyślnie */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* Czarny z przezroczystością */
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* 10% od góry i wyśrodkowane */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Szerokość modala */
    max-width: 500px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

#approved-reservations {
    margin-top: 20px;
}

.reservation-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.reservation-time {
    font-weight: bold;
}

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

.calendar-header button {
    padding: 5px 10px;
    cursor: pointer;
}

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

.calendar-table th,
.calendar-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}


.message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
}

.message.success {
    background-color: #e0ffe0;
    border: 1px solid #00cc00;
}

.message.error {
    background-color: #ffe0e0;
    border: 1px solid #cc0000;
}

.message.info {
    background-color: #e0e0ff;
    border: 1px solid #0000cc;
}

.calendar-day.has-reservations {
    background-color: #e0ffe0;
    border: 2px solid #00cc00;
    cursor: pointer;
}
