/* Availability */

.availability-title {
  margin-top: 40px;
}

.availability-box {
  margin-top: 15px;
  padding: 25px;
  background: rgba(255,255,255,0.85);
  border-radius: 10px;
}

.availability-box p {
    margin-top: 25px;
    text-align: center;
}

.availability-links {
  display: flex;
  gap: 15px;
  justify-content: center;
}


/* ===== Availability Calendar ===== */

.calendar {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
.calendar {
    width: 100%;
    box-sizing: border-box;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-header button {
    background: #333;
    color: white;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 5px;
}

.calendar-header button:hover {
    background: #555;
}

.calendar-dates,
.calendar-days {
    width: 100%;
}

.calendar-days,
.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.calendar-days div {
    font-weight: bold;
    font-size: fit-content;
}

.calendar-dates div {
    aspect-ratio: 1 / 0.7;          /* keeps perfect square */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: clamp(12px, 2vw, 16px);
}


/* states */

.available {
    background: #e8f5e9;
}

.booked {
    background: #ffebee;
    color: #b71c1c;
}

/* arrival day*/
.arrival {
    background:
        linear-gradient(
            135deg,
            #e8f5e9 50%,
            #ffebee 50%
        );
    color: #333;
}

/* departure day*/
.departure {
    background:
        linear-gradient(
            135deg,
            #ffebee 50%,
            #e8f5e9 50%
        );
    color: #333;
}

.today {
    border: 2px solid #333;
}