* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f8fafc;
    color: #0f172a;
    margin: 0;
}

a {
    color: #0f766e;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}

.admin-shell {
    min-height: 100vh;
}

.admin-header {
    background: #0f172a;
    color: #fff;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-header a {
    color: #5eead4;
}

.admin-main {
    padding: 30px;
}

.card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
    margin-bottom: 20px;
}

.form-card {
    max-width: 780px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 7px;
}

input,
select {
    width: 100%;
    padding: 12px;
    margin: 0 0 18px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.btn {
    display: inline-block;
    padding: 11px 16px;
    border-radius: 8px;
    border: 0;
    background: #14b8a6;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
    background: #0f766e;
}

.btn-muted {
    background: #334155;
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    color: #fff;
}

.alert-success {
    background: #16a34a;
}

.alert-error {
    background: #dc2626;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.table th {
    background: #0f172a;
    color: #fff;
    padding: 14px;
    text-align: left;
}

.table td {
    padding: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.table tr:hover {
    background: #f8fafc;
}

.hint {
    color: #64748b;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 16px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 800px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .admin-header {
        display: block;
    }
}
