ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

body {
    background-color: #F4F1E9;
    width: 100%;
    margin: 0!important;
    padding: 0!important;
}

#usuario-index-body {
    background-image: url('/storage/img/background/arraial-intranet.png');
}

/* Estilos dos Tabs */
.nav-tabs {
    border-bottom: none;
    background: linear-gradient(45deg, #003366, #0055a4);
    border-radius: 8px 8px 0 0;
}

.nav-tabs .nav-item {
    margin-bottom: 0;
}

.nav-tabs .nav-link {
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 500;
    border-radius: 6px 6px 0 0;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-tabs .nav-link.active {
    border: none;
    background: linear-gradient(to bottom, #FFFFFF, #F5F5DC);
    color: #003366;
    font-weight: bold;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

.tab-content {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

/* Estilos dos Cards */
.module-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
    height: 100%;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.module-card i {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.module-card p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
}

/* Card Cidadão */
.module-card-cidadao {
    background: linear-gradient(45deg, #003366, #0055a4);
}

/* Card Servidor */
.module-card-servidor {
    background: linear-gradient(45deg, #8B0000, #B22222);
}

/* Profile Header */
.profile-header {
    background: linear-gradient(to right, #ffffff, #f8f9fa);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.profile-header-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #003366;
    margin: 0;
}

.edit-button {
    background-color: #003366;
    color: white;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #002244;
    border-radius: 5px;
    padding: 0.2rem 0.5rem;
}

.edit-button:hover {
    background-color: #004488;
    color: white;
}

/* Profile Body */
.profile-body {
    background: #004a91;
    color: white;
    padding: 2rem;
}

.profile-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.profile-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-details li {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.profile-details li strong {
    display: inline-block;
    width: 160px;
    color: #cce7ff;
}

.profile-details li span {
    font-weight: 500;
}

.button-group {
    display: flex;
    gap: 10px;
}

.home-button, .logout-button, .edit-button {
    color: white;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 5px;
    padding: 0.4rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.home-button {
    background: linear-gradient(45deg, #003366, #0055a4);
    border: 1px solid #002244;
}

.home-button:hover {
    background: linear-gradient(45deg, #0055a4, #0077cc);
    color: white;
}

.logout-button {
    background: linear-gradient(45deg, crimson, #d63384);
    border: 1px solid #b22222;
}

.logout-button:hover {
    background: linear-gradient(45deg, #d63384, #ff69b4);
    color: white;
}

/* Responsividade do Header */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1rem;
        gap: 1rem;
        position: relative;
        flex-wrap: wrap;
    }
    
    .profile-header-title {
        font-size: 1.25rem;
        text-align: left;
        margin: 0;
        order: 1;
        flex: 1;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        background: linear-gradient(45deg, #003366, #0055a4);
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.2s ease;
        min-width: 100px;
        order: 2;
        flex-shrink: 0;
    }
    
    .mobile-menu-toggle:hover {
        background: linear-gradient(45deg, #0055a4, #0077cc);
    }
    
    .button-group {
        display: none !important;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        order: 3;
        margin-top: 0.5rem;
    }
    
    .button-group.show {
        display: flex !important;
    }
    
    .home-button, .edit-button, .logout-button {
        justify-content: center;
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Responsividade adicional para telas muito pequenas */
@media (max-width: 480px) {
    .profile-header {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .profile-header-title {
        font-size: 1.1rem;
    }
    
    .mobile-menu-toggle {
        min-width: 80px;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .button-group {
        gap: 0.25rem;
    }
    
    .home-button, .edit-button, .logout-button {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}