:root {
    --gojan-primary: rgb(45, 80, 22);
    --gojan-primary-dark: rgb(26, 58, 15);
    --gojan-secondary: #d8ae11;
    --gojan-blue: #363A7A;
    --gojan-blue-light: #4e73df;
    --gojan-success: #1cc88a;
    --gojan-info: #36b9cc;
    --gojan-warning: #f6c23e;
    --gojan-danger: #e74a3b;
    --gojan-dark: #5a5c69;
    --gojan-light-bg: #f8f9fa;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--gojan-light-bg);
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
}

html {
    overflow-x: hidden;
}

.navbar-dark.bg-dark {
    background-color: #fff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    margin-bottom: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-dark .navbar-brand,
.navbar-dark .navbar-text,
.navbar-dark .btn-outline-light {
    color: #333 !important;
}

.navbar-dark .btn-outline-light {
    border-color: #333 !important;
}

.navbar-dark .btn-outline-light:hover {
    background-color: #f8f9fa;
    color: #363A7A !important;
}

.navbar-dark .navbar-brand {
    color: #fff;
}

.navbar-dark .navbar-text {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600 !important;
    font-size: 1.25rem !important;
    margin-left: 1rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
}

.list-group-item-action.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

.list-group-item-action:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.list-group-item-action {
    color: rgba(255, 255, 255, 0.8);
    background-color: transparent;
    border: 0;
    margin-bottom: 1px;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-group-item-action i {
    font-size: 0.95rem;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #e3e6f0;
    font-weight: 600;
    color: #363A7A;
    /* Dark blue text for card headers */
    padding: 1rem 1.5rem;
}

.stat-card {
    position: relative;
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    border: none;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.stat-card .card-body {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.stat-card-primary {
    border-left: 4px solid var(--gojan-blue-light);
}

.stat-card-success {
    border-left: 4px solid var(--gojan-success);
}

.stat-card-info {
    border-left: 4px solid var(--gojan-info);
}

.stat-card-warning {
    border-left: 4px solid var(--gojan-warning);
}

.stat-card-danger {
    border-left: 4px solid var(--gojan-danger);
}

.stat-card-dark {
    border-left: 4px solid var(--gojan-dark);
}

.stat-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #4e73df;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5a5c69;
}

.stat-icon-box {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--gojan-blue-light) 0%, #224abe 100%);
    color: white;
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--gojan-success) 0%, #13855c 100%);
    color: white;
}

.bg-gradient-info {
    background: linear-gradient(135deg, var(--gojan-info) 0%, #258391 100%);
    color: white;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, var(--gojan-warning) 0%, #dda20a 100%);
    color: white;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, var(--gojan-danger) 0%, #be2617 100%);
    color: white;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--gojan-dark) 0%, #373840 100%);
    color: white;
}

.bg-gradient-gojan {
    background: linear-gradient(135deg, var(--gojan-primary) 0%, var(--gojan-primary-dark) 100%);
    color: white;
}

.stat-icon {
    position: absolute;
    right: 15px;
    bottom: 15px;
    font-size: 4rem;
    opacity: 0.15;
    z-index: 1;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-icon-box {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 1;
}

.stat-icon-box i {
    font-size: 2rem;
}

/* Global Button Overrides (Making standard Bootstrap buttons attractive) */
.btn {
    border-radius: 6px;
    font-weight: 500;
    letter-spacing: 0.3px;
    background-image: none;
    background-color: transparent;
    /* Outline Theme */
    color: #4e73df;
    border: 2px solid #4e73df;
    /* Prominent Border */
    padding: 0.375rem 0.75rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s ease-in-out;
    box-shadow: none;
    /* Clean look */
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #4e73df;
    border-color: #4e73df;
    color: #fff;
}

.btn-primary {
    background-color: transparent;
    border: 2px solid #4e73df;
    color: #4e73df;
    background-image: none;
}

.btn-primary:hover {
    background-color: #4e73df;
    border-color: #4e73df;
    color: #fff;
    background-image: none;
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Specific overrides to prevent generic blue style on semantic buttons */
.btn-secondary {
    color: #858796;
    border-color: #858796;
    background-color: transparent;
    background-image: none;
    border: 2px solid #858796;
}

.btn-secondary:hover {
    background-color: #858796;
    color: white;
    border-color: #858796;
}

.btn-success {
    color: #1cc88a;
    border-color: #1cc88a;
    background-color: transparent;
    background-image: none;
    border: 2px solid #1cc88a;
}

.btn-success:hover {
    background-color: #1cc88a;
    color: white;
    border-color: #1cc88a;
}

.btn-danger,
.bg-danger {
    color: #e74a3b !important;
    border-color: #e74a3b !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 2px solid #e74a3b !important;
}

.btn-danger:hover {
    background-color: #e74a3b !important;
    color: white !important;
    border-color: #e74a3b !important;
}

.btn-warning {
    color: #f6c23e;
    border-color: #f6c23e;
    background-color: transparent;
    background-image: none;
    border: 2px solid #f6c23e;
}

.btn-warning:hover {
    background-color: #f6c23e;
    color: white;
    border-color: #f6c23e;
}

/* Info Button (Cyan) */
.btn-info {
    color: #36b9cc;
    border-color: #36b9cc;
    background-color: transparent;
    background-image: none;
    border: 2px solid #36b9cc;
}

.btn-info:hover {
    background-color: #36b9cc;
    color: white;
    border-color: #36b9cc;
}

/* Dark Button */
.btn-dark {
    color: #5a5c69;
    border-color: #5a5c69;
    background-color: transparent;
    background-image: none;
    border: 2px solid #5a5c69;
}

.btn-dark:hover {
    background-color: #5a5c69;
    color: white;
    border-color: #5a5c69;
}

.btn-outline-light {
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-sm {
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
}

.badge.bg-success {
    background-color: #1cc88a !important;
}

.badge.bg-warning {
    background-color: #f6c23e !important;
    color: #333 !important;
}

.badge.bg-info,
.bg-info {
    background-color: #36b9cc !important;
}

.badge.bg-secondary {
    background-color: #858796 !important;
}

.bg-primary {
    background-color: #363A7A !important;
}

h2 {
    color: #363A7A;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Sidebar Responsive Behavior */
.col-md-2 {
    transition: all 0.3s ease;
    z-index: 1001;
}

@media (max-width: 991.98px) {
    #sidebarMenu.col-md-2 {
        position: fixed;
        left: -260px;
        top: 0;
        bottom: 0;
        width: 260px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        padding-top: 20px !important;
        /* increased padding to account for navbar if behind, or proper spacing if above */
        background: linear-gradient(180deg, rgb(45, 80, 22) 0%, rgb(26, 58, 15) 100%);
        color: white;
        z-index: 1045;
        /* Above navbar (1020) */
        transition: left 0.3s ease;
    }

    #sidebarMenu.show {
        left: 0 !important;
    }

    /* Ensure overlay is below sidebar but above content */
    .sidebar-overlay {
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        /* Above navbar (1020) */
    }

    .col-md-10 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding: 15px !important;
    }

    .stat-value {
        font-size: 2rem !important;
    }

    .navbar-brand {
        font-size: 1rem !important;
        margin-left: 0.5rem;
        color: #333 !important;
    }

    /* Force all buttons in navbar to be visible and dark on mobile */
    .sidebar-toggle-btn,
    .navbar .btn {
        color: #333 !important;
        border-color: #333 !important;
        display: inline-flex !important;
        /* Ensure it's not hidden */
        align-items: center;
        justify-content: center;
    }

    .navbar .btn i,
    .sidebar-toggle-btn i {
        color: #333 !important;
    }

    .table-responsive {
        border-radius: 8px;
        overflow-x: auto;
    }
}

@media (min-width: 992px) {
    #sidebarMenu.col-md-2 {
        /* position: sticky; */
        /* top: 56px; */
        /* navbar height */
        min-height: calc(100vh - 56px);
        background: linear-gradient(180deg, rgb(45, 80, 22) 0%, rgb(26, 58, 15) 100%);
        color: white;
        flex: 0 0 240px;
        max-width: 240px;
        z-index: 1000;
    }

    .col-md-10 {
        flex: 1;
        max-width: calc(100% - 240px);
    }

    .sidebar-toggle-btn {
        display: none !important;
    }
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.sidebar-overlay.show {
    display: block;
}

/* Sidebar List Group Adjustments */
.col-md-2 .list-group {
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 0;
    border: none;
}

#sidebarMenu.col-md-2 {
    padding-right: 0;
    padding-left: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.col-md-10 {
    padding: 24px 30px;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    margin-bottom: 0;
    width: 100%;
}

.list-group {
    padding: 0 5px;
}

/* Improved Form Controls for Mobile */
@media (max-width: 576px) {
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .card-body,
    .stat-card .card-body {
        padding: 1rem;
    }
}

/* Footer Styles */
.footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e3e6f0;
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center !important;
    color: #6c757d;
    font-size: 0.9rem;
    width: 100%;
    clear: both;
}

.footer .container-fluid {
    text-align: center !important;
}

.footer p {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

.footer a {
    color: var(--gojan-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--gojan-primary-dark);
    text-decoration: underline;
}

.login-footer {
    margin-top: 1.5rem;
    text-align: center !important;
    color: #6c757d;
    font-size: 0.9rem;
    width: 100%;
}

.login-footer p {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

.login-footer a {
    color: var(--gojan-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-footer p {
    margin: 0;
    padding: 0;
    text-align: center;
    white-space: nowrap;
    display: inline-block;
}

.login-footer a {
    color: var(--gojan-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.login-footer a:hover {
    color: var(--gojan-primary-dark);
    text-decoration: underline;
}

/* =========================================
   Login Page Styles (from index.php)
   ========================================= */

body.login-page {
    background: linear-gradient(135deg, rgb(45, 80, 22) 0%, rgb(58, 95, 27) 50%, rgb(212, 175, 55) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.5s ease-out;
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-header {
    background: rgb(45, 80, 22);
    padding: 2.5rem 2rem;
    text-align: center;
    color: white;
}

.login-header h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
    /* Warning: Overrides default h3 color */
}

.login-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.login-body {
    padding: 2.5rem 2rem;
}

.welcome-text {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-text h4 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.welcome-text p {
    color: #6c757d;
    font-size: 0.9rem;
}

.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--gojan-primary);
    box-shadow: 0 0 0 0.2rem rgba(45, 80, 22, 0.15);
}

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    z-index: 10;
}

.password-toggle:hover {
    color: rgb(45, 80, 22);
}

.btn-login {
    background: linear-gradient(135deg, rgb(45, 80, 22) 0%, rgb(26, 58, 15) 100%);
    border: none;
    border-radius: 8px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 80, 22, 0.4);
    background: linear-gradient(135deg, rgb(55, 95, 27) 0%, rgb(35, 75, 20) 100%);
}

.btn-login:active {
    transform: translateY(0);
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
    color: #6c757d;
    font-size: 0.85rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .login-header {
        padding: 1.5rem;
    }

    .login-body {
        padding: 1.5rem;
    }

    .login-header h3 {
        font-size: 1.5rem;
    }

    .welcome-text h4 {
        font-size: 1.25rem;
    }
}

/* =========================================
   Dashboard Styles (from admin_dashboard.php)
   ========================================= */

.faculty-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.rank-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
}

.rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    color: white;
}

.rank-3 {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    color: white;
}

.chart-container {
    position: relative;
    height: 300px;
}

/* Attractive Button Styles - Standardized to match Global Buttons */
.btn-attractive-edit {
    background: linear-gradient(135deg, #f6c23e 0%, #dda20a 100%);
    border: none;
    color: #333;
    /* Dark text for warning/edit */
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    /* Varied radius */
    font-weight: 600;
    font-size: 0.875rem;
    background-image: none;
    background-color: transparent;
    border: 2px solid #f6c23e;
    color: #f6c23e;
    box-shadow: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-attractive-edit:hover {
    background-color: #f6c23e;
    border-color: #f6c23e;
    box-shadow: 0 4px 6px rgba(246, 194, 62, 0.3);
    transform: translateY(-1px);
    color: #fff;
    animation: none;
}

.btn-attractive-info {
    background: linear-gradient(135deg, #36b9cc 0%, #258391 100%);
    border: none;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    background-image: none;
    background-color: transparent;
    border: 2px solid #36b9cc;
    color: #36b9cc;
    box-shadow: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-attractive-info:hover {
    background-color: #36b9cc;
    border-color: #36b9cc;
    box-shadow: 0 4px 6px rgba(54, 185, 204, 0.3);
    transform: translateY(-1px);
    animation: none;
    color: white;
}

.btn-attractive-delete {
    background: linear-gradient(135deg, #e74a3b 0%, #c0392b 100%);
    border: none;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    background-image: none;
    background-color: transparent;
    border: 2px solid #e74a3b;
    color: #e74a3b;
    box-shadow: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-attractive-delete:hover {
    background-color: #e74a3b;
    border-color: #e74a3b;
    box-shadow: 0 4px 6px rgba(231, 74, 59, 0.3);
    transform: translateY(-1px);
    animation: none;
    color: white;
}

.btn-attractive-export {
    background: linear-gradient(135deg, #1cc88a 0%, #13855c 100%);
    border: none;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    background-image: none;
    background-color: transparent;
    border: 2px solid #1cc88a;
    color: #1cc88a;
    box-shadow: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-attractive-export:hover {
    background-color: #1cc88a;
    border-color: #1cc88a;
    box-shadow: 0 4px 6px rgba(28, 200, 138, 0.3);
    transform: translateY(-1px);
    animation: none;
    color: white;
}

/* Attractive Form Selects (Dropdowns) */
.custom-select {
    appearance: none;
    background-color: #fff;
    border: 1px solid #d1d3e2;
    padding: 0.4rem 2rem 0.4rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 10px 8px;
    min-width: 140px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.custom-select:hover {
    border-color: #b7b9cc;
    background-color: #f8f9fc;
}

.custom-select:focus {
    outline: none;
    border-color: #4e73df;
    /* Gojan Light Blue */
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
    border-radius: 20px;
    /* Enhanced rounding for inputs on focus */
}

.btn-attractive-create {
    background-color: transparent;
    background-image: none;
    border: 2px solid #1cc88a;
    color: #1cc88a;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-attractive-create:hover {
    background-color: #1cc88a;
    background-image: none;
    box-shadow: 0 4px 6px rgba(28, 200, 138, 0.3);
    transform: translateY(-1px);
    animation: none;
    color: white;
}

.btn-attractive-reset {
    background-color: #858796;
    background-image: none;
    background-color: transparent;
    border: 2px solid #858796;
    color: #858796;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-attractive-reset:hover {
    background-color: #858796;
    border-color: #858796;
    box-shadow: 0 4px 6px rgba(133, 135, 150, 0.3);
    transform: translateY(-1px);
    animation: none;
    color: white;
}

.btn-attractive-primary {
    background-color: transparent;
    background-image: none;
    border: 2px solid #4e73df;
    color: #4e73df;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-attractive-primary:hover {
    background-color: #4e73df;
    background-image: none;
    border-color: #4e73df;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(78, 115, 223, 0.3);
    animation: none;
    color: white;
}

/* Messages Page Styles */
/* Messages Page Styles */
.btn-attractive-send {
    background-color: transparent;
    background-image: none;
    border: 2px solid #075e54;
    color: #075e54;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    width: 100%;
}

.btn-attractive-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(7, 94, 84, 0.3);
    background-color: #075e54;
    background-image: none;
    color: white;
}

.message-card {
    border: none;
    border-radius: 12px;
    height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
}

.chat-container {
    background-color: #e5ddd5;
    background-image: url("https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png");
    background-repeat: repeat;
    overflow-y: auto;
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column-reverse;
}

.chat-history {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bubble {
    max-width: 75%;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.4;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
}

.bubble-sent {
    align-self: flex-end;
    background-color: #dcf8c6;
    border-top-right-radius: 2px;
}

.bubble-received {
    align-self: flex-start;
    background-color: #ffffff;
    border-top-left-radius: 2px;
}

.bubble-global {
    align-self: center;
    background-color: #fff3e0;
    border-left: 4px solid #ff9800;
    max-width: 90%;
    text-align: center;
    font-style: italic;
}

.bubble-meta {
    font-size: 0.75rem;
    color: #667781;
    margin-top: 4px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
}

.sender-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: #075e54;
    display: block;
    margin-bottom: 2px;
}

.bubble-sent .sender-name {
    color: #128c7e;
}

.welcome-card-header {
    background: #075e54 !important;
}

.card-header.bg-white {
    border-bottom: 1px solid #ddd !important;
}

/* Activity Logs Styles */
.action-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
}

.filter-section {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.log-table {
    font-size: 0.9rem;
}

.timestamp-col {
    width: 180px;
}

.username-col {
    width: 120px;
}

.action-col {
    width: 150px;
}

.ip-col {
    width: 120px;
}

/* Dropdown Button Helper */
.btn-dropdown-item {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 0.25rem 1.5rem;
    font-weight: 400;
    color: #212529;
    display: block;
    white-space: nowrap;
}

.btn-dropdown-item:hover {
    background-color: #f8f9fa;
    color: #1e2125;
}

.btn-dropdown-item.text-danger:hover {
    color: #dc3545;
    background-color: #fff5f5;
}. d r o p d o w n - m e n u  
   z - i n d e x :   1 0 5 5   ! i m p o r t a n t ;    
 
/* Dropdown Z-Index Fix */
.dropdown-menu {
    z-index: 1055 !important;
}

.filter-section {
    position: relative;
    z-index: 1;
}
