/* www/salao/public/css/style.css */

/* --- 1. GERAL --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Fundo Gelo para dar contraste com os cartões brancos */
	background-color: rgba(164,125,171, 0.4 );
    padding-bottom: 100px !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- 2. MENU LATERAL (Sidebar com Movimento) --- */
.offcanvas {
    max-width: 280px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border: none;
    box-shadow: 5px 0 25px rgba(0,0,0,0.05);
}

.list-group-item {
    border: none !important;
    border-radius: 12px !important;
    margin-bottom: 5px;
    padding: 12px 16px;
    font-weight: 600;
    color: #6c757d;
    background-color: transparent;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1); /* Animação fluida */
    display: flex;
    align-items: center;
}

.list-group-item i {
    width: 24px;
    text-align: center;
    margin-right: 12px;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

/* O Movimento que pediste: Desliza e muda de cor */
.list-group-item:hover {
    background-color: #f0f4ff; /* Azul muito claro */
    color: #0d6efd;
    transform: translateX(10px); /* Move 10px para a direita */
}

.list-group-item:hover i {
    color: #0d6efd;
    transform: scale(1.2); /* Ícone cresce */
}

/* Item Ativo */
.list-group-item.active {
    background-color: #e7f1ff !important;
    color: #0d6efd !important;
    font-weight: 700;
    transform: translateX(5px);
}

/* --- 3. MOBILE NAV --- */
.mobile-bottom-nav {
    position: fixed !important; bottom: 0; left: 0; width: 100%; height: 70px;
    background: #ffffff; box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    display: flex; justify-content: space-around; align-items: center; z-index: 9999;
    border-top-left-radius: 20px; border-top-right-radius: 20px;
}
.mobile-nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #adb5bd; text-decoration: none !important; font-size: 0.75rem; font-weight: 500;
    width: 60px; cursor: pointer;
}
.mobile-nav-item i { font-size: 1.5rem; margin-bottom: 2px; }
.mobile-nav-item.active { color: #0d6efd; }
.mobile-nav-fab {
    background-color: #0d6efd !important; color: white !important;
    width: 60px; height: 60px; border-radius: 50% !important;
    display: flex; align-items: center; justify-content: center; font-size: 2rem;
    margin-bottom: 45px; border: 6px solid #f0f2f5; /* Cor do fundo do body */
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.4);
    text-decoration: none !important; position: relative; z-index: 10000;
}

/* --- 4. DASHBOARD --- */
.stat-card-title { font-size: 0.75rem; opacity: 0.9; text-transform: uppercase; font-weight: 700; }
.stat-card-value { font-size: 1.6rem; font-weight: 800; }

/* --- 5. ÍCONES DE ACESSO RÁPIDO (Círculos Brancos) --- */
.icon-link {
    min-width: 80px; text-decoration: none; color: var(--bs-body-color);
    text-align: center; display: block;
}
.icon-circle {
    width: 60px; height: 60px; border-radius: 50% !important;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 8px auto;
    background-color: #ffffff;
    /* Sombra e borda mais fortes para contraste no modo claro */
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0 !important;
    transition: transform 0.2s, box-shadow 0.2s;
}
.icon-link:hover .icon-circle {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
    border-color: #ced4da !important;
}

/* --- 6. CARTÕES DE DESTAQUE (CORES VIVAS) --- */
.card-action, .card-action-highlight {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    color: var(--bs-body-color);
    background-color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: relative; overflow: hidden; z-index: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.card-action:hover, .card-action-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.card-action .icon-box, .card-action-highlight .icon-box {
    width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 10px;
}

/* Cores com mais contraste (menos transparência) */
.highlight-green {
	border-color: rgba(25, 135, 84, 0.3) !important;
    border-bottom: 4px solid #198754 !important; /* Borda colorida em baixo */
    background: rgba(25, 135, 84, 0.1);
}
.highlight-green .icon-box { color: #198754; background-color: #d1e7dd; }

.highlight-blue {
	border-color: rgba(13, 110, 253, 0.3) !important;
    border-bottom: 4px solid #0d6efd !important;
    background: rgba(13, 110, 253, 0.1)
}
.highlight-blue .icon-box { color: #0d6efd; background-color: #cfe2ff; }

.highlight-cyan {
	border-color: rgba(255, 255, 255, 0.3) !important;
    border-bottom: 4px solid #0dcaf0 !important;
    background: rgba(255, 255, 255, 0.5)
}
.highlight-cyan .icon-box { color: #0dcaf0; background-color: #cff4fc; }

.highlight-indigo {
	border-color: rgba(243, 240, 255, 0.3) !important;
    border-bottom: 4px solid #6610f2 !important;
    background: rgba(243, 240, 255, 0.5)
}
.highlight-indigo .icon-box { color: #6610f2; background-color: #e0cffc; }


/* --- DARK MODE --- */
[data-bs-theme='dark'] body { background-color: rgba(137,137,137, 0.6 ); color: #f8f9fa; }
[data-bs-theme='dark'] .navbar { background-color: #2c3034 !important; border-bottom: 1px solid #373b3e; }
[data-bs-theme='dark'] .card, 
[data-bs-theme='dark'] .list-group-item, 
[data-bs-theme='dark'] .modal-content { 
    background-color: #2c3034; border-color: #373b3e; color: #e9ecef;
}
[data-bs-theme='dark'] input.form-control, 
[data-bs-theme='dark'] select.form-select, 
[data-bs-theme='dark'] textarea.form-control {
    background-color: #212529; border-color: #495057; color: #fff;
}
[data-bs-theme='dark'] .bg-light { background-color: #343a40 !important; }
[data-bs-theme='dark'] .bg-white { background-color: #2c3034 !important; }
[data-bs-theme='dark'] .mobile-nav-fab { border-color: #212529; }

/* Ajustes dos Cartões no Dark Mode */
[data-bs-theme='dark'] .highlight-green { background: #2c3034; border-bottom-color: #198754 !important; }
[data-bs-theme='dark'] .highlight-blue { background: #2c3034; border-bottom-color: #0d6efd !important; }
[data-bs-theme='dark'] .highlight-cyan { background: #2c3034; border-bottom-color: #0dcaf0 !important; }
[data-bs-theme='dark'] .highlight-indigo { background: #2c3034; border-bottom-color: #6610f2 !important; }

/* Ícones Acesso Rápido no Dark Mode (Brancos) */
[data-bs-theme='dark'] .icon-circle {
    background-color: #ffffff !important; 
    border-color: #495057 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}