/* OPTIMIZED BUILD */
/* admin.css */
:root {
    --bg: #0a0a0a;
    --surface: #1a1a1a;
    --border: #333;
    --text: #eee;
    --primary: #38bdf8;
}

body {
    background: var(--bg); color: var(--text); font-family: sans-serif;
    margin: 0; padding: 0; min-height: 100vh;
}

.flex-center {
    display: flex; align-items: center; justify-content: center; height: 100vh;
}

.hidden { display: none !important; }

/* Login */
.login-card {
    background: var(--surface); padding: 2rem; border-radius: 8px;
    border: 1px solid var(--border); width: 100%; max-width: 350px; text-align: center;
}
input, select, textarea {
    width: 100%; padding: 0.8rem; margin-bottom: 1rem;
    background: #000; border: 1px solid var(--border); color: white;
    border-radius: 4px; box-sizing: border-box;
}

/* Dashboard */
.admin-header {
    background: var(--surface); padding: 1rem 2rem; border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.admin-content { padding: 2rem; max-width: 1000px; margin: 0 auto; }

.toolbar {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem;
}

.table-container {
    background: var(--surface); border-radius: 8px; overflow: hidden; border: 1px solid var(--border);
}
table { width: 100%; border-collapse: collapse; }
th, td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--border); }
th { background: #111; font-size: 0.8rem; text-transform: uppercase; color: #888; }
tr:hover { background: #222; }

/* Buttons */
.btn-admin {
    background: var(--primary); color: #000; padding: 0.6rem 1.2rem;
    border: none; border-radius: 4px; cursor: pointer; font-weight: 600;
}
.btn-outline {
    background: transparent; color: #aaa; border: 1px solid #444;
    padding: 0.4rem 0.8rem; border-radius: 4px; cursor: pointer;
}
.action-btn { background: transparent; border: none; cursor: pointer; color: #aaa; font-size: 1.2rem; }
.action-btn:hover { color: white; }
.text-danger:hover { color: #ef4444; }

/* Modal */
.modal {
    position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
}
.admin-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.admin-modal-card {
    background: var(--surface); padding: 2rem; border-radius: 8px; width: 500px;
    position: relative; z-index: 10; border: 1px solid var(--border);
}
.row { display: flex; gap: 1rem; }
.col { flex: 1; }
.form-actions { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 1rem; }

.helix-powered { text-align: center; padding: 1rem; opacity: 0.5; }
.helix-powered a { color: #666; text-decoration: none; font-size: 0.7rem; }