html, body {
    height: 100%;
}

body {
    margin: 0;
}

.is-fullheight {
    min-height: 100vh;
}
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    border-right: 1px solid #e1e5e9;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.sidebar-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-footer {
    margin-top: auto;
    border-top: 1px solid #e1e5e9;
}

.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-topbar {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    z-index: 30;
}

.admin-content {
    flex: 1;
    overflow-y: auto;
    background-color: #f8f9fa;
}

/* Estilização para menu ativo */
.menu-list a.is-active {
    background-color: #eef2ff;
    color: #4f46e5;
    border-right: 3px solid #4f46e5;
}

.menu-list a:hover {
    background-color: #f8f9fa;
}

/* Responsividade */
@media screen and (max-width: 1023px) {
    .admin-sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        height: 100vh;
        z-index: 40;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }

        .admin-sidebar.is-active {
            left: 0;
        }

    .admin-main {
        width: 100%;
    }
}


/*notification*/
.notifications-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 320px;
}

    .notifications-container .notification {
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }


/*loading*/
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff; /* Fundo totalmente branco */
    z-index: 9999;
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
}

.loading-container {
    text-align: center;
}

.favicon-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.favicon-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.favicon-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
}

/* Animação dos três pontos */
.loading-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

    .loading-dots span {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: #FF6B6B;
        animation: dotPulse 1.4s ease-in-out infinite both;
    }

        .loading-dots span:nth-child(1) {
            animation-delay: -0.32s;
        }

        .loading-dots span:nth-child(2) {
            animation-delay: -0.16s;
        }

        .loading-dots span:nth-child(3) {
            animation-delay: 0s;
        }

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}