#internetStatusAlertContainer {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}

.custom-internet-toast {
    display: flex;
    align-items: center;
    background-color: #fff;
    color: #333;
    border-left: 6px solid;
    padding: 1rem 1.2rem;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    min-width: 260px;
    max-width: 350px;
    font-size: 0.95rem;
    animation: slideIn 0.3s ease;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
    touch-action: pan-y;
}

/* Icon & Close Button */
.custom-internet-toast .icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

.custom-internet-toast .close-btn {
    position: absolute;
    top: 0.4rem;
    right: 0.7rem;
    background: transparent;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: #666;
}

/* Alert Variants */
.custom-internet-toast.danger {
    border-color: #ff4d4f;
    background-color: #fff1f0;
}

.custom-internet-toast.warning {
    border-color: #faad14;
    background-color: #fffbe6;
}

.custom-internet-toast.success {
    border-color: #52c41a;
    background-color: #f6ffed;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateY(-15px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: slideIn 0.3s ease forwards;
}

.fade-out {
    opacity: 0;
    transform: translateY(-15px);
}

/* scroll hide in attendance overview widget*/
.attendance-scroll {
    max-height: calc(100vh - 150px);
    /* adjust based on layout */
    overflow-y: auto;
    padding-right: 10px;
    margin-right: -10px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.attendance-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.attendance-scroll table {
    width: 100%;
    border-collapse: collapse;
}

.attendance-scroll thead th {
    position: sticky;
    top: 0;
    background: #f8f9fa;
    /* match your app card background */
    z-index: 1;
    border-bottom: 2px solid #dee2e6;
}