#close-calendar{
    filter: invert(1) contrast(1);
    margin-top: 16px;
    margin-left: 16px;
    cursor: pointer;
}
.calendar-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
}

.calendar-header {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    background: #fff;;
    color: black;
    padding: 30px 20px;
    text-align: center;
    box-sizing: border-box;
}

.date-selection {
    display: flex;
    width: 100%;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.date-input {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-input label {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.date-input input {
    background: rgba(255,255,255,0.2);
    border: 0.5px solid #000;
    border-radius: 8px;
    padding: 10px 15px;
    color: #000;
    font-size: 16px;
    text-align: center;
    box-sizing: border-box;
    width: 140px;
}

.date-input input::placeholder {
    color: rgba(255,255,255,0.7);
}

.nights-info {
    font-size: 18px;
    font-weight: 600;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    box-sizing: border-box;
    width: 100%;
}

.nav-btn {
    width: auto;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    color: #666;
}

.nav-btn:hover {
    color: #333;
}

.month-year {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    flex-grow: 1;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    width: 100%;
    box-sizing: border-box;
}

.month-container {
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    background-color: #fff;
}

.month-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 10px;
}

.weekday {
    text-align: center;
    padding: 12px 0;
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #f0f0f0;
}

.day {
    background: white;
    padding: 15px 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.day:hover {
    background: #e3f2fd;
}

.day.other-month {
    color: #ccc;
    background: #fafafa;
}

.day.selected {
    background: #2196f3;
    color: white;
}

.day.in-range {
    background: #e3f2fd;
    color: #1976d2;
}

.day.today {
    color: #000;
    font-weight: bold;
}

.day.start-date {
    background: #000;
    color: white;
}

.day.end-date {
    background: #000;
    color: white;
}

.day.unavailable {
    color: #f44336;
    cursor: not-allowed;
}

.summary {
    display: none;
    padding: 30px 20px;
    background: #f8f9fa;
    text-align: center;
    border-top: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
}

.summary h3 {
    color: #333;
    margin-bottom: 10px;
}

.summary p {
    color: #666;
    font-size: 16px;
}

.pricing-info {
    background: rgba(76, 175, 80, 0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
}

@media (max-width: 768px) {
    .calendar-grid {
        grid-template-columns: 1fr;
    }

    .date-selection {
        flex-direction: row;
        gap: 15px;
    }

    .calendar-header,
    .calendar-nav,
    .summary {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 400px) {
    .date-input input {
        width: 100%;
    }

    .month-title {
        font-size: 16px;
    }

    .month-year {
        font-size: 20px;
    }
}