body {
    font-family: 'Inter', sans-serif;
    background-color: #eef2ff;
    overflow: hidden; 
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.2);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 58, 237, 0.4);
}
.auth-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #e2e8f0;
    color: #1e293b;
    outline: none;
    transition: all 0.2s;
}
.auth-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    background-color: #ffffff;
}
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 58, 237, 0.3) transparent;
}
.message-bubble {
    max-width: 85%;
    padding: 0.75rem 1rem;
    position: relative;
    cursor: pointer;
    transition: transform 0.1s;
    word-break: break-word;
}
.message-bubble:active {
    transform: scale(0.98);
}
.msg-own {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: white;
    border-radius: 1.5rem 1.5rem 0 1.5rem;
    margin-left: auto;
    box-shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.2);
}
.msg-other {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    color: #1e293b;
    border-radius: 1.5rem 1.5rem 1.5rem 0;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.6);
}
@media (min-width: 768px) {
    .message-bubble { max-width: 70%; }
}
.active-room {
    background: linear-gradient(90deg, #8b5cf6, #4f46e5);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.3);
    transform: scale(1.02);
}
.active-room .sub-text { color: #e0e7ff; }
.active-room .icon-box { background: rgba(255,255,255,0.2); color: white; transform: rotate(3deg); }
