* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 24px;
    background: #5093d6;
    color: #1f2933;
    font-family: Arial, Helvetica, sans-serif;
}

div {
    width: 100%;
    max-width: 420px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.field-group {
    width: 100%;
    max-width: none;
}

.field-error {
    display: block;
    min-height: 0;
    margin-top: 6px;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 700;
}

.form-status {
    display: none;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.form-status--info,
.form-status--success,
.form-status--error {
    display: block;
}

.form-status--info {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.form-status--success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.form-status--error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

input,
select {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #bcccdc;
    border-radius: 6px;
    background: #ffffff;
    color: #1f2933;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder {
    color: #829ab1;
}

input:focus,
select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

input.input-error,
select.input-error {
    border-color: #dc2626;
    background: #fff7f7;
}

input.input-error:focus,
select.input-error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.16);
}

h5 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #334e68;
    font-size: 15px;
    font-weight: 700;
}

select {
    cursor: pointer;
}

a[href="dashboard.html"] {
    width: 100%;
    max-width: 420px;
    text-decoration: none;
}

a[href="dashboard.html"] button {
    width: 100%;
    min-height: 44px;
    padding: 12px 20px;
    border: 1px solid #1d4ed8;
    border-radius: 6px;
    background: #2563eb;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a[href="dashboard.html"] button:hover {
    background: #1d4ed8;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
    transform: translateY(-1px);
}

a[href="dashboard.html"] button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    form {
        padding: 22px;
    }
}

.dashboard-page {
    justify-content: flex-start;
    align-items: center;
    padding-top: 42px;
    padding-bottom: 42px;
}

.dashboard {
    width: 100%;
    max-width: 1040px;
    padding: 28px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.dashboard__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.dashboard__header div {
    max-width: none;
}

.dashboard__header h1 {
    color: #102a43;
    font-size: 32px;
    line-height: 1.2;
}

.dashboard__header p {
    margin-top: 6px;
    color: #52606d;
    font-size: 15px;
}

.dashboard__header a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 6px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.dashboard__summary {
    margin-bottom: 18px;
}

.summary-card {
    width: 100%;
    max-width: 220px;
    padding: 18px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
}

.summary-card span {
    display: block;
    color: #52606d;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.summary-card strong {
    display: block;
    margin-top: 8px;
    color: #102a43;
    font-size: 34px;
    line-height: 1;
}

.table-panel {
    overflow-x: auto;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 16px;
    border-bottom: 1px solid #e4e7eb;
    text-align: left;
    font-size: 15px;
}

th {
    background: #f8fafc;
    color: #334e68;
    font-size: 13px;
    text-transform: uppercase;
}

td {
    color: #243b53;
}

tbody tr:last-child td {
    border-bottom: 0;
}

.topic-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 6px;
    background: #e0f2fe;
    color: #075985;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 640px) {
    .dashboard {
        padding: 20px;
    }

    .dashboard__header {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard__header h1 {
        font-size: 26px;
    }

    .dashboard__header a,
    .summary-card {
        max-width: none;
        width: 100%;
    }
}
 .page-brand h1 {
        font-size: 24px;
    }

    form {
        padding: 22px;
    }
    .page-brand img {
        width: min(300px, 88vw);
        padding: 6px;
    }
.dash-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dash-brand h1 {
    font-size: 24px;
    text-align: center;
    margin: 0 auto;
}

.dash-brand img {
    width: min(300px, 88vw);
    padding: 6px;
    display: block;
    margin: 0 auto;
}