:root {
    --bg: #424242;
    --header-bg: #000;
    --text: #f5f6fa;
    --accent: #1e3d2f;
    --header-accent: #2a4636;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', Arial, sans-serif;
}

.main-content {
    flex: 1 0 auto;
    /* Optional: add padding or styles for your main content */
}

header {
    background: var(--header-bg);
    color: var(--accent);
    padding: 1.5rem 1rem;
    text-align: left;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 3.5rem;
}

.header-logo {
    max-height: 3.5rem;
    width: auto;
    height: auto;
    margin: 0,0,0,0;
    object-fit: contain;
    display: inline-block;
    transform: scale(2.0);
    transform-origin: left center;
}

header span {
    flex: 1 1 auto;
    display: block;
}

footer {
    background: #000;
    color: var(--text);
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    margin-top: 2rem;
}

.login-bar {
    position: absolute;
    top: 0;
    right: 0;
    margin: 1.5rem 2rem 0 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-bar input[type="text"],
.login-bar input[type="password"] {
    width: 110px;
    height: 32px;
    padding: 4px;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 13px;
    background: #232323;
    color: #f5f6fa;
}

.login-bar button {
    background-color: #1e3d2f;
    color: #f5f6fa;
    font-weight: bold;
    height: 32px;
    padding: 4px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}
.login-bar button:hover {
    background-color: #2a4636;
}

.login-bar .welcome-message {
    color: #f5f6fa;
    font-weight: bold;
    font-size: 14px;
    margin-right: 10px;
}

.login-bar a {
    color: #1e3d2f;
    font-weight: bold;
    text-decoration: none;
    margin-left: 10px;
}

.floating-container {
    margin: 5vh 10vw;
    background: #000;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(119, 118, 118, 0.45);
    padding: clamp(1rem, 3vh, 2.5rem);
    height: 80vh;
    min-width: 40vw;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow-y: auto;
    box-sizing: border-box;
}

.floating-navbar {
    width: 100%;
    height: auto;
    min-height: clamp(2rem, 6vh, 3rem);
    background: #23272b;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 0 0 clamp(0.5rem, 2vw, 1.2rem);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 500;
    color: #f5f6fa;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    box-sizing: border-box;
    gap: clamp(0.1rem, 0.5vw, 0.3rem);
}

.navbar-search {
    display: flex;
    align-items: center;
    margin-left: auto;
    position: relative;
    gap: 0;
}

#navbarSearchInput {
    padding: 6px 12px;
    border-radius: 8px 0 0 8px;
    border: 1px solid #222;
    background: #23272b;
    color: #f5f6fa;
    font-size: 1rem;
    outline: none;
    width: 140px;
    height: auto;
    transition: border 0.18s;
}

#navbarSearchInput:focus {
    border: 1.5px solid #4CAF50;
}

.search-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.search-btn,
#navbarSearchBtn {
    background: #4CAF50 !important;
    color: #fff;
    border: none;
    border-radius: 0 12px 0 0;
    padding: 16px 32px 16px 32px;
    height: auto;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: background 0.18s;
    position: relative;
}

.search-btn:hover,
.search-btn:hover,
#navbarSearchBtn:hover {
    background: #45a049 !important;
}

.dropdown-arrow {
    margin-left: 8px;
    font-size: 1.1em;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #23272b;
    min-width: 120px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    z-index: 10;
    overflow: hidden;
}

.dropdown-item {
    color: #f5f6fa;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 1rem;
    background: none;
    border: none;
    text-align: left;
    transition: background 0.15s;
}

.dropdown-item:hover {
    background: #37833b;
}

.nav-btn {
    background: #1a1d21;
    color: #f5f6fa;
    border: none;
    border-radius: 12px 12px 0 0;
    padding: clamp(0.5rem, 1vh, 0.75rem) clamp(1rem, 4vw, 2rem);
    margin-bottom: clamp(-1.2rem, -2.5vh, -1.8rem);
    height: auto;
    font-size: clamp(0.975rem, 0vw, 1.5rem);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}

.nav-btn-top {
    background: #1a1d21;
    color: #f5f6fa;
    border: none;
    border-radius: 12px 12px 0 0;
    padding: clamp(0.5rem, 1vh, 0.75rem) clamp(1rem, 4vw, 2rem);
    margin-bottom: clamp(-2.7rem, -4.1vh, -2.3rem); /* match account-tabs scaling for zoom consistency */
    height: auto;
    font-size: clamp(0.975rem, 0vw, 1.5rem);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}

