/* Estilos para o menu responsivo e dashboard */

/* Estilos gerais */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

/* Melhorias no menu superior */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .nav-link {
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover {
    color: var(--primary-color);
}

.navbar .nav-link.active {
    color: var(--primary-color);
    font-weight: bold;
}

/* Avatar e foto de perfil */
.avatar-circle {
    transition: transform 0.3s ease;
}

.avatar-circle:hover,
.avatar-img:hover {
    transform: scale(1.1);
}

/* Menu inferior para dispositivos móveis - melhorias estilo App */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1030;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid #eee;
}

.mobile-bottom-nav .nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 10px;
    padding: 5px 0;
    transition: all 0.2s ease;
}

.mobile-bottom-nav .nav-link i,
.mobile-bottom-nav .nav-link svg {
    font-size: 20px;
    margin-bottom: 2px;
}

.mobile-bottom-nav .nav-link.active {
    color: var(--primary-color);
}

.mobile-bottom-nav .nav-item-center {
    flex: 0 0 70px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1031;
}

.mobile-bottom-nav .nav-item-center button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -30px;
    border: 5px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.mobile-bottom-nav .nav-item-center button i {
    font-size: 20px;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* Dashboard responsivo */
.dashboard-card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.dashboard-card .card-header {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

.dashboard-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Responsividade para diferentes tamanhos de tela */
@media (max-width: 992px) {
    .dashboard-card .card-body {
        padding: 1rem;
    }
    
    .dashboard-icon {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .dashboard-row {
        margin-bottom: 0;
    }
    
    .dashboard-card {
        margin-bottom: 15px;
    }
    
    .dashboard-icon {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    /* Ajustes para o menu inferior */
    body {
        padding-bottom: 65px;
    }
}

@media (max-width: 576px) {
    .dashboard-card .card-title {
        font-size: 1.1rem;
    }
    
    .dashboard-card .card-text {
        font-size: 0.9rem;
    }
    
    .dashboard-icon {
        font-size: 1.5rem;
    }
}