@font-face {
  font-family: Aptos;
  src: url(./fonts/Aptos.ttf);
}
body {
    background: #f8f9fa;
    font-family: 'Aptos', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}
.content-wrapper {
    padding: 1.5rem;
    background: #f8f9fa;
    min-height: calc(100vh - 60px);
}
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    background: linear-gradient(135deg, #278d27 0%, #278d27 60%, #f97d09 100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}
.sidebar.collapsed {
    transform: translateX(-100%);
}
.sidebar-header {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    background: rgba(0,0,0,0.1);
}
.sidebar-header img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.sidebar-header h6 {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.95;
}
.sidebar-nav {
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
}
.sidebar-nav .nav-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-nav .nav-link {
    color: #fff;
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}
.sidebar-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #fff;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}
.sidebar-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    padding-left: 1.5rem;
}
.sidebar-nav .nav-link:hover::before {
    transform: scaleY(1);
}
.sidebar-nav .nav-link.active {
    color: #fff;
    font-weight: 600;
    background-color: rgba(255,255,255,0.2);
    padding-left: 1.5rem;
}
.sidebar-nav .nav-link.active::before {
    transform: scaleY(1);
}
.sidebar-nav .nav-link i {
    margin-right: 0.75rem;
    width: 20px;
    font-size: 1.1rem;
}
.sidebar-nav .collapse .nav-link {
    padding-left: 2.5rem;
    font-size: 0.9rem;
}
.main-content {
    margin-left: 250px;
    transition: margin-left 0.3s ease;
    min-height: 100vh;
    background: #f8f9fa;
}
.main-content.sidebar-collapsed {
    margin-left: 0;
}
.top-bar {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
    display: flex;
    color: #333;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.top-bar h5 {
    color: #278d27;
    font-weight: 600;
    margin: 0;
}
.sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #278d27;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s;
}
.sidebar-toggle:hover {
    color: #f97d09;
    background: #f0f0f0;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.dropdown-toggle::after {
    display: none;
}
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
    .content-wrapper {
        padding: 1rem;
    }
}
.navbar {
    background: linear-gradient(90deg, #278d27 60%, #f97d09 100%);
    border-bottom: 3px solid #f97d09;
}
.navbar .navbar-brand {
    color: #fff !important;
    font-weight: bold;
    letter-spacing: 1px;
}
.navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-right: 10px;
    transition: color 0.2s;
}
.navbar .nav-link.active, .navbar .nav-link:hover {
    color: #f97d09 !important;
}

.container, .formcontainer {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(39,141,39,0.08), 0 1.5px 6px rgba(249,125,9,0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}
.directory-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(39, 141, 39, 0.08), 0 1.5px 6px rgba(249, 125, 9, 0.08);
    padding: 2rem;
    width: 98%;
    margin: 1.5rem auto;
}
.directory-container .stats-container {
    width: 14%;
    margin-bottom: 1rem;
}
.stats-container {
    margin-bottom: 1rem;
}
.stats-card {
    background: linear-gradient(135deg, #278d27 0%, #278d27 60%, #f97d09 100%);
    border-radius: 12px;
    padding: 1.25rem;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 12px rgba(39,141,39,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1rem;
}
.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(39,141,39,0.3);
}
.stats-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0 0 0;
    color: #fff;
}
.stats-card .form-select {
    margin-top: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.95);
}
.formcontainer {
    max-width: 1000px;
}

