/* File: assets/css/style.css */


   :root {
            --primary-green: #d2eedc;
            --dark-green: #15803d;
            --light-green: #f0f9f4;
            --accent-green: #22c55e;
            --dark-navy: #1e293b;
            --light-navy: #334155;
            --soft-white: #ffffff;
            --light-gray: #f8fafc;
            --border-gray: #e2e8f0;
            --text-dark: #1f2937;
            --text-light: #6b7280;
    --light-black: #333333;
    --sidebar-width: 250px;
}

/* Layout Structure */
.main-wrapper {
    display: flex;
    min-height: 100vh;
}



.content-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
}

.main-content {
    flex: 1;
    padding: 20px;
}




/* Header Styles */
.top-header {
    background-color: var(--light-green);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 3px solid var(--primary-red);
}

/* Search Section */
.search-section {
    display: flex;
    flex-direction: column;
}

.filter-title {
    color: var(--dark-black);
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

.search-wrapper {
    max-width: 500px;
}

.search-input {
    border: 2px solid #e0e0e0;
    border-radius: 8px 0 0 8px;
    padding: 10px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}


.search-btn {
    background-color: var(--primary-red);
    border: 2px solid var(--primary-red);
    color: white;
    padding: 10px 20px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    transform: translateY(-1px);
}

.filter-btn {
    border: 2px solid #6c757d;
    color: #6c757d;
    padding: 10px 15px;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
}

.filter-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.filter-card .card-body {
    padding: 20px;
}

/* Profile Section Updates */
.profile-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.welcome-text {
    color: var(--light-black);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

.profile-btn {
    background: none;
    border: none;
    color: var(--dark-black);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.profile-btn:focus {
    background-color: var(--primary-red);
    color: rgb(8, 1, 1);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(179, 0, 0, 0.3);
}

.profile-icon {
    font-size: 1.4rem;
    color: var(--primary-red);
    transition: color 0.3s ease;
}

.profile-btn:hover .profile-icon {
    color: white;
}

.profile-text {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Dropdown Menu Customization */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 8px;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-red);
    color: white;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

/* Custom Bootstrap Colors */
.bg-dark-black {
    background-color: var(--dark-black) !important;
}

.bg-primary-red {
    background-color: var(--primary-red) !important;
}

.text-primary-red {
    color: var(--primary-red) !important;
}



.nav-btn {
    background-color: var(--primary-red);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    margin-left: 10px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-btn:hover {
    background-color: var(--accent-red);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Cards */
.custom-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary-red);
    transition: transform 0.3s;
}

.custom-card:hover {
    transform: translateY(-5px);
}

.card-header-custom {
    background-color: var(--primary-red);
    color: white;
    font-weight: bold;
}

/* Stats Cards */
.stats-card {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-icon {
    font-size: 3rem;
    opacity: 0.8;
}

/* Tables */
.table-custom {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.table-custom thead {
    background-color: var(--primary-red);
    color: white;
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: rgba(179, 0, 0, 0.05);
}

/* Forms */
.form-label {
    font-weight: 600;
    color: var(--dark-black);
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(179, 0, 0, 0.25);
}

.form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(179, 0, 0, 0.25);
}

/* File Upload */
.file-upload-area {
    border: 2px dashed var(--primary-red);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    background-color: rgba(179, 0, 0, 0.05);
    transition: all 0.3s;
}

.file-upload-area:hover {
    background-color: rgba(179, 0, 0, 0.1);
}

.file-upload-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

/* Status Badges */
.status-pending {
    background-color: #ffc107;
    color: #000;
}

.status-approved {
    background-color: #28a745;
    color: #fff;
}

.status-archived {
    background-color: #6c757d;
    color: #fff;
}

.status-disposed {
    background-color: #dc3545;
    color: #fff;
}

/* Footer */
.footer {
    background-color: var(--dark-black);
    color: white;
    padding: 25px 0;
    border-top: 5px solid var(--primary-red);
    margin-top: auto;
}

.university-name {
    font-weight: 700;
    color: var(--primary-red);
}

/* Responsive Design */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .content-wrapper {
        margin-left: 0;
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    .top-header {
        padding: 15px 0;
        margin-top: 50px;
    }
    
    .search-section {
        margin-bottom: 15px;
    }
    
    .profile-section {
        justify-content: center;
    }
}
.badge {
    animation: none !important;  /* ← The rule we just added */
}




@media (max-width: 576px) {
    .stats-card {
        padding: 15px;
    }
    
    .profile-btn {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .profile-icon {
        font-size: 1.2rem;
    }
    
    .search-input {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    .search-btn,
    .filter-btn {
        padding: 8px 12px;
    }
    
    .filter-title {
        font-size: 1rem;
    }
    
    .welcome-text {
        font-size: 0.9rem;
        text-align: center;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

/* Sidebar Scrollbar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: var(--dark-black);
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 3px;
}


.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Loading Spinner */
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-red);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Overlay for mobile sidebar */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.sidebar-overlay.show {
    display: block;
}

 
        body {
            background-color: #f8f9fa;
        }

        /* MAIN HEADER - GREEN */
        .h3 {
            color: var(--primary-green) !important;
        }

        /* GREEN BUTTON */
        .btn-success {
            background-color: var(--primary-green);
            border-color: var(--primary-green);
        }

        .btn-success:hover {
            background-color: var(--dark-green);
            border-color: var(--dark-green);
        }

        /* CUSTOM CARD */
        .custom-card {
            border: none;
            border-radius: 0.5rem;
            box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
            background: white;
        }

        /* GREEN CARD HEADER */
        .card-header-custom {
            background: var(--primary-green);
            color: white;
            border: none;
            border-radius: 0.5rem 0.5rem 0 0 !important;
            padding: 1rem 1.5rem;
            font-weight: 600;
        }

        /* GREEN TABLE HEADER */
        .table thead {
            background-color: var(--primary-green);
            color: white;
        }

        .table thead th {
            border: none;
            font-weight: 600;
            font-size: 0.875rem;
            padding: 1rem 0.75rem;
            vertical-align: middle;
        }

        .table tbody tr {
            border-bottom: 1px solid #dee2e6;
        }

        .table tbody tr:hover {
            background-color: #f8f9fa;
        }

        .table tbody td {
            padding: 0.75rem;
            vertical-align: middle;
        }

        /* SEARCH BUTTON - GREEN */
        .btn-primary-red {
            background-color: var(--primary-green);
            border-color: var(--primary-green);
            color: white;
        }

        .btn-primary-red:hover {
            background-color: var(--dark-green);
            border-color: var(--dark-green);
            color: white;
        }

        /* GREEN PAGINATION */
        .pagination .page-item.active .page-link {
            background-color: var(--primary-green);
            border-color: var(--primary-green);
        }

        .pagination .page-link {
            color: var(--primary-green);
        }

        .pagination .page-link:hover {
            color: var(--dark-green);
            background-color: var(--light-green);
        }

        /* GREEN FOCUS STATES */
        .form-control:focus,
        .form-select:focus {
            border-color: var(--primary-green);
            box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
        }

        .form-label {
            font-weight: 500;
            color: #495057;
            margin-bottom: 0.5rem;
        }

        /* FILE UPLOAD AREA */
        .file-upload-area-enhanced {
            border: 2px dashed #dc3545;
            border-radius: 0.5rem;
            padding: 2rem;
            text-align: center;
            background-color: #fff5f5;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .file-upload-area-enhanced:hover {
            border-color: #bd2130;
            background-color: #ffe5e5;
        }

        .file-upload-icon-large i {
            font-size: 3rem;
            color: #dc3545;
        }

        .file-icon-large {
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.5rem;
        }

        /* BADGE COLORS */
        .badge {
            font-weight: 500;
            padding: 0.35em 0.65em;
            border-radius: 0.25rem;
        }

        /* BUTTON OUTLINE - GREEN */
        .btn-outline-primary {
            color: var(--primary-green);
            border-color: var(--primary-green);
        }

        .btn-outline-primary:hover {
            background-color: var(--primary-green);
            border-color: var(--primary-green);
            color: white;
        }

        .btn-outline-success {
            color: #198754;
            border-color: #198754;
        }

        .btn-outline-success:hover {
            background-color: #198754;
            border-color: #198754;
            color: white;
        }

        .btn-outline-warning {
            color: #ffc107;
            border-color: #ffc107;
        }

        .btn-outline-warning:hover {
            background-color: #ffc107;
            border-color: #ffc107;
            color: #000;
        }

        /* MODAL STYLING */
        .modal-header {
            border-bottom: none;
        }

        .modal-footer {
            border-top: none;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .table {
                font-size: 0.875rem;
            }
            
            .btn-group .btn {
                padding: 0.25rem 0.5rem;
            }
        }
