* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 24px;
    color: #e0e0e0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.statistics {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.stats-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stats-section h3 {
    color: #e0e0e0;
    font-size: 18px;
    margin: 0;
    padding-right: 20px;
    border-right: 2px solid #333;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-label {
    color: #b0b0b0;
    font-size: 14px;
}

.stat-value {
    color: #e0e0e0;
    font-size: 18px;
    font-weight: 600;
    margin-right: 15px;
}

.stat-waiting {
    color: #ffd54f;
}

.stat-approved {
    color: #81c784;
}

.controls {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: flex;
    gap: 15px;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #e0e0e0;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 14px;
    background: #1e1e1e;
    color: #e0e0e0;
}

.item-container {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    min-height: 300px;
}

.placeholder {
    text-align: center;
    color: #888;
    padding: 60px 20px;
    font-size: 18px;
}

.item-details h2 {
    margin-bottom: 20px;
    color: #e0e0e0;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: #2a2a2a;
    border-radius: 4px;
}

.meta span {
    font-size: 14px;
    color: #e0e0e0;
}

.status-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-deleted {
    background: #4d1a1a;
    color: #ff6b6b;
}

.badge-reviewed {
    background: #1b5e20;
    color: #81c784;
}

.badge-not-reviewed {
    background: #5d4e00;
    color: #ffd54f;
}

.badge-nsfw {
    background: #4a148c;
    color: #ba68c8;
}

.joke-content {
    margin: 20px 0;
}

.joke-content label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #e0e0e0;
}

.joke-content textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    background: #1e1e1e;
    color: #e0e0e0;
}

.image-preview {
    margin: 20px 0;
    text-align: center;
}

.image-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.links {
    margin-top: 20px;
}

.links a {
    color: #bb86fc;
    text-decoration: none;
    font-size: 14px;
}

.links a:hover {
    text-decoration: underline;
}

.action-buttons {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: #bb86fc;
    color: #121212;
}

.btn-primary:hover {
    background: #9c27b0;
}

.btn-secondary {
    background: #757575;
    color: #e0e0e0;
}

.btn-secondary:hover {
    background: #616161;
}

.btn-success {
    background: #4caf50;
    color: #e0e0e0;
}

.btn-success:hover {
    background: #388e3c;
}

.btn-danger {
    background: #f44336;
    color: #e0e0e0;
}

.btn-danger:hover {
    background: #d32f2f;
}

.btn-warning {
    background: #ff9800;
    color: #121212;
}

.btn-warning:hover {
    background: #f57c00;
}

.btn-nsfw {
    background: #e91e63;
    color: #e0e0e0;
}

.btn-nsfw:hover {
    background: #c2185b;
}

.btn-safe {
    background: #00bcd4;
    color: #e0e0e0;
}

.btn-safe:hover {
    background: #0097a7;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

.status-message {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    display: none;
    font-weight: 600;
}

.status-success {
    background: #1b5e20;
    color: #81c784;
    border-left: 4px solid #4caf50;
}

.status-error {
    background: #b71c1c;
    color: #ef5350;
    border-left: 4px solid #f44336;
}

.status-info {
    background: #0d47a1;
    color: #64b5f6;
    border-left: 4px solid #2196f3;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #e0e0e0;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 14px;
    background: #1e1e1e;
    color: #e0e0e0;
}

.form-group input:focus {
    outline: none;
    border-color: #bb86fc;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .controls {
        flex-direction: column;
        align-items: stretch;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