.nav-btn:hover {
    background-color: #4CAF50;
    color: #fff;
}

.nav-btn.active {
    background-color: #3d8d40 !important;
    color: #fff !important;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2) !important;
}

.nav-btn-top:hover {
    background-color: #4CAF50;
    color: #fff;
}

.nav-btn-top.active {
    background-color: #3d8d40 !important;
    color: #fff !important;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2) !important;
}

/* Adjust content padding to not overlap navbar */
.floating-container > *:not(.floating-navbar):not(.account-section) {
    padding: clamp(0.5rem, 2vh, 1.5rem);
    width: 100%;
    box-sizing: border-box;
}

/* Account section gets special treatment - no extra padding */
.floating-container > .account-section {
    padding: 0 clamp(0.5rem, 3vw, 1.5rem) clamp(0.5rem, 3vh, 1.5rem) clamp(0.5rem, 3vw, 1.5rem);
}

/* Apply margin only to major sections, not individual text elements */
.floating-container > .features-container,
.floating-container > .register-section {
    margin-top: clamp(1rem, 3vh, 2rem);
}

/* Ensure proper spacing for text content at the top */
.floating-container > h1:first-of-type {
    margin-top: clamp(4rem, 8vh, 6rem);
    margin-bottom: clamp(0.5rem, 1vh, 1rem);
}

.floating-container > p {
    margin-top: clamp(0.5rem, 1vh, 1rem);
    margin-bottom: clamp(0.5rem, 1vh, 1rem);
}

/* Add minimal styles for account section tabs and grid */
.account-section {
    width: 100%;
    max-width: 900px;
    margin: 0 auto; /* center horizontally */
    background: #23272b; /* match inactive tab color */
    border-radius: 12px 12px 10px 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
    padding: 0 clamp(0.5rem, 3vw, 1.5rem) clamp(0.5rem, 3vh, 1.5rem) clamp(0.5rem, 3vw, 1.5rem);
    position: absolute;
    top: clamp(5rem, 12vh, 8rem); /* fixed distance from navbar instead of center */
    left: 50%;
    transform: translateX(-50%); /* only center horizontally, not vertically */
    min-height: 60vh;
}

