/* ========== Dashboard Styles - Light Theme ========== */

#tab-dashboard {
    max-width: 650px;
    margin: 0 auto;
    padding: 0 15px;
}

/* მისალმება */
.dash-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 18px 22px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--glass-border, rgba(0,0,0,0.1));
    border-radius: 16px;
    box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.08));
}

.dash-welcome h1 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-main, #1a1a2e);
}

.dash-welcome h1 span {
    background: linear-gradient(to right, var(--primary), var(--primary-hover));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.online-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    color: #16a34a;
}

.online-badge:hover { background: rgba(34, 197, 94, 0.2); }

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.dash-section { margin-bottom: 25px; }

.section-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: var(--text-muted, #64748b);
}

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

.section-header .section-title { margin: 0; }

.tab-switch {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.05);
    padding: 3px;
    border-radius: 8px;
}

.tab-btn {
    padding: 6px 14px;
    border: none;
    background: transparent;
    color: var(--text-muted, #64748b);
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.tab-btn.active { background: var(--primary); color: white; }
.tab-btn:hover:not(.active) { background: rgba(0, 0, 0, 0.08); }

.games-row { display: flex; gap: 12px; }

.game-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 15px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--glass-border, rgba(0,0,0,0.1));
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.08));
}

.game-btn:hover:not(.disabled) {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.15);
}

.game-btn.disabled { opacity: 0.4; cursor: not-allowed; }
.game-emoji { font-size: 32px; }
.game-label { font-size: 13px; font-weight: 500; color: var(--text-main, #1a1a2e); }

.coming-soon {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 8px;
    background: rgba(0, 0, 0, 0.08);
    padding: 2px 6px;
    border-radius: 8px;
    color: var(--text-muted, #64748b);
}

.ranking-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--glass-border, rgba(0,0,0,0.1));
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.08));
}

.ranking-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ranking-list li:last-child { border-bottom: none; }

.ranking-list .rank {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-muted, #64748b);
}

.ranking-list li:nth-child(1) .rank { background: linear-gradient(135deg, #ffd700, #f0c000); color: #1a1a2e; }
.ranking-list li:nth-child(2) .rank { background: linear-gradient(135deg, #c0c0c0, #a8a8a8); color: #1a1a2e; }
.ranking-list li:nth-child(3) .rank { background: linear-gradient(135deg, #cd7f32, #b8723a); color: #1a1a2e; }

.ranking-list .user-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(0, 210, 255, 0.2); }
.ranking-list .user-info { flex: 1; min-width: 0; }
.ranking-list .username { font-weight: 500; font-size: 14px; color: var(--text-main, #1a1a2e); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ranking-list .stat { font-size: 11px; color: var(--text-muted, #64748b); }
.ranking-list .score { font-weight: 600; font-size: 14px; color: var(--primary); }

.horoscope-card {
    padding: 18px 20px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--glass-border, rgba(0,0,0,0.1));
    border-radius: 14px;
    box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.08));
}

.horoscope-card h4 { font-size: 16px; margin: 0 0 10px 0; color: #7c3aed; }
.horoscope-card p { font-size: 13px; color: var(--text-muted, #64748b); line-height: 1.6; margin: 0; }

.topic-card {
    padding: 18px 20px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--glass-border, rgba(0,0,0,0.1));
    border-radius: 14px;
    font-size: 14px;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
    box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.08));
}

@media (max-width: 600px) {
    .dash-welcome { flex-direction: column; gap: 12px; text-align: center; padding: 15px; }
    .dash-welcome h1 { font-size: 1.1rem; }
    .games-row { gap: 8px; }
    .game-btn { padding: 14px 10px; }
    .game-emoji { font-size: 26px; }
    .game-label { font-size: 11px; }
}

.game-btn.chat-btn {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
    border-color: rgba(59, 130, 246, 0.3);
}
.game-btn.chat-btn:hover { border-color: #3b82f6; box-shadow: 0 5px 20px rgba(59, 130, 246, 0.2); }

.pull-indicator {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-60px);
    background: var(--bg-card, #ffffff);
    padding: 12px 24px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.2s, opacity 0.2s;
    border: 1px solid var(--glass-border, rgba(0,0,0,0.1));
    font-size: 13px;
    color: var(--text-muted, #64748b);
    box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.08));
}

.pull-indicator.ready { color: #22c55e; }
.pull-indicator.ready .pull-spinner { border-top-color: #22c55e; }
.pull-indicator.refreshing .pull-spinner { animation: spin 0.8s linear infinite; }

.pull-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary, #00d2ff);
    border-radius: 50%;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
    .private-chat-window {
        position: fixed !important;
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        top: auto !important;
        width: 100% !important;
        height: 70vh !important;
        max-height: 70vh !important;
        border-radius: 20px 20px 0 0 !important;
    }
    .pm-body { height: calc(70vh - 120px) !important; max-height: calc(70vh - 120px) !important; }
    .pm-header { border-radius: 20px 20px 0 0 !important; }
    .pm-footer { padding: 10px !important; padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important; }
    .pm-input { font-size: 16px !important; }
    #tab-profile { padding: 10px; }
    .profile-body { padding: 15px !important; padding-top: 55px !important; }
    .profile-avatar-container { width: 80px !important; height: 80px !important; bottom: -40px !important; }
    .profile-header { height: 150px !important; }
    #v-fullname { font-size: 1.3rem !important; }
    #v-username { font-size: 0.85rem !important; }
    #v-gender { font-size: 0.8rem !important; }
    #v-bio { font-size: 0.9rem !important; padding: 12px !important; }
    .profile-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
    .profile-grid .info-item label { font-size: 0.75rem !important; }
    .profile-grid .info-item p { font-size: 0.9rem !important; }
    .profile-info-block h3 { font-size: 0.8rem !important; }
    .friends-section h3 { font-size: 1rem !important; }
    #profile-actions button { font-size: 0.85rem !important; padding: 8px 14px !important; }
}

.site-footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    color: var(--text-muted, #64748b);
    font-size: 13px;
    border-top: 1px solid var(--glass-border, rgba(0,0,0,0.1));
}
.site-footer p { margin: 0; }

.tab-content { padding-bottom: 80px !important; }

@media (max-width: 768px) {
    .tab-content { padding-bottom: 100px !important; }
    .site-footer { padding: 15px; font-size: 12px; }
}

.sticker-panel {
    position: absolute;
    bottom: 60px;
    left: 10px;
    right: 10px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--glass-border, rgba(0,0,0,0.1));
    border-radius: 15px;
    max-height: 300px;
    overflow: hidden;
    z-index: 100;
    box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.08));
}

.sticker-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--glass-border, rgba(0,0,0,0.1));
}

