table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 100%);
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    border: 1px solid #C0C0C0;
    margin-top: 20px;
}

th {
    background: linear-gradient(180deg, #6A8AAA 0%, #5A7A9A 100%);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid #3D5A6C;
}

th:first-child {
    border-radius: 12px 0 0 0;
}

th:last-child {
    border-radius: 0 12px 0 0;
}

td {
    padding: 15px;
    text-align: center;
    border: 1px solid #E8E8E8;
    transition: all 0.3s ease;
    font-size: 0.95em;
    color: #4A4A4A;
    position: relative;
}

td:hover {
    background: linear-gradient(135deg, #E8F0F5 0%, #D8E8F0 100%);
    transform: translateY(-1px);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

td.today {
    background: linear-gradient(135deg, #FFE8E8 0%, #FFD8D8 100%);
    color: #E74C3C;
    font-weight: 600;
    border: 1px solid #FFB8B8;
}

td.today:hover {
    background: linear-gradient(135deg, #FFD8D8 0%, #FFC8C8 100%);
}

td.other-month {
    color: #C0C0C0;
    background: linear-gradient(135deg, #F8F8F8 0%, #F0F0F0 100%);
}

td.other-month:hover {
    background: linear-gradient(135deg, #F0F0F0 0%, #E8E8E8 100%);
}

td.has-event {
    position: relative;
}

td.has-event::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(180deg, #6A8AAA 0%, #5A7A9A 100%);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    table {
        font-size: 0.85em;
    }
    
    th,
    td {
        padding: 10px;
    }
    
    th {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    table {
        font-size: 0.75em;
    }
    
    th,
    td {
        padding: 8px;
    }
}