﻿.calendar {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 15px;
    width: 320px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 10px;
}

    .calendar-header nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

.calendar nav button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    padding: 5px 10px;
    color: #007bff;
    transition: color 0.3s;
}

    .calendar nav button:hover {
        color: #0056b3;
    }

table.calendar-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.calendar-table th {
    padding: 10px 0;
    color: #666;
    font-weight: 600;
    border-bottom: 2px solid #e6e6e6;
}

.calendar-table td {
    /*width: 14.28%;*/ /* 100 / 7 days */
    border:1px solid black;
    width: 13%;
    padding: 6px 0;
    cursor: pointer;
    border-radius: 6px;
    /*    font-size: 0.9em;*/
    transition: background-color 0.3s, color 0.3s;
}

    .calendar-table td:hover:not(.disabled):not(.selected) {
        background-color: #e6f0ff;
    }

    .calendar-table td.disabled {
        color: #bbb;
        cursor: default;
    }

    .calendar-table td.selected {
        background-color: #007bff;
        color: white;
        font-weight: 700;
    }

    .calendar-table td.in-range {
        background-color: #cce5ff;
        color: #004085;
    }
.input-row {
    display: flex;
    font-size: 0.75em;
    align-items: center; /* vertically aligns items to the start */
    gap: 10px;
}
    /* Make CheckIn stick to start (default) */
    /* Make TotalDays centered using auto margins on both sides */
    .input-row input:nth-child(2) {
        margin-left: auto;
        margin-right: auto;
    }

    /* Make CheckOut stick to the end */
    .input-row input:nth-child(3) {
        margin-left: auto;
    }

