/* Games page calendar styles */
.games-calendar .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.games-calendar .calendar-day {
    min-height: 60px;
    padding: 5px;
    background: white;
    border: 1px solid #dee2e6;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.games-calendar .calendar-day:hover {
    background: #f8f9fa;
    transform: scale(1.02);
}

.games-calendar .calendar-day.selected {
    background: #d4edda !important;
    border: 3px solid #28a745 !important;
}

.games-calendar .calendar-day.today {
    background: #fff3cd;
    border: 2px solid #ffc107;
}

.games-calendar .calendar-day.past {
    background: #f8f9fa;
    opacity: 0.5;
    cursor: not-allowed;
}

.games-calendar .calendar-day-header {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #333 !important;
}

.games-calendar .selected-date-indicator {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Games page proposal modal styles */
.games-calendar .proposal-modal .modal-content {
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
}

.games-calendar .time-slot {
    padding: 8px 12px;
    margin: 4px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.games-calendar .time-slot:hover {
    background: #c3e6cb;
}

.games-calendar .time-slot.selected {
    background: #cce5ff;
    border: 3px solid #007bff;
}

.games-calendar .time-slot.booked {
    background: #f8d7da;
    color: #721c24;
    cursor: not-allowed;
}