body {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #141414;
    color: white;
}

/* Login Styling */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/HomePage/Header/SAW.jpeg');
    background-size: cover;
}

.login-container {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 60px;
    border-radius: 4px;
    width: 100%;
    max-width: 450px;
}

.login-logo {
    height: 45px;
    margin-bottom: 20px;
}

.login-form h2 {
    margin-bottom: 28px;
    font-size: 32px;
}

.error {
    background-color: #e87c03;
    color: white;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 16px;
}

.login-form input {
    width: 100%;
    padding: 16px;
    background-color: #333;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
}

.login-btn {
    width: 100%;
    padding: 16px;
    background-color: #e50914;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 24px;
}

/* Dashboard Styling */
.admin-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 4%;
    background-color: #000;
}

.nav-logo {
    height: 25px;
}

.nav-links span {
    margin-right: 20px;
}

.logout-btn {
    color: white;
    text-decoration: none;
    background-color: #e50914;
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 14px;
}

.dashboard-container {
    padding: 40px 4%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background-color: #181818;
    padding: 20px;
    border-radius: 4px;
    border-left: 4px solid #333;
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
}

.stat-card p {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

.stat-card.highlighted {
    border-left-color: #e50914;
}

.data-section {
    background-color: #181818;
    padding: 20px;
    border-radius: 4px;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

th,
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

th {
    color: #999;
    text-transform: uppercase;
    font-size: 12px;
}

.badge {
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
}

.badge-success {
    background-color: #2e7d32;
}

.badge-danger {
    background-color: #c62828;
}

.badge-warning {
    background-color: #f57c00;
}

.badge-info {
    background-color: #0288d1;
}

.action-btns {
    display: flex;
    gap: 8px;
}

.btn-action {
    padding: 6px 10px;
    border-radius: 4px;
    border: none;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
    color: white;
}

.btn-valid {
    background-color: #2e7d32;
}

.btn-invalid {
    background-color: #c62828;
}

.btn-note {
    background-color: #333;
    border: 1px solid #444;
}

.btn-action:hover {
    opacity: 0.8;
}

.status-valid {
    border-left: 4px solid #2e7d32 !important;
}

.status-invalid {
    border-left: 4px solid #c62828 !important;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #181818;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
}

.modal-body textarea {
    width: 100%;
    padding: 12px;
    background-color: #222;
    border: 1px solid #444;
    border-radius: 4px;
    color: white;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.btn-secondary {
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid #555;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary {
    padding: 10px 20px;
    background-color: #e50914;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

.view-link {
    color: #e50914;
    text-decoration: none;
    font-weight: bold;
}

.view-link:hover {
    text-decoration: underline;
}