.kalendarz .col {
    display: flex;
    justify-content: space-between;
}


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

.kalendarz .form-group .wpcf7-checkbox {
    display: flex;
    flex-direction: column;
}

.kalendarz .form-group .wpcf7-checkbox .wpcf7-list-item {
    display: flex;
}

.kalendarz .form-group .wpcf7-checkbox .wpcf7-list-item input {
    width: auto;
}

.kalendarz .form-group .wpcf7-checkbox .wpcf7-list-item label {
    font-weight: 400;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #4a90d9;
}

.calendar-container {
    margin-top: 10px;
}

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

.calendar-header button {
    background: #f0f0f0;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.calendar-header button:hover {
    background: #e0e0e0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

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

.day-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    border: 2px solid transparent;
    position: relative;
}

.day-cell .day-number {
    font-weight: 600;
    font-size: 16px;
}

.day-cell .day-info {
    font-size: 9px;
    text-align: center;
    line-height: 1.1;
    margin-top: 2px;
    padding: 0 2px;
}

/* Przeszłe dni - szare, nieklikalne */
.day-past {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Dziś i jutro - pomarańczowe */
.day-limited {
    background: #fff3e0;
    color: #e65100;
    border-color: #ff9800;
}

.day-limited:hover:not(.selected) {
    background: #ffe0b2;
}

/* Pojutrze i dalej - zielone */
.day-available {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #4caf50;
}

.day-available:hover:not(.selected) {
    background: #c8e6c9;
}

/* Wybrany dzień */
.day-cell.selected {
    background: #1976d2;
    color: white;
    border-color: #1565c0;
}

.day-cell.selected .day-info {
    color: rgba(255, 255, 255, 0.9);
}

.empty-cell {
    aspect-ratio: 1;
}

.legend {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    font-size: 13px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid;
}

.legend-past {
    background: #f5f5f5;
    border-color: #ddd;
}

.legend-limited {
    background: #fff3e0;
    border-color: #ff9800;
}

.legend-available {
    background: #e8f5e9;
    border-color: #4caf50;
}


@media (max-width: 767px) {
    .kalendarz .col {
        flex-direction: column;
    }
}