/* Professional Theme based on your 'counts.html' */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
    color: #333;
    margin: 0;
    padding: 20px;
}

h1, h2, h3 { margin-top: 0; color: #2c3e50; }
h1 { font-size: 1.8rem; margin-bottom: 20px; }
h2 { font-size: 1.2rem; color: #555; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 15px; }

/* Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Cards */
.card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 20px;
    border: 1px solid #e1e4e8;
}

/* Header Area */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

/* Buttons */
button, .btn {
    cursor: pointer;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s;
    font-family: inherit;
}

.btn-primary { background-color: #007bff; color: white; }
.btn-primary:hover { background-color: #0056b3; }

.btn-danger { background-color: #dc3545; color: white; }
.btn-danger:hover { background-color: #a71d2a; }

.btn-outline { background: transparent; border: 1px solid #007bff; color: #007bff; }
.btn-outline:hover { background: #007bff; color: white; }

/* Form Inputs */
input[type="text"], input[type="password"], select {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px 0;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
}

/* Tables */
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th { text-align: left; color: #666; font-size: 0.85rem; padding: 8px; border-bottom: 2px solid #eee; }
td { padding: 8px; border-bottom: 1px solid #eee; font-size: 0.95rem; }
tr:last-child td { border-bottom: none; }

/* Status Text */
.text-muted { color: #6c757d; font-size: 0.9rem; }
.text-danger { color: #dc3545; font-weight: bold; }
.text-success { color: #28a745; font-weight: bold; }

/* Login Box Specific */
.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e9ecef;
}
.login-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}