/* EraseFromNet - Pure Black & White Theme */

:root {
    --bg: #000000;
    --bg-card: #111111;
    --bg-input: #1a1a1a;
    --border: #333333;
    --text: #ffffff;
    --text-muted: #999999;
    --primary: #ffffff;
    --primary-hover: #cccccc;
    --success: #ffffff;
    --warning: #cccccc;
    --danger: #ffffff;
    --radius: 12px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

/* Header */
.site-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-top: 1rem;
}

.site-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.site-header p {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-size: 1.05rem;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.card h2 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

/* Upload zone */
.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 3rem 1.5rem;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
    position: relative;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.upload-zone p {
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.upload-zone .hint {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Progress */
.progress-section {
    display: none;
    margin-top: 1.75rem;
}

.progress-section.active {
    display: block;
}

.progress-bar-wrapper {
    background: var(--bg-input);
    border-radius: 999px;
    height: 14px;
    overflow: hidden;
    margin: 1rem 0 0.5rem;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: #ffffff;
    border-radius: 999px;
    transition: width 0.35s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.progress-status {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text);
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, color 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: #ffffff;
    color: #000000;
}

.btn-primary:hover {
    background: #cccccc;
    color: #000000;
}

.btn-secondary {
    background: var(--bg-input);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: #2a2a2a;
    border-color: #555555;
}

.btn-danger {
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
}

.btn-danger:hover {
    background: #cccccc;
}

.btn-block {
    width: 100%;
}

/* Result / Status */
.result-box {
    display: none;
    margin-top: 1.75rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #555555;
    border-radius: var(--radius);
    text-align: center;
}

.result-box.active {
    display: block;
}

.result-box h3 {
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.result-box p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Status page */
.status-info {
    margin-top: 1.5rem;
}

.status-info .label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.status-info .value {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.countdown {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.admin-message {
    background: var(--bg-input);
    border-left: 4px solid #ffffff;
    padding: 1.25rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
    white-space: pre-wrap;
}

.download-btn {
    margin-top: 1rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
}

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

.admin-table th,
.admin-table td {
    padding: 0.75rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.04);
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-image {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid #555555;
}

.badge-video {
    background: rgba(255, 255, 255, 0.08);
    color: #cccccc;
    border: 1px solid #444444;
}

.badge-ready {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border: 1px solid #777777;
}

.badge-pending {
    background: rgba(255, 255, 255, 0.06);
    color: #aaaaaa;
    border: 1px solid #444444;
}

/* Alerts */
.alert {
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.alert-error {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid #666666;
    color: #ffffff;
}

.alert-success {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid #888888;
    color: #ffffff;
}

/* Footer */
.site-footer {
    text-align: center;
    margin-top: 3rem;
    padding-bottom: 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.hidden { display: none !important; }

/* Responsive */
@media (max-width: 600px) {
    .site-header h1 { font-size: 1.75rem; }
    .card { padding: 1.5rem; }
    .admin-table { font-size: 0.8rem; }
}
