﻿:root {
    --bg-color: #0b0c10;
    --card-bg: #1f2833;
    --neon-blue: #45f3ff;
    --neon-green: #00ffcc;
    --text-color: #c5c6c7;
    --text-light: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(69,243,255,0.2) 0%, rgba(0,0,0,0) 70%);
    top: 10%;
    left: 15%;
    z-index: 0;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    padding: 20px;
}

.chat-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.header h1 {
    color: var(--text-light);
    font-size: 24px;
    font-weight: 700;
}

.header p {
    font-size: 14px;
    color: #858585;
}

.header-badge {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
}

.hidden { display: none !important; }

.input-group {
    display: flex;
    gap: 10px;
}

input[type="text"] {
    flex: 1;
    background: #151a21;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    outline: none;
    font-size: 16px;
}

input[type="text"]:focus {
    border-color: var(--neon-blue);
}

.btn {
    background: var(--neon-blue);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--neon-blue);
}

.btn-voice { background: var(--neon-green); }
.btn-voice:hover { box-shadow: 0 0 15px var(--neon-green); }
.btn-voice.active { background: #ff4a4a; color: white; animation: pulse 1s infinite; }

.chat-messages {
    height: 400px;
    overflow-y: auto;
    background: #151a21;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.4;
    word-wrap: break-word;
}

.my-msg {
    background: #2b3a4a;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.other-msg {
    background: #242b35;
    color: var(--text-color);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-input-area {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-attach {
    background: #242b35;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 20px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    color: white;
}

.chat-image {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 5px;
}

.chat-video {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    margin-top: 5px;
}

.chat-file-link {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 500;
}

.file-status {
    background: rgba(0, 255, 204, 0.1);
    color: var(--neon-green);
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 13px;
    text-align: center;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}