body, html {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #eef2ff;
    color: #0f172a;
}

* {
    box-sizing: border-box;
}

.admin-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.admin-header h1 {
    font-size: 32px;
    margin: 0;
}

.admin-header p {
    margin: 8px 0 0;
    color: #475569;
}

.admin-panel {
    display: grid;
    gap: 24px;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
}

.card h2 {
    margin-top: 0;
    font-size: 22px;
}

.button-group, .card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button, button, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    background: #4338ca;
    color: white;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover, .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(67, 56, 202, 0.18);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-row.single {
    grid-template-columns: 1fr;
}

.input-field,
.textarea-field,
.select-field {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    outline: none;
    background: #f8fafc;
    color: #0f172a;
    font-size: 15px;
}

.input-field:focus,
.textarea-field:focus,
.select-field:focus {
    border-color: #6366f1;
    background: white;
}

textarea.textarea-field {
    min-height: 160px;
    resize: vertical;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 16px 14px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.table th {
    color: #334155;
    font-weight: 700;
}

.table td {
    color: #475569;
}

.badge {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.alert {
    padding: 18px 22px;
    background: #eef2ff;
    border-left: 4px solid #4338ca;
    border-radius: 14px;
    margin-bottom: 22px;
    color: #1e293b;
}

.alert.error {
    background: #fef2f2;
    border-color: #dc2626;
    color: #991b1b;
}

.navbar-admin {
    margin-bottom: 30px;
    padding: 22px 26px;
    background: #1e293b;
    border-radius: 24px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.navbar-admin a {
    color: white;
}

.admin-footer {
    text-align: center;
    padding: 18px 0;
    color: #64748b;
}

@media (max-width: 900px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}
