.calendar {
    border: 1px solid #1f2222;
    border-radius: 4px;
    padding: 20px;
    max-width: 550px;
    margin: 60px 0;
}

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

.calendar-month-year {
    font-size: 18px;
    font-weight: 500;
    color: #1f2222;
    margin: 0;
}

.calendar-nav {
    background: transparent;
    border: 1px solid #1f2222;
    color: #1f2222;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 2px;
    transition: all 0.2s;
}

.calendar-nav:hover:not(:disabled) {
    background: #1f2222;
    color: #fff;
}

.calendar-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #1f2222;
    border: 1px solid #1f2222;
}

.calendar-day-header {
    background: #fff;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #1f2222;
    border-bottom: 1px solid #1f2222;
}

.calendar-day {
    background: #fff;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #1f2222;
    border: none;
    font-size: 14px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day:hover:not(.past):not(.other-month) {
    background: #7cf2a4;
}

.calendar-day.selected {
    background: #7cf2a4;
    font-weight: 500;
}

.calendar-day.past {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-day.other-month {
    opacity: 0.2;
    cursor: not-allowed;
}

.calendar-day.today {
    border: 2px solid #7cf2a4;
}

.selected-date {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #7cf2a4;
    border-radius: 4px;
    color: #1f2222;
}

.time-selection {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #1f2222;
    border-radius: 4px;
}

.time-selection h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #1f2222;
    font-weight: 500;
}

.time-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.time-option {
    background: transparent;
    border: 1px solid #1f2222;
    color: #1f2222;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s;
    text-align: center;
}

.time-option:hover {
    background: #1f2222;
    color: #fff;
}

.time-option.selected {
    background: #7cf2a4;
    border-color: #7cf2a4;
    font-weight: 500;
    color: #1f2222;
}

.booking-summary {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border: 2px solid #7cf2a4;
    border-radius: 4px;
    color: #1f2222;
}

.booking-summary h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 500;
}

.booking-summary p {
    margin: 5px 0;
    font-size: 14px;
}

.booking-form {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #1f2222;
    border-radius: 4px;
}

.booking-form h4 {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #1f2222;
    font-weight: 500;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #1f2222;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #1f2222;
    border-radius: 4px;
    color: #1f2222;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #7cf2a4;
}

.form-group input.error {
    border-color: #ff6347;
}

.form-group input::placeholder {
    color: #1f2222;
    opacity: 0.6;
}

.field-error {
    color: #ff6347;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    opacity: 0;
    transition: opacity 0.2s;
}

.field-error.show {
    opacity: 1;
}

.submit-button {
    width: 100%;
    padding: 12px 16px;
    background: #7cf2a4;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.submit-button:hover:not(:disabled) {
    background: #1f2222;
    transform: translateY(-1px);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

.form-message.success {
    background: rgba(124, 242, 164, 0.1);
    border: 1px solid #7cf2a4;
    color: var(--accent);
}

.form-message.error {
    background: rgba(255, 99, 71, 0.1);
    border: 1px solid #ff6347;
    color: #ff6347;
}

@media (max-width: 480px) {
    .time-options {
        grid-template-columns: 1fr;
    }
}