.card {
    border-radius: 14px;
    border: none;
    box-shadow: 0 2px 12px rgba(39,141,39,0.07), 0 1.5px 6px rgba(249,125,9,0.07);
    margin-bottom: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(39,141,39,0.12), 0 2px 8px rgba(249,125,9,0.12);
}
.card-header {
    border-radius: 14px 14px 0 0 !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid rgba(0,0,0,0.05);
}
.card-body {
    padding: 1.5rem;
}
.bg-primary, .btn-primary {
    background: #278d27 !important;
    border-color: #278d27 !important;
    color: #fff !important;
}
.bg-info, .btn-info {
    background: #f97d09 !important;
    border-color: #f97d09 !important;
    color: #fff !important;
}
.bg-success {
    background: #278d27 !important;
    border-color: #278d27 !important;
}
.btn-primary, .btn-info {
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    padding: 0.625rem 1.25rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.btn-primary:hover, .btn-info:hover {
    background: #f97d09 !important;
    color: #fff !important;
    border-color: #f97d09 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(249,125,9,0.3);
}
.btn-primary:active, .btn-info:active {
    transform: translateY(0);
}
.btn-outline-primary {
    color: #278d27;
    border-color: #278d27;
    background: #fff;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-outline-primary:hover {
    background: #278d27;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(39,141,39,0.3);
}
.btn-outline-info {
    color: #f97d09;
    border-color: #f97d09;
    background: #fff;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-outline-info:hover {
    background: #f97d09;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(249,125,9,0.3);
}
.btn-success {
    background: #278d27 !important;
    border-color: #278d27 !important;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-success:hover {
    background: #1f6f1f !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(39,141,39,0.3);
}
.btn-warning {
    border-radius: 8px;
    transition: all 0.2s;
}
.btn-warning:hover {
    transform: translateY(-1px);
}
.table {
    border-radius: 8px;
    overflow: hidden;
}
.table th {
    background: linear-gradient(135deg, #278d27 0%, #278d27 60%, #f97d09 100%);
    color: #fff;
    border: none;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.table td {
    padding: 0.875rem 1rem;
    vertical-align: middle;
    border-top: 1px solid #e9ecef;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background: #f6fdf6;
}
.table-striped > tbody > tr:hover {
    background: #e8f5e8;
    transition: background 0.2s;
}
.table-hover > tbody > tr:hover {
    background: #e8f5e8;
}
.alert {
    border-radius: 10px;
    padding: 1rem 1.25rem;
    border-left: 4px solid;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.alert-success {
    background: #eafbe6;
    color: #278d27;
    border-color: #278d27;
}
.alert-info {
    background: #fff4e6;
    color: #f97d09;
    border-color: #f97d09;
}
.alert-danger {
    background: #fff0f0;
    color: #d32f2f;
    border-color: #d32f2f;
}
.alert-primary {
    background: #e3f2fd;
    color: #1976d2;
    border-color: #1976d2;
}
.alert-secondary {
    background: #f5f5f5;
    color: #616161;
    border-color: #616161;
}
.form-label {
    font-weight: 600;
    color: #278d27;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.625rem 0.875rem;
    transition: all 0.2s;
}
.form-control:focus, .form-select:focus {
    border-color: #f97d09 !important;
    box-shadow: 0 0 0 0.2rem rgba(249,125,9,0.15) !important;
    outline: none;
}
input:focus, select:focus, textarea:focus {
    border-color: #f97d09 !important;
    box-shadow: 0 0 0 0.2rem rgba(249,125,9,0.15) !important;
}
.starspan {
    color: #f97d09;
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-thumb {
    background: #278d27;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1f6f1f;
}
::-webkit-scrollbar-track {
    background: #f6fdf6;
    border-radius: 5px;
}
.small-dot {
    height: 8px;
    width: 8px;
    background-color: #333;
    border-radius: 50%;
    display: inline-block;
}
.small-dot.green {
    background-color: #278d27; 
}
.small-dot.grey {
    background-color: #afafaf; 
}
.small-dot.red {
    background-color: #ff0000;
}
.pagination {
    margin-top: 1.5rem;
}
.page-link {
    color: #278d27;
    border-color: #dee2e6;
    border-radius: 6px;
    margin: 0 2px;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s;
}
.page-link:hover {
    color: #fff;
    background: #278d27;
    border-color: #278d27;
    transform: translateY(-1px);
}
.page-item.active .page-link {
    background: linear-gradient(135deg, #278d27 0%, #278d27 60%, #f97d09 100%);
    border-color: #278d27;
    color: #fff;
}
.page-item.disabled .page-link {
    color: #6c757d;
    background: #f8f9fa;
    border-color: #dee2e6;
    cursor: not-allowed;
}
.list-group-item {
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: 1px solid #e9ecef;
    transition: all 0.2s;
}
.list-group-item:hover {
    background: #f8f9fa;
    border-color: #278d27;
}
.badge {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
}
.text-bg-success {
    background: #278d27 !important;
    color: #fff !important;
}
h1, h2, h3, h4, h5, h6 {
    color: #278d27;
    font-weight: 600;
}
h5 {
    margin-bottom: 1rem;
}
.text-primary {
    color: #278d27 !important;
}
.text-info {
    color: #f97d09 !important;
}
.form-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #278d27;
}
.form-section h5 {
    margin-bottom: 1.25rem;
    color: #278d27;
}
.filter-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}
@media (max-width: 768px) {
    .stats-card {
        margin-bottom: 1rem;
    }
    .stats-card h2 {
        font-size: 1.5rem;
    }
    .directory-container {
        padding: 1rem;
        margin: 0px auto 1.5rem auto;
    }
    .form-section {
        padding: 1rem;
    }
    .card-body {
        padding: 1rem;
    }
    .table-responsive {
        font-size: 0.875rem;
    }
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}
.shadow-lg {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}
.nav-pills .nav-link {
    color: #278d27;
}

.nav-pills .nav-link.active {
    background-color: #278d27;
}
.text-default {
    color: #333 !important;
}
footer {
    padding: 15px 0px;
    text-align: center;
}