
.calendar-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
}

.card-calendar{
    border-top: 3px solid #343a40 !important;
}

.calendar-table th {
    background: #343a40 !important;
    color: white !important;
    padding: 12px;
}

.calendar-cell {
    height: 75px;
    padding: 4px !important;
    border: 1px solid #c6c6c6;
    background-color: #ffffff !important;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    text-align: center;
    vertical-align: middle;
}


.calendar-cell:hover {
    background: #e9ecef !important;
}

.tooltip {
    font-size: 12px;
    font-weight: bold;
}

.hijri-date{
    color: green;
}

.transition-btn {
    background-color: transparent;
    border: none;
    color: #007bff !important;
    font-size: 1.2rem;
}
.transition-btn:hover {
    color: #0056b3 !important;
}
.calendar-cell {
    /* position: relative; */
    padding: 10px;
}
.today {
    background-color: #cacaca90 !important;
    border-radius: 5px;
}
.gregorian-date {
    font-weight: bold;
}
.hijri-date {
    font-size: 0.9rem;
    color: #6c757d;
}
.label-m {
    font-size: 0.6rem;
    color: #007bff;
}
.fa-moon-o {
    color: #007b25;
    font-size: 10px !important;
}

.event-badge {
    position: relative;
    cursor: pointer;
}

.event-badge::after {
    content: attr(title);
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 12px;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    z-index: 1000 !important;
}

.event-badge:hover::after {
    opacity: 1;
    visibility: visible;
}


@media (max-width: 768px) {
    .calendar-cell .gregorian-date{
        font-size: 10px !important;
    }
    .calendar-cell .hijri-date{
        font-size: 10.5px !important;
    }

    .calendar-cell{
        padding: 6px 4px !important;
        height: 50px !important;
    }
}