/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
}

/* Header */
 header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    background-color: #004080;
    color: #fff;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

header .logo img {
    width: 0px;
    height: 0px;
}
.logo-container {
    display: flex;
    align-items: center;
  }
  
  .logo {
    height: 50px;
    margin-right: 10px;
  }
  
  .logo-text {
    font-size: 20px;
    font-weight: bold;
    color: white;
  }
  
header .admin-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

header .admin-info button {
    padding: 5px 10px;
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

header .admin-info button:hover {
    background-color: #c0392b;
} 

/* Dashboard Layout */
 .dashboard-container {
    display: flex;
    flex-wrap: wrap;
}

.sidebar {
    width: calc(100%-200px);
    background-color: #6f7377;
    font-weight: bold;
    color: #fff;
    padding: 1rem;
    min-height: 100vh;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin: 1rem 0;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

.main-content {
    flex: 1;
    padding: 2rem;
} 

/* Quick Stats */
 .quick-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.stat-card {
    flex: 1 1 300px;
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-card h3 {
    margin-bottom: 1rem;
    color: #004080;
}

/* Action Panel */
.action-panel {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-card {
    flex: 1 1 300px;
    text-align: center;
}

.action-card button {
    padding: 10px 15px;
    background-color: #27ae60;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.action-card button:hover {
    background-color: #229954;
} 

/* Navbar Styles */
 .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #004080;
    color: white;
    padding: 10px 20px;
}

.navbar .logo img {
    height: 50px;
    margin-right: 10px;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.navbar .nav-links li {
    display: inline;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar .logout-button {
    background-color: #e74c3c;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
} 

/* Footer Styles */
 .footer {
    text-align: center;
    background-color: #004080;
    color: white;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.footer a {
    color: #1abc9c;
    text-decoration: none;
    margin: 0 5px;
}

.footer a:hover {
    text-decoration: underline;
} 

/* Users Table */
 .users-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.users-table th, .users-table td {
    border: 1px solid #ddd;
    padding: 10px;
    /* text-align: center; */
}

.users-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.users-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.users-table .btn {
    padding: 5px 10px;
    text-decoration: none;
    border: none;
    background-color: #007bff;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.users-table .btn-danger {
    background-color: #dc3545;
} 

/* Search and Export Options */
 .search-form {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.search-form input {
    flex: 2;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #830d0d;
    border-radius: 4px;
    width: 300px;
}

.search-form button {
    padding: 8px 12px;
    font-size: 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.export-options {
    margin-bottom: 15px;
}

.export-options .btn {
    text-decoration: none;
    padding: 8px 12px;
    margin-right: 10px;
    background-color: #007bff;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}


.ralign{
    text-align: right;
}
.lalign{
    text-align: left;
}
.calign{
    text-align: center;
}
.flex {
    font: 14px Arial;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .flex > div {
    flex: 1 1 auto;
    width: 33.3%;
    box-sizing:border-box;
    border:0.5px solid black;
    text-align:center;
    font-weight: bold;
    line-height:20px;
    padding:30px;
  }
  