/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7fa;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header */
h2 {
    text-align: center;
    margin-top: 30px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

table, th, td {
    border: none;
}

th, td {
    padding: 16px;
    text-align: center;
}

th {
    background-color: #f1f1f1;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
}

td {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

/* Button Styles */
.view-btn, .delete-btn, .status-btn {
    padding: 10px 16px;
    border: none;
    cursor: pointer;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.view-btn {
    background-color: #28a745;
}

.delete-btn {
    background-color: #e74c3c;
}

.status-btn {
    background-color: #f39c12;
}

.view-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.delete-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.status-btn:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
}

/* Status Dropdown */
.status-dropdown {
    padding: 10px 16px;
    cursor: pointer;
    width: 150px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.status-dropdown:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Pagination */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination a {
    margin: 0 8px;
    padding: 10px 18px;
    background-color: #f2f2f2;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination a:hover {
    background-color: #ddd;
    color: #007bff;
}

.pagination a.active {
    background-color: #007bff;
    color: #fff;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    padding-top: 60px;
    transition: opacity 0.3s ease-in-out;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 80%;
    max-width: 700px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

.close:hover,
.close:focus {
    color: #333;
    text-decoration: none;
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-details div {
    font-size: 16px;
    color: #555;
}

/* Statistics Section */
.statistics {
    margin-top: 30px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.statistics div {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}
.top-left-button {
    margin-bottom: 20px;
}

.create-admin-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.create-admin-btn:hover {
    background-color: #218838;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    table, .pagination a {
        font-size: 12px;
    }

    .view-btn, .delete-btn, .status-btn {
        padding: 8px 14px;
    }
}

.down-left-button{
    padding-top: 10px;
    margin-bottom: 20px;
}