/*

Admin CSS
*/
html{
    font-size: 14px;
}
.admin-login-container{
    display: flex;  
    flex-direction: column;  /* ✅ Ensures vertical stacking */
    justify-content: center; /* Centers vertically */
    align-items: center; /* Centers horizontally */
    height: 100vh; /* Full screen height */
    width: 100%;
    background-color: white;
    margin: 45px;
    font-size: 14px;
  }
  
  .admin-login-box{
    background: rgb(240, 183, 118);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
  }
  
  /* Input fields */
  .admin-input-field {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .admin-login-button{
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    background-color: darkgray;
  }
  .admin-text-orange{
    text-decoration: double;
    color: rgb(255, 115, 0);
  }

 /* ✅ Admin Layout Structure */
.admin-dashboard {
    display: flex;
    min-height: 100vh;
   min-width: 100vw;
    font-family: Arial, sans-serif;
    
}

/* ✅ Sidebar Styling */
.admin-sidebar {
    width: 250px;
    background: #e79c66;
    color: white;
    padding: 15px;
    transition: width 0.3s ease;
    gap:10px;
}

.admin-sidebar.closed {
    width: 70px;  /* ✅ Keep a visible width */
}
.admin-sidebar.closed .menu-list {
    display: none; /* Hide menu when closed */
}
.admin-sidebar .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}
.admin-sidebar .toggle-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 22px;
    padding: 5px;
}

/* ✅ Ensure toggle button is always accessible */
.sidebar-toggle-overlay {
    position: fixed;
    left: 10px;
    top: 10px;
    background: #e79c66;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
}
.sidebar-toggle-overlay:hover {
    background: #e17427;
}
.menu-list {
    list-style: none;
    padding: 0;
}
.menu-list li {
    margin: 10px 0;
}
.menu-list a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 8px;
    border-radius: 5px;
    transition: background 0.3s ease;
}
.menu-list a:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ✅ Reports Dropdown */
.dropdown-btn {
    background: none;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    margin-left: 70px;
}
.submenu {
    list-style: none;
    padding-left: 15px;
}
.submenu li a {
    font-size: 20px;
    padding: 6px;
}

/* ✅ Main Content */
.admin-content {
    flex-grow: 1;
    background: #f4f4f4;
    display: flex;
    flex-direction: column;
}

/* ✅ Header */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #333;
    color: white;
    padding: 15px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-right a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 5px;
}
.logout-btn {
    background: #e79c66;
    color: white;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 5px;
}
.logout-btn:hover {
    background: #c0962b;
}

/* ✅ Page Content */
main {
    padding: 5px;
    
}
.admin-title{
    color: rgb(255, 98, 0) !important;
}

/* ✅ Footer Styling */
.admin-footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}
.admin-help{
    color:white;
}
/* ✅ Sidebar Toggle + Admin Title (Now Together) */
.header-left {
    display: flex;
    align-items: center; /* Ensures vertical alignment */
    gap: 15px; /* Adds space between icon and title */
}
/* ✅ Active Menu Item */
.menu-list a.active-menu {
    background: rgba(255, 255, 255, 0.3); /* ✅ Highlights the active menu */
    font-weight: bold;
    border-left: 10px solid rgb(255, 94, 0); /* ✅ Adds an indicator */
}
.admin-page-title{
    font-style: normal;
    font-weight: bold;
    text-decoration: underline;
}
.admin-new-contact{
    color: #e17427;
}
.sortable-header {
    cursor: pointer; /* Shows pointer cursor */
    user-select: none; /* Prevents text selection */
    padding-right: 10px;
    display: flex;
    align-items: center;
    gap: 5px; /* Adds spacing between text and icon */
  }
  
  .sortable-header:hover {
    background-color: rgba(0, 0, 0, 0.05); /* Light hover effect */
  }
  
  .default-sort-icon {
    opacity: 0.5; /* Makes the default sort icon subtle */
  }

  td {
     text-align: center; 
     font-size: 12px;
    }
th{
    text-align: center; 
    font-size: 10px;
}
.admin-menu{
    margin-top: 25px;
}
.nav-link-admin{
    margin-bottom: 10px;
}

/* Highlight styles for year input */
.highlight-input {
   border: 2px solid #f98136e5 !important;
   color: #1e1d1c !important;
  border-radius: 2px;
}

/* Tabs highlight styles */
.highlight-tabs .nav-link {
  color: #6c757d; /* Default tab color */
}

.highlight-tabs .nav-link.active {
  color: #fff !important;
  background-color: #f2f0d2 !important;
  border-radius: 4px;
}

/* Active tab title */
.active-tab {
  font-weight: bold;
  color: #eb8934 !important;
}