#sticker-categories-tabs { display: flex; gap: 5px; overflow-x: auto; }

.sticker-tab {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
}
.sticker-tab:hover { background: rgba(0, 0, 0, 0.1); }
.sticker-tab.active { background: var(--primary, #00d2ff); }

.sticker-close { background: none; border: none; color: var(--text-muted, #64748b); font-size: 24px; cursor: pointer; }

.sticker-panel-content { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; max-height: 220px; overflow-y: auto; }

.sticker-item { width: 50px; height: 50px; object-fit: contain; cursor: pointer; border-radius: 8px; transition: transform 0.2s; }
.sticker-item:hover { transform: scale(1.2); }

.chat-sticker { height: 24px; vertical-align: middle; }
.chat-sticker-large { max-width: 120px; max-height: 120px; }
.sticker-msg { min-width: 80px; min-height: 80px; display: flex; align-items: center; justify-content: center; }

.stickers-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }

.sticker-admin-item { background: var(--bg-card-hover, #f5f5f5); border-radius: 10px; padding: 10px; text-align: center; }
.sticker-admin-item img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 8px; }
.sticker-admin-item code { display: block; color: var(--primary, #00d2ff); font-size: 12px; margin-bottom: 4px; }
.sticker-admin-item span { color: var(--text-muted, #64748b); font-size: 11px; }

.btn-sm-danger { background: #ef4444; border: none; color: white; padding: 4px 8px; border-radius: 5px; font-size: 12px; cursor: pointer; margin-top: 5px; }
.btn-sm-success { background: #22c55e; border: none; color: white; padding: 6px 12px; border-radius: 5px; font-size: 12px; cursor: pointer; }
.btn-sm-primary { background: var(--primary, #00d2ff); border: none; color: white; padding: 6px 12px; border-radius: 5px; font-size: 12px; cursor: pointer; }

.category-item { display: flex; align-items: center; justify-content: space-between; padding: 8px; background: var(--bg-card-hover, #f5f5f5); border-radius: 8px; margin-bottom: 5px; color: var(--text-main, #1a1a2e); }

.stat-user-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--glass-border, rgba(0,0,0,0.1)); }
.stat-rank { width: 24px; height: 24px; background: var(--primary, #00d2ff); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; color: white; }
.stat-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.stat-avatar-placeholder { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-card-hover, #f5f5f5); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.stat-name { flex: 1; color: var(--text-main, #1a1a2e); }
.stat-value { color: var(--primary, #00d2ff); font-weight: 500; }

.gender-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--text-main, #1a1a2e); }
.progress-bar { flex: 1; height: 8px; background: rgba(0, 0, 0, 0.1); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #00d2ff, #3b82f6); border-radius: 4px; }

.user-card { background: var(--bg-card, #ffffff); border-radius: 12px; padding: 15px; box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.08)); border: 1px solid var(--glass-border, rgba(0,0,0,0.1)); }
.user-card.banned { border: 1px solid #ef4444; opacity: 0.7; }
.user-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.user-card-avatar { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.user-card-avatar-placeholder { width: 45px; height: 45px; border-radius: 50%; background: var(--bg-card-hover, #f5f5f5); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--text-muted); }
.user-card-info h4 { margin: 0 0 4px 0; font-size: 14px; color: var(--text-main, #1a1a2e); }
.user-role { font-size: 11px; padding: 2px 8px; border-radius: 10px; background: rgba(0, 0, 0, 0.08); color: var(--text-muted); }
.user-role.owner { background: #fbbf24; color: #000; }
.user-role.admin { background: #3b82f6; color: white; }
.user-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.users-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; margin-top: 15px; }

.admin-tabs { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-tab-btn { padding: 10px 20px; background: var(--bg-card, #ffffff); border: 1px solid var(--glass-border, rgba(0,0,0,0.1)); border-radius: 10px; cursor: pointer; color: var(--text-main, #1a1a2e); font-weight: 500; transition: all 0.2s; }
.admin-tab-btn:hover { border-color: var(--primary); }
.admin-tab-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

.admin-section { background: var(--bg-card, #ffffff); border: 1px solid var(--glass-border, rgba(0,0,0,0.1)); border-radius: 16px; padding: 20px; margin-bottom: 20px; box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.08)); }
.admin-section h3 { color: var(--text-main, #1a1a2e); margin-bottom: 15px; font-size: 1.1rem; }
.admin-section label { color: var(--text-muted, #64748b); font-size: 13px; }
/* ===== სერვისების გვერდი ===== */
#tab-services {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
}

#tab-services h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-main, #1a1a2e);
}

.services-balance-card {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), rgba(58, 123, 213, 0.15));
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.balance-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.balance-label {
    color: var(--text-muted, #64748b);
    font-size: 14px;
}

.balance-amount {
    font-size: 32px;
    font-weight: 700;
    color: #fbbf24;
}

.balance-coin {
    font-size: 28px;
}

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

.service-card {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--glass-border, rgba(0,0,0,0.1));
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.08));
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 210, 255, 0.15);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.service-card h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: var(--text-main, #1a1a2e);
}

.service-price {
    color: #fbbf24;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--glass-border, rgba(0,0,0,0.1));
    border-radius: 10px;
    background: var(--bg-card, #ffffff);
    color: var(--text-main, #1a1a2e);
    margin-bottom: 12px;
    font-size: 14px;
}

.service-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary, #00d2ff), var(--primary-hover, #00a8cc));
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

/* ფერების არჩევა */
.color-picker {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.color-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: transform 0.2s, border-color 0.2s;
}

.color-option:hover {
    transform: scale(1.15);
}

.color-option.selected {
    border-color: var(--text-main, #1a1a2e);
    box-shadow: 0 0 0 2px white, 0 0 10px rgba(0, 210, 255, 0.5);
}

/* სტილების არჩევა */
.style-picker {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 15px;
}

.style-option {
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-main, #1a1a2e);
    transition: all 0.2s;
}

.style-option:hover {
    background: rgba(0, 210, 255, 0.1);
}

.style-option.selected {
    border-color: var(--primary, #00d2ff);
    background: rgba(0, 210, 255, 0.15);
}

/* ტრანზაქციები */
.transactions-section {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--glass-border, rgba(0,0,0,0.1));
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.08));
}

.transactions-section h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: var(--text-main, #1a1a2e);
}

.transactions-list {
    max-height: 250px;
    overflow-y: auto;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.transaction-icon {
    font-size: 18px;
}

.transaction-desc {
    flex: 1;
    font-size: 13px;
    color: var(--text-muted, #64748b);
}

.transaction-amount {
    font-weight: 600;
    font-size: 14px;
}

.transaction-amount.positive {
    color: #22c55e;
}

.transaction-amount.negative {
    color: #ef4444;
}

.no-transactions {
    text-align: center;
    color: var(--text-muted, #64748b);
    padding: 20px;
    font-size: 14px;
}

/* მობილური */
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .balance-amount {
        font-size: 26px;
    }
    
    .style-option {
        font-size: 11px;
        padding: 5px 8px;
    }
}

/* ===== სმაილები და სტიკერები ===== */
.emoji-panel {
    position: absolute;
    bottom: 60px;
    left: 10px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--glass-border, rgba(0,0,0,0.1));
    border-radius: 15px;
    padding: 10px;
    max-width: 320px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.08));
}

.emoji-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.emoji-item {
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
}

.emoji-item:hover {
    background: rgba(0, 210, 255, 0.2);
    transform: scale(1.2);
}

.sticker-panel {
    position: absolute;
    bottom: 60px;
    left: 10px;
    right: 10px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--glass-border, rgba(0,0,0,0.1));
    border-radius: 15px;
    max-height: 280px;
    overflow: hidden;
    z-index: 100;
    box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.08));
}

.sticker-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--glass-border, rgba(0,0,0,0.1));
}

#sticker-categories-tabs {
    display: flex;
    gap: 5px;
    overflow-x: auto;
}

.sticker-tab {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
}

.sticker-tab:hover {
    background: rgba(0, 210, 255, 0.2);
}

.sticker-tab.active {
    background: var(--primary, #00d2ff);
}

.sticker-close {
    background: none;
    border: none;
    color: var(--text-muted, #64748b);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.sticker-panel-content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.sticker-item {
    width: 60px;
    height: 60px;
    object-fit: contain;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s;
}

.sticker-item:hover {
    transform: scale(1.15);
}

.chat-sticker-large {
    max-width: 120px;
    max-height: 120px;
    border-radius: 8px;
}

/* ჩატის კონტროლები */
.chat-controls {
    position: relative;
}

/* ===== ადმინ სტიკერები ===== */
.stickers-admin-grid {
    max-height: 400px;
    overflow-y: auto;
}

.sticker-cat-section {
    margin-bottom: 20px;
}

.sticker-cat-section h4 {
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.sticker-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sticker-admin-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: rgba(0,0,0,0.03);
    border-radius: 10px;
    width: 90px;
}

.sticker-admin-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

.sticker-admin-item span {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
}

.sticker-admin-item .btn-del {
    margin-top: 5px;
    padding: 3px 8px;
    font-size: 12px;
    background: #ef4444;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* ===== სათამაშო ქულების კარდი ===== */
.game-coins-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.game-coins-card h3,
.game-coins-card .service-price {
    color: white !important;
}

.game-coins-info {
    background: rgba(255,255,255,0.2);
    padding: 10px;
    border-radius: 10px;
    margin: 10px 0;
}

.game-coins-info strong {
    font-size: 1.3em;
}

.game-coins-card .service-btn {
    background: white !important;
    color: #667eea !important;
}

.game-coins-card .service-btn:hover {
    background: #f0f0f0 !important;
}

/* ===== Pull-to-refresh გათიშვა ===== */
html, body {
    overscroll-behavior-y: contain;
}

/* ===== Sidebar კომპაქტური ===== */
.nav-menu li {
    padding: 10px 14px;
    margin-bottom: 4px;
    font-size: 14px;
}

.nav-menu li i {
    font-size: 14px;
    width: 18px;
}

.sidebar-avatar-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
}

#sidebar-profile-container h3 {
    font-size: 15px;
    margin-bottom: 3px;
}

#sidebar-profile-container p {
    font-size: 11px;
}

/* ===== Header ღილაკები - კომპაქტური და ფერადი ===== */
#menu-toggle {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 1.2rem !important;
    padding: 6px 10px !important;
    color: var(--primary) !important;
}

#menu-toggle:hover {
    box-shadow: none !important;
    transform: scale(1.1);
}

#notif-btn, #messenger-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 1.2rem !important;
    padding: 6px 10px !important;
    margin-left: 5px !important;
}

#notif-btn {
    color: #fbbf24 !important;  /* ოქროსფერი ზარი */
}

#messenger-btn {
    color: #00d2ff !important;  /* ცისფერი მესიჯი */
}

#notif-btn:hover, #messenger-btn:hover {
    box-shadow: none !important;
    transform: scale(1.1);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}
/* ========== ფიდსი / კედელი ========== */
.post-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}
.post-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.post-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #e2e8f0;
}

.post-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
}

.post-author {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 14px;
    cursor: pointer;
}
.post-author:hover {
    color: #00d2ff;
}

.post-time {
    font-size: 11px;
    color: #94a3b8;
}

.post-content {
    margin: 0 0 12px;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
    white-space: pre-wrap;
    word-break: break-word;
}

.post-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
    cursor: pointer;
}

.post-reactions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.post-reaction-btn {
    border: none;
    border-radius: 20px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    background: #f5f5f5;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}
.post-reaction-btn:hover {
    background: #e0f2fe;
    transform: scale(1.1);
}
.post-reaction-btn.active {
    background: #e0f2fe;
    box-shadow: 0 0 0 2px #00d2ff;
}

.post-reaction-count {
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

.post-delete-btn {
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s;
}
.post-delete-btn:hover {
    color: #ff6b6b;
    background: #fff0f0;
}

.post-comments-toggle {
    background: none;
    border: none;
    color: #3a7bd5;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.2s;
}
.post-comments-toggle:hover {
    color: #00d2ff;
}

.post-comments-section {
    margin-top: 10px;
}

.comment-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: flex-start;
}

.comment-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

.comment-avatar-placeholder {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
}

.comment-bubble {
    background: #f5f7fa;
    border-radius: 14px;
    padding: 8px 14px;
    flex: 1;
}

.comment-author {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a2e;
}

.comment-text {
    margin: 3px 0 0;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
}

.comment-time {
    font-size: 10px;
    color: #aaa;
    margin-top: 2px;
}

.comment-input-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.comment-input {
    flex: 1;
    padding: 9px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}
.comment-input:focus {
    border-color: #00d2ff;
}

.comment-send-btn {
    padding: 9px 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.2s;
}
.comment-send-btn:hover {
    transform: scale(1.05);
}

/* პოსტის შექმნის ფორმა */
.create-post-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.post-textarea {
    width: 100%;
    min-height: 70px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.post-textarea:focus {
    border-color: #00d2ff;
}

.post-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

/* ფიდსის ჰედერი / ლოგო */
.feed-header {
    margin-bottom: 18px;
}

.feed-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feed-logo-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.feed-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.3px;
}

.feed-subtitle {
    margin: 2px 0 0;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
}

/* ფოტოს ატვირთვის ღილაკი */
.post-attach-buttons {
    display: flex;
    gap: 8px;
}

.post-attach-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.post-attach-btn i {
    font-size: 16px;
    color: #00d2ff;
}

.post-attach-btn:hover {
    border-color: #00d2ff;
    background: #f0faff;
    color: #0ea5e9;
}

.post-attach-btn:active {
    transform: scale(0.97);
}

.post-photo-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 6px;
    border-radius: 10px;
    transition: background 0.2s;
}
.post-photo-btn:hover {
    background: #f0f0f0;
}

.post-submit-btn {
    padding: 10px 28px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}
.post-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,210,255,0.3);
}

.post-image-preview {
    position: relative;
    margin: 10px 0;
}
.post-image-preview img {
    max-height: 180px;
    border-radius: 12px;
}
.post-image-preview .remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.load-more-btn {
    padding: 10px 30px;
    border: none;
    border-radius: 12px;
    background: #f0f0f0;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}
.load-more-btn:hover {
    background: #e2e8f0;
}

@media (max-width: 480px) {
    .post-card {
        padding: 14px;
        border-radius: 14px;
    }
    .post-image {
        border-radius: 10px;
        max-height: 300px;
    }
    .post-reaction-btn {
        padding: 4px 8px;
        font-size: 13px;
    }
}

/* ========== პროფილის ფოტო გალერეა ========== */
.profile-photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.profile-photo-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f0f0f0;
}

.profile-photo-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.profile-photo-thumb:hover {
    transform: scale(1.05);
}

.photo-delete-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.profile-photo-item:hover .photo-delete-btn {
    opacity: 1;
}

.profile-photo-add {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    cursor: pointer;
    aspect-ratio: 1;
    color: #94a3b8;
    font-size: 13px;
    transition: all 0.2s;
}

.profile-photo-add i {
    font-size: 28px;
    color: #00d2ff;
}

.profile-photo-add:hover {
    border-color: #00d2ff;
    background: #f0faff;
    color: #0ea5e9;
}

/* cover-ზე cursor */
.cover-photo {
    cursor: pointer;
}

/* ========== Zoom ღილაკები ========== */
.zoom-btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 5;
}

.zoom-btn:hover {
    background: rgba(0,210,255,0.8);
    transform: scale(1.1);
}

.profile-avatar-big {
    cursor: pointer;
}
