:root {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: #17211b;
    background: #f3f7f4;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f3f7f4;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-card {
    width: min(100%, 420px);
    padding: 32px;
    border: 1px solid #dce7df;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(23, 33, 27, 0.08);
}

.login-card h1 {
    margin: 0;
}

.subtitle {
    margin: 8px 0 24px;
    color: #637069;
}

label {
    display: block;
    margin: 16px 0 6px;
    font-weight: 650;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #b9c9bf;
    border-radius: 10px;
    background: #ffffff;
}

button {
    border: 0;
    border-radius: 9px;
    padding: 9px 13px;
    background: #17683d;
    color: #ffffff;
    font-weight: 700;
}

.login-card button {
    width: 100%;
    margin-top: 22px;
    padding: 12px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 30px;
    background: #ffffff;
    border-bottom: 1px solid #dce7df;
}

.topbar h1 {
    margin: 0;
    font-size: 24px;
}

.topbar p {
    margin: 5px 0 0;
    color: #637069;
}

.content {
    padding: 28px;
}

.panel {
    border: 1px solid #dce7df;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}

.table-wrap {
    overflow-x: auto;
}

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

th,
td {
    padding: 13px 15px;
    border-bottom: 1px solid #e6ede8;
    text-align: left;
    vertical-align: top;
}

th {
    background: #eef5f0;
    color: #33433a;
    font-size: 13px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.actions form {
    margin: 0;
}

.button-success {
    background: #17683d;
}

.button-danger {
    background: #a52c31;
}

.button-secondary {
    background: #5b665f;
}

.status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: #edf2ee;
    font-size: 13px;
    font-weight: 700;
}

.notice {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 9px;
}

.notice-success {
    background: #e4f5e9;
    color: #165c34;
}

.notice-error {
    background: #fde8e8;
    color: #8f2025;
}

.empty {
    padding: 30px;
    text-align: center;
    color: #637069;
}

@media (max-width: 720px) {
    .topbar {
        align-items: flex-start;
        padding: 18px;
    }

    .content {
        padding: 14px;
    }

    th,
    td {
        padding: 10px;
    }
}
