/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #151515;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #ffffff;
    --border: #2a2a2a;
    --shadow: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    min-height: 100vh;
    padding: 20px;
    color: var(--text-primary);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
    animation: scanline 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ===== HEADER ===== */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: 2px;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
    }
}

.subtitle {
    font-size: 1.2em;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ===== AUTH SECTION ===== */
.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.welcome-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 500px;
    animation: containerEntry 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.welcome-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.welcome-box:hover::before {
    opacity: 1;
}

@keyframes containerEntry {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.welcome-box h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 2em;
}

.welcome-box p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ===== STEAM LOGIN BUTTON ===== */
.steam-login-btn {
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.steam-login-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.steam-login-btn:hover::before {
    width: 300px;
    height: 300px;
}

.steam-login-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.steam-login-btn img {
    display: block;
    position: relative;
    z-index: 1;
}

/* ===== USER PANEL ===== */
.user-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 60px rgba(0, 0, 0, 0.5);
    animation: containerEntry 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 15px;
    margin-bottom: 30px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    }
}

.user-details {
    flex: 1;
}

.user-details h3 {
    font-size: 1.5em;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.steamid {
    color: var(--text-secondary);
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.admin-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    margin-top: 10px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.models-link {
    padding: 10px 25px;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.models-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.logout-btn {
    padding: 10px 25px;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
}

/* ===== SKIN SELECTOR ===== */
.skin-selector {
    margin-top: 30px;
}

.skin-selector h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.8em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 600;
}

.form-group input[type="url"],
.form-group input[type="text"] {
    width: 100%;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 0.85em;
}

.current-skin {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.current-skin a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.current-skin a:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
    border: 2px solid var(--accent);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* ===== ADMIN PANEL ===== */
.admin-panel h2 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.8em;
}

.info {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.skins-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.skins-table thead {
    background: var(--bg-card);
}

.skins-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border);
}

.skins-table td {
    padding: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.skins-table tbody tr {
    transition: all 0.3s ease;
}

.skins-table tbody tr:hover {
    background: var(--bg-card);
}

.player-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border);
}

.steamid-cell {
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.steamid-cell:hover {
    color: var(--accent);
}

.skin-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.skin-link:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn-small {
    padding: 8px 15px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-small:hover {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.no-data {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* ===== WORKSHOP INTEGRATION ===== */
.workshop-browse-section {
    margin-bottom: 30px;
    text-align: center;
    padding: 30px;
    background: var(--bg-secondary);
    border: 2px dashed var(--border);
    border-radius: 15px;
}

.workshop-browse-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--accent) 0%, #d0d0d0 100%);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(255, 255, 255, 0.3);
}

.workshop-browse-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.workshop-browse-btn:hover::before {
    width: 400px;
    height: 400px;
}

.workshop-browse-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.5);
}

.workshop-hint {
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 0.9em;
    line-height: 1.6;
}

