/**
 * assets/css/admin.css
 * Styles for Overseer Admin Dashboard
 */
:root {
    --bg-base: #090a0f;
    --accent: #00ffcc;
    --accent-glow: rgba(0, 255, 204, 0.4);
    --text-main: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1rem 0;
}

.container {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.container.login {
    max-width: 400px;
    text-align: center;
}

.container.dashboard {
    max-width: 1000px;
    display: none;
    max-height: 90vh;
    overflow-y: auto;
}

h1 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

h1 span {
    color: var(--accent);
    font-weight: 600;
}

input[type="password"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px;
    color: white;
    outline: none;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
}

input[type="password"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

button {
    width: 100%;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}

button:hover {
    background: var(--accent);
    color: var(--bg-base);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

th {
    color: var(--accent);
    cursor: pointer;
    user-select: none;
}

th:hover {
    background: rgba(0, 255, 204, 0.05);
}

tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.btn-icon {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #ff4040;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
}

.btn-icon:hover {
    background: rgba(255, 64, 64, 0.1);
    color: #ff6666;
    box-shadow: none;
    border-radius: 4px;
}

.btn-icon svg {
    width: 18px;
    height: 18px;
}

#errorMsg {
    color: #ff4040;
    margin-top: 1rem;
    font-size: 0.9rem;
    display: none;
}

.pager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    gap: 10px;
    flex-wrap: wrap;
    color: #94a3b8;
    font-size: 0.9rem;
}

.pager select {
    background: #11131a;
    color: white;
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 6px;
    margin-left: 6px;
    cursor: pointer;
}

.pager-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pager-nav button {
    width: auto;
    padding: 6px 14px;
    font-size: 0.8rem;
}

.pager-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    box-shadow: none;
    background: transparent;
    color: var(--accent);
}

.admin-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.2rem;
}

.admin-top-bar h1 {
    margin-bottom: 0;
}

.admin-badge {
    font-family: monospace;
    font-size: 0.82rem;
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
}

.abuse-admin-section {
    margin-top: 1rem;
    padding: 1.2rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--glass-border);
}

.abuse-admin-section h2 {
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 0.9rem;
}

.abuse-admin-section h2 span {
    color: #ff6b6b;
    font-weight: 600;
}

.abuse-admin-section h2 small {
    color: #94a3b8;
    font-family: monospace;
    font-size: 0.85rem;
}

.abuse-empty {
    color: #64748b;
    font-size: 0.88rem;
}

.abuse-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: rgba(255, 68, 68, 0.06);
    border: 1px solid rgba(255, 68, 68, 0.25);
    border-radius: 8px;
    flex-wrap: wrap;
}

.abuse-paste-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    margin-right: 8px;
}

.abuse-reason-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-family: monospace;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(255, 85, 85, 0.18);
    color: #ff6b6b;
    border: 1px solid rgba(255, 85, 85, 0.35);
}

.abuse-details {
    font-size: 0.84rem;
    color: #cbd5e1;
    margin-top: 4px;
}

.abuse-meta {
    font-size: 0.74rem;
    color: #64748b;
    font-family: monospace;
    margin-top: 3px;
}

.abuse-card-actions {
    display: flex;
    gap: 6px;
}

.btn-small {
    width: auto !important;
    padding: 5px 10px !important;
    font-size: 0.74rem !important;
    text-transform: none !important;
}

.btn-small.btn-danger {
    border-color: #ff5555;
    color: #ff5555;
}

.btn-small.btn-danger:hover {
    background: #ff5555;
    color: #090a0f;
}

.btn-small.btn-muted {
    border-color: #64748b;
    color: #94a3b8;
}

.btn-small.btn-muted:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

