:root {
    --primary-color: #2E2868;
    --primary-light: #2e2868ec;
    --secondary: #2e286831;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #4cc9f0;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
  }


.header-profile-actions {
    padding: 0;
}

.header-user-profile {
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: white;
    margin-bottom: 8px;
}

.header-user {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-user img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-user-profile h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.header-user-profile p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

.header-profile-actions a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #495057;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.header-profile-actions a:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
    padding-left: 25px;
}

.header-profile-actions a i {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: #6c757d;
}

.header-profile-actions a:hover i {
    color: var(--primary-color);
}

.header-profile-actions a:last-child {
    color: #dc3545;
}

.header-profile-actions a:last-child:hover {
    color: #c82333;
    background-color: rgba(220, 53, 69, 0.05);
    border-left: 3px solid #dc3545;
}

.header-profile-actions a:last-child i {
    color: #dc3545;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.section-title {
    padding: 1.25rem;
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
}

.section-title h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 0;
}

.section-title i {
    margin-right: 1rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    padding: 1.5rem;
}

.card-icon {
    height: 3rem;
    width: 3rem;
    /* border-radius: 50%; */
    background-color: var(--primary-light);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
}

.card-icon i {
    color: var(--primary);
    font-size: 1.25rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 500;
}

/* Icon styles */
.reports .card-icon i {
    color: var(--primary);
}

.bulk .card-icon i {
    color: var(--success);
}

.messages .card-icon i {
    color: var(--warning);
}

.settings .card-icon i {
    color: var(--secondary);
}

.queries .card-icon i {
    color: var(--success);
}

.access .card-icon i {
    color: var(--danger);
}

.reports .card-icon {
    background-color: var(--primary-light);
}

.bulk .card-icon {
    background-color: rgba(56, 178, 172, 0.1);
}

.messages .card-icon {
    background-color: rgba(237, 137, 54, 0.1);
}

.settings .card-icon {
    background-color: rgba(63, 61, 86, 0.1);
}

.queries .card-icon {
    background-color: rgba(56, 178, 172, 0.1);
}

.access .card-icon {
    background-color: rgba(229, 62, 62, 0.1);
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 1rem;
    }
}