.workshop-search-section {
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.search-btn {
    padding: 12px 30px;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.workshop-results {
    min-height: 50px;
    margin-bottom: 20px;
}

.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.search-hint, .no-results {
    text-align: center;
    padding: 30px;
    color: var(--text-secondary);
    font-size: 14px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px dashed var(--border);
}

.error {
    text-align: center;
    padding: 20px;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.workshop-grid::-webkit-scrollbar {
    width: 8px;
}

.workshop-grid::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 4px;
}

.workshop-grid::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.workshop-grid::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.workshop-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.workshop-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.workshop-item:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.workshop-item:hover::before {
    opacity: 1;
}

.workshop-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.workshop-item-info {
    padding: 12px;
}

.workshop-item-info strong {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.workshop-id {
    font-size: 11px;
    color: var(--text-secondary);
}

.selected-skin-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-secondary);
    border: 2px solid var(--accent);
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.selected-skin-preview img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.selected-info {
    flex: 1;
}

.selected-info strong {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.skin-id {
    font-size: 12px;
    color: var(--text-secondary);
}

.clear-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    background: #ff6b6b;
    transform: rotate(90deg);
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.9em;
}

/* ===== STATUS BADGES ===== */
.current-skin-status {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.current-skin-status h3 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.status-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

.status-pending {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
    color: #ffc107;
    border: 2px solid rgba(255, 193, 7, 0.5);
}

.status-approved {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(56, 142, 60, 0.2));
    color: #4caf50;
    border: 2px solid rgba(76, 175, 80, 0.5);
}

.status-rejected {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2), rgba(211, 47, 47, 0.2));
    color: #f44336;
    border: 2px solid rgba(244, 67, 54, 0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.status-text {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 10px 0;
}

.skin-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.skin-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateX(5px);
}

/* ===== MODERATION PANEL ===== */
.moderation-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 2px solid var(--accent);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.moderation-panel h2 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pending-skins-grid {
    display: grid;
    gap: 20px;
}

.pending-skin-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.pending-skin-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.pending-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.pending-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.pending-details h4 {
    color: var(--text-primary);
    margin-bottom: 5px;
}

.pending-details p {
    color: var(--text-secondary);
    font-size: 12px;
}

.pending-skin-url {
    flex: 1;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    word-break: break-all;
}

.moderation-actions {
    display: flex;
    gap: 10px;
}

.mod-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.approve-btn {
    background: linear-gradient(135deg, #4caf50, #388e3c);
    color: white;
}

.approve-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.reject-btn {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.reject-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(244, 67, 54, 0.5);
}

.view-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.view-btn:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.no-pending {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.no-pending-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .welcome-box {
        padding: 30px;
    }
    
    .user-panel {
        padding: 20px;
    }
    
    .user-info {
        flex-direction: column;
        text-align: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .skins-table {
        font-size: 0.85em;
    }
    
    .skins-table th,
    .skins-table td {
        padding: 10px;
    }
    
    .workshop-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .workshop-item img {
        height: 120px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .selected-skin-preview {
        flex-direction: column;
        text-align: center;
    }
    
    .clear-btn {
        position: static;
        margin-top: 10px;
    }
}

/* ===== ?????????????? ????? ??? ERRORS.PHP ===== */

/* ???????? */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.2em;
}

/* Header ????????? */
.main-header {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    gap: 10px;
}

.nav-link {
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.nav-actions .btn-primary {
    padding: 10px 25px;
}

/* ?????????? */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.stat-box i {
    font-size: 40px;
    color: var(--accent);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2em;
    font-weight: bold;
    color: var(--text-primary);
    display: block;
}

.stat-label {
    font-size: 0.9em;
    color: var(--text-secondary);
}

/* ?????? */
.report-form-section, .my-reports-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 1.8em;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ????? */
.report-form-container {
    margin-top: 20px;
}

.report-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 0.85em;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* ?????? - ????? ??? ? ??????? */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
    border: 2px solid var(--accent);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.btn-success {
    background: linear-gradient(135deg, #4caf50, #388e3c);
    color: white;
    border: none;
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.btn-danger {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    border: none;
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(244, 67, 54, 0.5);
}

.btn-warning {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    border: none;
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.5);
}

/* ?????? */
.reports-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.report-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.report-id {
    font-weight: bold;
    color: var(--text-secondary);
}

.report-status, .status-badge-pending, .status-badge-reviewing, .status-badge-resolved, .status-badge-rejected {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 700;
}

.status-badge-pending, .report-status {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 2px solid rgba(255, 193, 7, 0.5);
}

.status-badge-reviewing {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
    border: 2px solid rgba(33, 150, 243, 0.5);
}

.status-badge-resolved {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 2px solid rgba(76, 175, 80, 0.5);
}

.status-badge-rejected {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 2px solid rgba(244, 67, 54, 0.5);
}

.report-body {
    margin-bottom: 15px;
}

.report-info-row {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

.report-label {
    color: var(--text-secondary);
    min-width: 100px;
}

.report-type-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
}

.type-griefing {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.type-cheating {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.type-toxicity {
    background: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
}

.type-rdm {
    background: rgba(233, 30, 99, 0.2);
    color: #e91e63;
}

.type-other {
    background: rgba(158, 158, 158, 0.2);
    color: #9e9e9e;
}

.report-description {
    background: var(--bg-primary);
    padding: 15px;
    border-radius: 10px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 10px;
}

.report-screenshot a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.admin-response {
    background: rgba(33, 150, 243, 0.1);
    border-left: 3px solid #2196f3;
    padding: 15px;
    margin-top: 15px;
    border-radius: 8px;
}

.admin-response-header {
    font-weight: bold;
    color: #2196f3;
    margin-bottom: 10px;
}

.report-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-top: 15px;
}

/* ????? ?????? */
.admin-reports-section {
    margin-top: 40px;
}

.reports-admin-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-card-admin {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 15px;
    padding: 25px;
}

.report-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.reporter-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reporter-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.report-admin-body {
    margin-top: 15px;
}

.report-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.admin-actions-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.admin-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Alert */
.alert {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.5);
}

.alert-error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.5);
}

/* Footer */
.main-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 30px 20px;
    margin-top: 50px;
    text-align: center;
    color: var(--text-secondary);
}

/* Dropdown */
.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-btn:hover {
    border-color: var(--accent);
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 200px;
    display: none;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-primary);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 20px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .admin-buttons {
        flex-direction: column;
    }
}