/* Position tabs relative to floating container, not account section */
.floating-container .account-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    position: absolute;
    top: clamp(-2.7rem, -4.1vh, -2.3rem); /* very slight adjustment to move tabs up */
    left: clamp(0.5rem, 3vw, 1.5rem); /* align with left side of floating container, not centered */
    z-index: 4; /* higher z-index to ensure visibility above navbar */
    /* removed transform: translateX(-50%) to stop centering */
}
.account-tab-btn {
    background: #1a1d21;
    color: #f5f6fa;
    border: none;
    border-radius: 12px 12px 0 0;
    padding: clamp(0.5rem, 1vh, 0.75rem) clamp(1rem, 4vw, 2rem);
    margin-bottom: clamp(-2.7rem, -4.1vh, -2.3rem); /* match account-tabs scaling for zoom consistency */
    height: auto;
    font-size: clamp(0.975rem, 0vw, 1.5rem);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.account-tab-btn.active,
.account-tab-btn:hover {
    background-color: #3d8d40 !important;
    color: #fff !important;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2) !important;
}
.account-content {
    min-height: clamp(10rem, 25vh, 15rem);
    padding-top: clamp(1rem, 3vh, 2rem); /* reduced since account-section now properly clears navbar */
    overflow: visible;
}

/* Support content specific styling - reuse existing patterns where possible */
.information-content,
.contact-content {
    color: #f5f6fa;
    line-height: 1.6;
}

.info-section {
    margin-bottom: 2rem;
}

.info-section h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

.info-card,
.contact-card,
.contact-intro {
    background: #2c2f33;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid #4CAF50;
}

.contact-card {
    padding: 1.5rem;
}

.contact-intro {
    margin-bottom: 2rem;
}

.info-card h4,
.contact-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-card h3 {
    color: #4CAF50;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #444;
    border-radius: 6px;
    background: #1a1d21;
    color: #fff;
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.submit-btn,
.join-server-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover,
.join-server-btn:hover {
    background: #45a049;
}

.contact-info a {
    color: #4CAF50;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.response-times {
    display: grid;
    gap: 0.5rem;
    margin: 1rem 0;
}

.response-item {
    padding: 0.5rem;
    background: #1a1d21;
    border-radius: 4px;
    border-left: 3px solid #4CAF50;
}

.contact-note {
    background: #2c2f33;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #f39c12;
    margin-top: 1rem;
}

/* Ensure chat containers in account tabs display properly */
.account-content .chat-container {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    max-width: none;
}
.avatar-grid label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
/* Responsive: ensure account-section is well margined on mobile */
@media (max-width: 700px) {
    .account-section {
        /* keep the same centering approach on mobile - no margin overrides needed */
        padding: 0 clamp(0.25rem, 2vw, 0.5rem) clamp(0.5rem, 2vh, 1rem) clamp(0.25rem, 2vw, 0.5rem);
    }
    .floating-container .account-tabs {
        /* keep centered positioning on mobile too */
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 900px) {
    .floating-container {
        margin: 8vw 2vw;
        min-width: unset;
        padding: 1.2rem;
        height: 85vh;
    }
    .login-bar {
        margin: 1rem 0.5rem 0 0;
    }
    .floating-navbar {
        font-size: 1rem;
        min-height: 28px;
        padding-left: 0.7rem;
    }
    .nav-btn {
        font-size: 0.95rem;
        padding: clamp(0.3rem, 1vh, 0.5rem) clamp(0.75rem, 3vw, 1.5rem);
        margin-bottom: clamp(-2.7rem, -4.1vh, -2.3rem); /* match account-tabs scaling for zoom consistency */
    }
}

@media (max-width: 600px) {
    header {
        font-size: 1.2rem;
        padding: 1rem 0.5rem;
        min-height: 2.2rem;
        gap: 0.5rem;
    }
    .header-logo {
        max-height: 2.2rem;
        width: 40%;
    }
    .floating-container {
        margin: 2vw;
        padding: 0.7rem;
        height: 90vh;
    }
    .floating-navbar {
        font-size: 0.95rem;
        min-height: 22px;
        padding-left: 0.5rem;
    }
    .nav-btn {
        font-size: 0.9rem;
        padding: clamp(0.25rem, 0.8vh, 0.4rem) clamp(0.5rem, 2vw, 1rem);
        margin-bottom: clamp(-0.4rem, -1vh, -0.6rem);
    }
}

/* Custom Scrollbars */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #23272b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
    transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}

::-webkit-scrollbar-corner {
    background: #23272b;
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #4CAF50 #23272b;
}

/* === UNIFIED CHAT INTERFACE STYLES === */

/* Main Chat Container - Used for both Messages and Servers */
.chat-container {
    display: flex;
    height: 60vh;
    min-height: 400px;
    max-height: 700px;
    background: var(--bg);
    border: 2px solid var(--accent);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

/* Override floating container styles for chat content */
.floating-container .chat-container {
    width: 100%;
    margin: 20px 0 0 0;
    padding: 0;
}

/* Left Panel - Participants/Rooms List */
.chat-left-panel {
    width: 320px;
    min-width: 280px;
    background: linear-gradient(180deg, var(--header-bg) 0%, #1a1a1a 100%);
    border-right: 3px solid var(--accent);
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 8px rgba(0,0,0,0.3);
}

.chat-left-header {
    padding: 20px 24px;
    background: var(--header-bg);
    border-bottom: 2px solid var(--accent);
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.chat-left-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--header-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.chat-left-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
}

/* List Items - Used for both participants and rooms */
.chat-list-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(30, 61, 47, 0.3);
    background: transparent;
    margin: 2px 8px;
    border-radius: 8px;
    position: relative;
}

.chat-list-item:hover {
    background: linear-gradient(135deg, var(--accent), var(--header-accent));
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(30, 61, 47, 0.4);
}

.chat-list-item.active {
    background: linear-gradient(135deg, var(--header-accent), var(--accent));
    color: var(--text);
    box-shadow: 0 4px 12px rgba(30, 61, 47, 0.6);
    border-left: 4px solid #4CAF50;
}

.chat-list-item.active .item-name,
.chat-list-item.active .item-status {
    color: var(--text) !important;
}

.item-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--header-accent), #4CAF50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: var(--text);
    margin-right: 16px;
    flex-shrink: 0;
    text-transform: uppercase;
    border: 2px solid var(--accent);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.item-info {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.item-status {
    font-size: 13px;
    color: #9da5b4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

/* Right Panel - Messages Area */
.chat-right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--bg) 0%, #3a3a3a 100%);
}

.chat-right-header {
    padding: 20px 28px;
    background: var(--header-bg);
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.chat-right-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--header-accent);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.chat-status-indicator {
    font-size: 13px;
    color: #4CAF50;
    background: linear-gradient(135deg, var(--accent), var(--header-accent));
    padding: 6px 12px;
    border-radius: 16px;
    font-weight: 600;
    border: 1px solid #4CAF50;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.chat-messages-area {
    flex: 1;
    padding: 24px 28px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: linear-gradient(180deg, var(--bg) 0%, #3a3a3a 100%);
    border-radius: 0 0 0 8px;
}

.welcome-message {
    text-align: center;
    margin: auto;
    color: #9da5b4;
    max-width: 450px;
    padding: 32px 24px;
    background: rgba(30, 61, 47, 0.1);
    border-radius: 12px;
    border: 1px solid var(--accent);
}

.welcome-message h3 {
    color: var(--header-accent);
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.welcome-message p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
}

/* Message Items */
.message-item {
    padding: 12px 16px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.message-item:hover {
    background: rgba(30, 61, 47, 0.15);
    border-left-color: var(--accent);
}

.message-item:last-child {
    margin-bottom: 0;
}

.message-header {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    gap: 12px;
}

.message-sender {
    font-weight: 700;
    color: var(--header-accent);
    font-size: 15px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.message-timestamp {
    font-size: 12px;
    color: #9da5b4;
    font-weight: 500;
    background: rgba(0,0,0,0.2);
    padding: 2px 6px;
    border-radius: 4px;
}

.message-content {
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    margin-left: 0;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

/* Message Input Area */
.chat-input-area {
    padding: 20px 28px;
    background: var(--header-bg);
    border-top: 2px solid var(--accent);
    box-shadow: 0 -2px 6px rgba(0,0,0,0.3);
}

.chat-input-container {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.chat-input-container input {
    flex: 1;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--bg), #3a3a3a);
    border: 2px solid var(--accent);
    border-radius: 8px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.chat-input-container input:focus {
    border-color: var(--header-accent);
    background: linear-gradient(135deg, #3a3a3a, var(--bg));
    box-shadow: 0 0 8px rgba(42, 70, 54, 0.4), inset 0 2px 4px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

.chat-input-container input::placeholder {
    color: #9da5b4;
    font-weight: 500;
}

.chat-send-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent), var(--header-accent));
    border: none;
    border-radius: 8px;
    color: var(--text);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(30, 61, 47, 0.4);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.chat-send-btn:hover {
    background: linear-gradient(135deg, var(--header-accent), #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 61, 47, 0.6);
}

.chat-send-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(30, 61, 47, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-container {
        height: calc(100vh - 200px);
        flex-direction: column;
        border-width: 1px;
    }
    
    .chat-left-panel {
        width: 100%;
        height: 220px;
        border-right: none;
        border-bottom: 2px solid var(--accent);
        min-width: unset;
    }
    
    .chat-right-panel {
        flex: 1;
        min-height: 320px;
    }
    
    .chat-left-list {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 8px;
    }
    
    .chat-list-item {
        min-width: 220px;
        border-right: 1px solid rgba(30, 61, 47, 0.3);
        border-bottom: none;
        margin: 2px 4px;
    }
    
    .item-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .item-name {
        font-size: 15px;
    }
    
    .item-status {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .chat-container {
        margin-top: 10px;
        border-radius: 8px;
    }
    
    .chat-input-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .chat-input-container input,
    .chat-send-btn {
        width: 100%;
        border-radius: 6px;
    }
    
    .chat-left-header h3 {
        font-size: 16px;
    }
    
    .chat-right-header h3 {
        font-size: 18px;
    }
    
    .chat-messages-area {
        padding: 16px 20px;
    }
    
    .chat-input-area {
        padding: 16px 20px;
    }
    
    .message-item {
        padding: 10px 12px;
    }
    
    .message-content {
        font-size: 14px;
    }
}
