body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f9;
}

/* LOGIN */
.login-body {
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

.login-box {
    background: #fff;
    padding: 30px;
    width: 320px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 20px;
}

.login-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-box button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.error {
    color: red;
    text-align: center;
}


.top-header {
    background:#1e2a38;
    color:#fff;
    padding:15px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logout-btn {
    background:#dc3545;
    color:#fff;
    padding:8px 14px;
    text-decoration:none;
    border-radius:5px;
}

.main-content {
    padding:30px;
}

.dashboard-cards {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
    margin-bottom:30px;
}

.dash-card {
    background:#fff;
    padding:20px;
    border-radius:10px;
    text-align:center;
    box-shadow:0 0 10px rgba(0,0,0,0.08);
    text-decoration:none;
    color:#000;
}

.dash-card img {
    width:60px;
}

.count {
    font-size:30px;
    font-weight:bold;
    color:#007bff;
}

.data-table {
    width:100%;
    border-collapse:collapse;
    background:#fff;
}

.data-table th, .data-table td {
    padding:12px;
    border-bottom:1px solid #ddd;
}

.footer {
    background:#1e2a38;
    color:#ccc;
    text-align:center;
    padding:12px;
}

.btn {
    display:inline-block;
    margin-bottom:15px;
    padding:10px 15px;
    background:#007bff;
    color:#fff;
    text-decoration:none;
    border-radius:5px;
}

.form-box {
    max-width:500px;
    background:#fff;
    padding:20px;
    border-radius:8px;
}

.form-box input,
.form-box textarea,
.form-box select {
    width:100%;
    padding:10px;
    margin-bottom:12px;
    border:1px solid #ccc;
    border-radius:5px;
}

.form-box button {
    background:#28a745;
    color:#fff;
    padding:10px;
    border:none;
    border-radius:5px;
    cursor:pointer;
}