:root { 
    --primary: #ff1376; /* Yeni Neon Pembe */
    --dark: #171b2e;    /* Yeni Koyu Lacivert */
    --glass: rgba(23, 27, 46, 0.95); 
}

body {
    background-color: var(--dark) !important;
    color: #f5f5ff;
}

#app-header { 
    position: fixed; top: 0; left: 0; width: 100%; height: 70px; 
    background: var(--glass); backdrop-filter: blur(10px); z-index: 9000; 
    display: flex; align-items: center; justify-content: space-between; 
    padding: 0 20px; border-bottom: 1px solid rgba(255, 19, 118, 0.2); 
    box-shadow: 0 5px 20px rgba(0,0,0,0.5); box-sizing: border-box; 
}

.app-logo { font-weight: 900; font-size: 20px; color: #fff; text-decoration: none; letter-spacing: 1px; flex-shrink: 0; } 
.app-logo span { color: var(--primary); }

.user-area { position: relative; display: flex; align-items: center; justify-content: flex-end; flex: 1; min-width: 0; }
.user-btn { 
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); 
    color: #fff; padding: 0 15px; border-radius: 30px; height: 40px; 
    cursor: pointer; display: flex; align-items: center; gap: 10px; 
    font-size: 14px; transition: 0.2s; max-width: 100%; 
}
.user-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(255, 19, 118, 0.1); }

.user-status { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 8px var(--primary); flex-shrink: 0; }
.user-name-span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; display: inline-block; vertical-align: middle; }
@media(min-width: 768px) { .user-name-span { max-width: 200px; } }

.user-dropdown { 
    position: absolute; top: 55px; right: 0; background: #1f243d; 
    border: 1px solid rgba(255, 19, 118, 0.2); border-radius: 12px; width: 200px; 
    display: none; flex-direction: column; overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.8); z-index: 9100; 
}
.user-dropdown.active { display: flex; }
.ud-item { padding: 12px; color: #ccc; text-decoration: none; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.05); cursor: pointer; transition: 0.2s; display: block; }
.ud-item:hover { background: rgba(255, 19, 118, 0.1); color: #fff; } 
.ud-item:last-child { border-bottom: none; color: #ff1376; }

.c-msg { word-break: break-word; color: #ddd; background: rgba(255,255,255,0.03); padding: 8px 12px; border-radius: 8px; margin-bottom: 6px; font-size: 13px; }
.c-msg b { color: var(--primary); margin-right: 5px; }
.c-msg.admin { background: rgba(255, 19, 118, 0.15) !important; border: 1px solid rgba(255, 19, 118, 0.4) !important; color: #fff !important; }
.c-msg.admin b { color: #ff1376 !important; text-transform: uppercase; font-weight: 900; letter-spacing: 1px; margin-right: 8px; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 10000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-box { 
    background: #1f243d; padding: 30px; border-radius: 24px; 
    border: 1px solid rgba(255, 19, 118, 0.3); text-align: center; 
    width: 90%; max-width: 350px; box-shadow: 0 0 50px rgba(0,0,0,0.8); 
}
.modal-title { font-size: 24px; font-weight: bold; color: #fff; margin-bottom: 20px; }
.modal-input { width: 100%; padding: 14px; background: #0e111f; border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; color: #fff; margin-bottom: 15px; font-size: 16px; outline: none; }
.modal-btn { 
    width: 100%; padding: 14px; 
    background: linear-gradient(135deg, #ff1376, #b30047); 
    border: none; border-radius: 10px; color: #fff; 
    font-weight: bold; cursor: pointer; font-size: 16px; 
}

#chat-fab { 
    position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; 
    background: var(--primary); border-radius: 50%; display: flex; 
    align-items: center; justify-content: center; font-size: 28px; 
    cursor: pointer; z-index: 9500; box-shadow: 0 5px 20px rgba(255, 19, 118, 0.4); 
    transition: transform 0.2s; color: #fff; 
}
#chat-fab:hover { transform: scale(1.1); }

.chat-panel { 
    position: fixed; bottom: 95px; right: 25px; width: 320px; height: 450px; 
    background: var(--glass); border-radius: 20px; 
    border: 1px solid rgba(255, 19, 118, 0.2); display: none; 
    flex-direction: column; z-index: 9500; backdrop-filter: blur(15px); 
    overflow: hidden; box-shadow: 0 10px 50px rgba(0,0,0,0.7); 
}
.chat-panel.active { display: flex; }
.chat-header { padding: 15px; background: rgba(255,255,255,0.05); font-weight: bold; color: var(--primary); font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.chat-msgs { flex: 1; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; gap: 10px; }
.chat-input-area { display: flex; border-top: 1px solid rgba(255,255,255,0.1); padding: 5px; }
.chat-input { flex: 1; background: transparent; border: none; padding: 12px; color: #fff; outline: none; }
.chat-send { background: transparent; border: none; color: var(--primary); padding: 0 15px; cursor: pointer; font-weight: bold; font-size: 18px; }
body { padding-top: 90px !important; }