:root {
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --bg-color: #f1f5f9;
    --surface: #ffffff;
    --surface-border: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --error: #ef4444;
    --success: #10b981;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    font-size: 0.9375rem;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

.glass-panel {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    animation: fadeIn 0.4s ease-out;
}

header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--surface-border);
}

h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #475569;
    font-size: 0.95rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #000000;
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title span {
    background: var(--primary);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .full-width {
        grid-column: 1 / -1;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
}

input, select, textarea {
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    background: #ffffff;
    color: #000000;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    margin-top: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.btn-submit:active {
    transform: translateY(1px);
}

.info-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.action-btn { 
    background: #f8fafc; 
    border: 1px solid #e2e8f0; 
    color: #475569; 
    padding: 6px 12px; 
    border-radius: 8px; 
    cursor: pointer; 
    text-decoration: none; 
    font-size: 0.825rem; 
    font-weight: 500;
    transition: all 0.2s;
    display: inline-block;
}
.action-btn:hover { 
    background: #f1f5f9; 
    border-color: #cbd5e1;
    color: var(--primary);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.875rem;
}

table thead th {
    background: #f8fafc;
    color: #475569;
    text-align: left;
    padding: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e2e8f0;
}

table tbody td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.status-pill {
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
