/* Katze.cat Dashboard - Exact Colors from Original Design */
/* Left sidebar: #2c3e50 (dark blue) */
/* Active tab: #1a252f (darker) with #1abc9c (teal) left border */
/* Background: #ecf0f1 (light gray) */
/* Cards: #ffffff */
/* Accent red: #e74c3c */
/* Text dark: #2c3e50 */
/* Text muted: #7f8c8d */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ecf0f1;
    color: #2c3e50;
}

/* ============ LOGIN PAGE ============ */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('../img/minecraft_bg.jpg') center/cover;
    opacity: 0.15;
    animation: float 20s infinite linear;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5%, -5%); }
}

.login-container {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.login-logo {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.login-logo .k { color: #f1c40f; }
.login-logo .c { color: #2c3e50; }

.login-subtitle {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 30px;
}

.login-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 2px solid #ecf0f1;
}

.login-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.login-tab.active {
    color: #1abc9c;
    border-bottom-color: #1abc9c;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    background: #fff;
}

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

.btn-primary {
    width: 100%;
    padding: 14px;
    background: #1abc9c;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #16a085;
}

.btn-secondary {
    padding: 10px 20px;
    background: #95a5a6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.alert {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: #fee;
    color: #e74c3c;
    border-left: 4px solid #e74c3c;
}

.alert-success {
    background: #efe;
    color: #27ae60;
    border-left: 4px solid #27ae60;
}

.login-footer {
    margin-top: 25px;
    color: #95a5a6;
    font-size: 12px;
}

/* ============ DASHBOARD LAYOUT ============ */
.dashboard {
    display: flex;
    min-height: 100vh;
}

/* Sidebar - exact color #2c3e50 */
.sidebar {
    width: 220px;
    background: #2c3e50;
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #34495e;
}

.sidebar-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #1a252f;
    border: 3px solid #1abc9c;
}

.sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.sidebar-username {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
}

.sidebar-rank {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.sidebar-menu {
    list-style: none;
    padding: 20px 0;
}

.sidebar-menu li {
    margin-bottom: 2px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar-menu a:hover {
    background: #34495e;
    color: white;
}

.sidebar-menu a.active {
    background: #1a252f;
    color: #1abc9c;
    border-left-color: #1abc9c;
}

.sidebar-menu .icon {
    width: 20px;
    margin-right: 12px;
    text-align: center;
    font-size: 16px;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 220px;
    background: #ecf0f1;
    min-height: 100vh;
}

.top-bar {
    background: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.top-bar-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar-small {
    width: 35px;
    height: 35px;
    border-radius: 6px;
    overflow: hidden;
    background: #ecf0f1;
}

.user-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.logout-btn {
    color: #e74c3c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 6px;
    transition: background 0.3s;
}

.logout-btn:hover {
    background: #fee;
}

.content-area {
    padding: 30px;
}

/* ============ SERVER STATUS CARDS ============ */
.server-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.server-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.server-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}

.server-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.server-badge.discord { background: #7289da; color: white; }
.server-badge.minecraft { background: #5cb85c; color: white; }

.server-online-count {
    font-size: 32px;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 10px;
}

.server-online-count span {
    font-size: 18px;
    color: #7f8c8d;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: #e74c3c;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.server-status-text {
    font-size: 13px;
    color: #7f8c8d;
}

.server-status-text.online { color: #27ae60; }
.server-status-text.offline { color: #e74c3c; }

/* ============ SHOP / RANKS ============ */
.shop-header {
    text-align: center;
    margin-bottom: 40px;
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.ranks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.rank-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.rank-card:hover {
    transform: translateY(-5px);
}

.rank-card.featured {
    border: 3px solid #f1c40f;
    position: relative;
}

.rank-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f1c40f;
    color: #2c3e50;
    padding: 4px 15px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.rank-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.rank-name {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.rank-price {
    font-size: 28px;
    font-weight: 700;
    color: #1abc9c;
    margin-bottom: 20px;
}

.rank-price span {
    font-size: 14px;
    color: #7f8c8d;
}

.rank-features {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.rank-features li {
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
    font-size: 14px;
    color: #555;
}

.rank-features li:last-child {
    border-bottom: none;
}

.rank-features li::before {
    content: '✓ ';
    color: #1abc9c;
    font-weight: 700;
}

.rank-color-preview {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* ============ A-TEAM PAGE ============ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 8px;
    overflow: hidden;
    background: #ecf0f1;
    border: 3px solid #ecf0f1;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.team-name {
    font-weight: 700;
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 8px;
    word-break: break-all;
}

.rank-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

/* ============ TICKETS ============ */
.ticket-system-header {
    text-align: center;
    margin-bottom: 30px;
}

.ticket-system-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.ticket-info-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

.ticket-info-text {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-create-ticket {
    padding: 12px 30px;
    background: #1abc9c;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-create-ticket:hover {
    background: #16a085;
}

.tickets-list {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.ticket-item {
    padding: 20px 25px;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-item:last-child {
    border-bottom: none;
}

.ticket-subject {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.ticket-meta {
    font-size: 13px;
    color: #7f8c8d;
}

.ticket-status {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.ticket-status.open { background: #d4edda; color: #155724; }
.ticket-status.in-progress { background: #fff3cd; color: #856404; }
.ticket-status.closed { background: #f8d7da; color: #721c24; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .sidebar {
        width: 70px;
    }
    .sidebar-header {
        padding: 10px;
    }
    .sidebar-username, .sidebar-rank {
        display: none;
    }
    .sidebar-menu a {
        padding: 15px;
        justify-content: center;
    }
    .sidebar-menu .icon {
        margin-right: 0;
        font-size: 20px;
    }
    .sidebar-menu a span:not(.icon) {
        display: none;
    }
    .main-content {
        margin-left: 70px;
    }
}

/* ============ SERVER STATUS - EXACT MATCH WITH ORANGE ============ */
.server-status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.status-card {
    background: white;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.status-title {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.status-badge {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-badge.discord {
    background: #7289da;
    color: white;
}

.status-badge.minecraft {
    background: #e67e22;
    color: white;
}

.status-online {
    font-size: 28px;
    font-weight: 300;
    color: #333;
    margin-bottom: 12px;
}

.status-online span {
    font-size: 16px;
    color: #777;
}

.status-bar {
    width: 100%;
    height: 6px;
    background: #f5f5f5;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.status-fill {
    height: 100%;
    background: #e67e22;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.status-text {
    font-size: 11px;
    color: #888;
}

/* ============ MINECRAFT RANK STYLES ============ */
/* CEO - §c§l (Red Bold) */
.rank-badge[style*="#ff0000"] {
    font-weight: 900 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    letter-spacing: 0.5px;
}

.sidebar-rank[style*="#ff0000"] {
    font-weight: 900 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    letter-spacing: 0.5px;
}

/* Admin - §c (Red) */
.rank-badge[style*="#ff4444"] {
    font-weight: 700;
}

/* Moderator - §b (Aqua) */
.rank-badge[style*="#00ccff"] {
    font-weight: 600;
}

/* Helper - §9 (Blue) */
.rank-badge[style*="#0099ff"] {
    font-weight: 600;
}

/* Builder - §6 (Gold) */
.rank-badge[style*="#ffaa00"] {
    font-weight: 600;
}

/* VIP+ - §e (Yellow) */
.rank-badge[style*="#ffdd00"] {
    font-weight: 700;
}

/* VIP - §e (Yellow) */
.rank-badge[style*="#ffcc00"] {
    font-weight: 600;
}

/* ============ SIDEBAR - EXACT MATCH TO SCREENSHOT ============ */
.sidebar {
    width: 220px;
    background: #2c3e50;
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #34495e;
    flex-shrink: 0;
}

.sidebar-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #1a252f;
    border: 3px solid #1abc9c;
}

.sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.sidebar-username {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
    color: #fff;
}

.sidebar-rank {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.sidebar-menu {
    list-style: none;
    padding: 15px 0;
    flex: 1;
}

.sidebar-menu li {
    margin-bottom: 2px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar-menu a:hover {
    background: #34495e;
    color: white;
}

.sidebar-menu a.active {
    background: #1a252f;
    color: #1abc9c;
    border-left-color: #1abc9c;
}

.sidebar-menu .icon {
    width: 20px;
    margin-right: 12px;
    text-align: center;
    font-size: 16px;
}

/* Menu icons styling */
.sidebar-menu a[href="index.php"] .icon::before { content: "🏠"; }
.sidebar-menu a[href="tickets.php"] .icon::before { content: "🎫"; }
.sidebar-menu a[href="shop.php"] .icon::before { content: "🛒"; }
.sidebar-menu a[href="team.php"] .icon::before { content: "👥"; }

/* ============ SIDEBAR WHITE ICONS ============ */
.menu-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1); /* Makes icons white */
    opacity: 0.7;
}

.sidebar-menu a.active .menu-icon,
.sidebar-menu a:hover .menu-icon {
    opacity: 1;
}

/* Home icon (house) */
.home-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Ticket icon */
.ticket-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z'%3E%3C/path%3E%3Cpath d='M13 5v2'%3E%3C/path%3E%3Cpath d='M13 17v2'%3E%3C/path%3E%3Cpath d='M13 11v2'%3E%3C/path%3E%3C/svg%3E");
}

/* Shop icon (shopping cart) */
.shop-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E");
}


/* ============ NEWS SECTION ============ */
.news-section {
    margin-top: 30px;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}

.news-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.news-avatar {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
    border: 3px solid #e67e22;
}

.news-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

.news-content {
    flex: 1;
}

.news-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.news-author {
    font-weight: 700;
    color: #2c3e50;
    font-size: 16px;
}

.news-rank {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    background: #ff0000;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    letter-spacing: 0.5px;
}

.news-date {
    color: #95a5a6;
    font-size: 12px;
}

.news-text {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
}

.news-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #e67e22;
    color: white;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: auto;
}

/* ============ ADMIN SECTION ============ */
.admin-section {
    margin: 20px 0;
    padding-top: 15px;
    border-top: 2px solid #34495e;
}

.admin-label {
    font-size: 10px;
    text-transform: uppercase;
    color: #7f8c8d;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-left: 20px;
}

.admin-menu a {
    font-size: 13px;
    padding: 10px 20px;
}

.admin-menu .menu-icon {
    width: 18px;
    height: 18px;
}

/* Admin icons */
.users-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='9' cy='7' r='4'%3E%3C/circle%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'%3E%3C/path%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'%3E%3C/path%3E%3C/svg%3E");
}

.tickets-admin-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3C/svg%3E");
}

.announcement-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='m3 11 18-5v12L3 14v-3z'%3E%3C/path%3E%3Cpath d='M11.6 16.8a3 3 0 1 1-5.8-1.6'%3E%3C/path%3E%3C/svg%3E");
}

.settings-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3Cpath d='M12 1v3m0 16v3M4.22 4.22l2.12 2.12m11.32 11.32 2.12 2.12M1 12h3m16 0h3M4.22 19.78l2.12-2.12M17.66 6.34l2.12-2.12'%3E%3C/path%3E%3C/svg%3E");
}

.stats-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='12' y1='20' x2='12' y2='10'%3E%3C/line%3E%3Cline x1='18' y1='20' x2='18' y2='4'%3E%3C/line%3E%3Cline x1='6' y1='20' x2='6' y2='16'%3E%3C/line%3E%3C/svg%3E");
}

/* Media icon */
.media-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5'%3E%3C/polygon%3E%3Cpath d='M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07'%3E%3C/path%3E%3C/svg%3E");
}

/* Avatar placeholders */
.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.avatar-placeholder.small {
    font-size: 16px;
}

.news-avatar .avatar-placeholder {
    font-size: 36px;
}

/* Profile icon */
.profile-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
}

/* Upload icon */
.upload-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='17 8 12 3 7 8'%3E%3C/polyline%3E%3Cline x1='12' y1='3' x2='12' y2='15'%3E%3C/line%3E%3C/svg%3E");
}

/* Speedtest icon */
.speed-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'%3E%3C/polygon%3E%3C/svg%3E");
}

/* Chat icon */
.chat-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E");
}

/* Shop/Marketplace icon */
.shop-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E");
}
