* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #1f2937;
}

.container {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header,
.site-footer {
    background: #ffffff;
    border-bottom: 1px solid #dbe1ea;
    padding: 1rem 0;
}

.site-footer {
    border-top: 1px solid #dbe1ea;
    border-bottom: 0;
    margin-top: 40px;
}

.card {
    background: #ffffff;
    border: 1px solid #dbe1ea;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

label {
    display: block;
    margin: 14px 0 6px;
    font-weight: 700;
}

input,
button {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #cfd8e3;
    font: inherit;
}

button {
    margin-top: 18px;
    background: #0f62fe;
    color: #fff;
    border: 0;
    cursor: pointer;
}

.alert {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #dbe1ea;
    vertical-align: top;
}

.admin-table th {
    background: #f8fafc;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #cfd8e3;
    font: inherit;
}

.button-link {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 10px;
    background: #0f62fe;
    color: #ffffff;
    text-decoration: none;
}

.button-link-secondary {
    background: #6b7280;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}