/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}*/


body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #222;
}

.admin-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: #1f2937;
    color: #fff;
    padding: 24px 16px;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.topbar {
    background: #fff;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-content {
    padding: 24px;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .nav-list li {
        margin-bottom: 10px;
    }

    .nav-list a {
        color: #fff;
        text-decoration: none;
    }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card,
.panel {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

    .table th,
    .table td {
        padding: 12px;
        border-bottom: 1px solid #e5e7eb;
        text-align: left;
    }

.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #eef2ff;
}

.login-card {
    width: 380px;
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 16px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    box-sizing: border-box;
}

.btn-primary,
button {
    padding: 10px 16px;
    border: none;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
}

.text-danger {
    color: #dc2626;
}

.validation-summary-errors {
    color: #dc2626;
    margin-bottom: 12px;
}


.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: 760px;
}

.form-check {
    margin-bottom: 16px;
}

.details-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    row-gap: 12px;
    column-gap: 16px;
}

    .details-grid dt {
        font-weight: 700;
    }

    .details-grid dd {
        margin: 0;
    }

.logout-form {
    display: inline-block;
    margin-left: 12px;
}

.alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-weight: 600;
}

.alert-success {
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.pagination-wrap {
    margin-top: 20px;
}

.pagination {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

    .pagination li a,
    .pagination li span {
        display: inline-block;
        padding: 8px 12px;
        border-radius: 8px;
        background: #fff;
        border: 1px solid #d1d5db;
        text-decoration: none;
        color: #111827;
    }

    .pagination li.active span {
        background: #2563eb;
        color: #fff;
        border-color: #2563eb;
    }

.filter-form {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.filter-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    border-radius: 8px;
    text-decoration: none;
}