@font-face {
  font-family: Aptos;
  src: url(./fonts/Aptos.ttf);
}
body {
    background: #f8f9fa;
    /*font-family: 'Segoe UI', Arial, sans-serif;*/
    font-family: 'Aptos', Arial, sans-serif;
}
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    background: linear-gradient(45deg, #278d27 60%, #f97d09 100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}
.sidebar.collapsed {
    transform: translateX(-100%);
}
.sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid #495057;
    text-align: center;
}
.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}
.sidebar-nav .nav-item {
    border-bottom: 1px solid #495057;
}
.sidebar-nav .nav-link {
    color: #fff;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.sidebar-nav .nav-link:hover {
    background-color: #495057;
    color: #fff;
}
.sidebar-nav .nav-link.active {
    color: #fff;
    font-weight: bold;
}
.sidebar-nav .nav-link i {
    margin-right: 0.5rem;
    width: 20px;
}
.main-content {
    margin-left: 250px;
    transition: margin-left 0.3s ease;
    min-height: 100vh;
}
.main-content.sidebar-collapsed {
    margin-left: 0;
}
.top-bar {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #6c757d;
    cursor: pointer;
}
.sidebar-toggle:hover {
    color: #495057;
}
.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;
    }
}
.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: 30px 30px 20px 30px;
}
.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: 30px 30px 20px 30px;
}
.directory-container .stats-container {
    width: 14%;
}
.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: 20px;
}
.card-header {
    border-radius: 14px 14px 0 0 !important;
    font-weight: 600;
    font-size: 1.1rem;
}
.bg-primary, .btn-primary {
    background: #278d27 !important;
    border-color: #278d27 !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: background 0.2s, color 0.2s;
}
.btn-primary:hover, .btn-info:hover {
    background: #f97d09 !important;
    color: #fff !important;
    border-color: #f97d09 !important;
}
.btn-outline-primary {
    color: #278d27;
    border-color: #278d27;
    background: #fff;
    border-radius: 8px;
    font-weight: 500;
}
.btn-outline-primary:hover {
    background: #278d27;
    color: #fff;
}
.btn-outline-info {
    color: #f97d09;
    border-color: #f97d09;
    background: #fff;
    border-radius: 8px;
    font-weight: 500;
}
.btn-outline-info:hover {
    background: #f97d09;
    color: #fff;
}
.table th {
    background: #278d27;
    color: #fff;
    border: none;
}
.table td, .table th {
    /*border-radius: 6px;*/
    vertical-align: middle;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background: #f6fdf6;
}
.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;
}
.form-label {
    font-weight: 500;
    color: #278d27;
}
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-thumb {
    background: #278d27;
}
::-webkit-scrollbar-track {
    background: #f6fdf6;
}