:root {
    --bg: #0f1114;
    --bg-soft: #15181c;
    --surface: #1a1f24;
    --text: #e7ebef;
    --text-dim: #97a0aa;
    --accent: #4f46e5;
    --border: #2a3036;
    --radius-sm: 10px;
    --sidebar-w: 300px;
}

.deepchatbottomsection html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.deepchatbottomsection #app {
    width: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", sans-serif;
    flex: 1;
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    min-width: 720px;
    height: 100%;
}

.deepchatbottomsection aside {
    display: flex;
    flex-direction: column;
    background: var(--bg-soft);
    border-right: 1px solid var(--border);
}

.deepchatbottomsection .sidebar-top {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.deepchatbottomsection .sidebar-header {
    padding: 20px;
    font-weight: bold;
}

.deepchatbottomsection .create-group-btn {
    margin: 0 12px 12px;
    padding: 12px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
}

.deepchatbottomsection .groups {
    flex: 1;
    overflow-y: auto;
    padding: 0 12px 12px;
}

.deepchatbottomsection .group-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    margin-bottom: 6px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.deepchatbottomsection .group-item:hover,
.deepchatbottomsection .group-item.active {
    background: var(--surface);
}

.deepchatbottomsection .group-item .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface);
    display: grid;
    place-items: center;
    font-weight: bold;
}

.deepchatbottomsection #bottomTab {
    height: 60px;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    margin: 0;
}

.deepchatbottomsection #bottomTab .user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.deepchatbottomsection #bottomTab .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.deepchatbottomsection #bottomTab .username {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.deepchatbottomsection #bottomTab button {
    background: var(--surface);
    color: var(--text);
    padding: 8px 12px;
    height: 36px;
    font-size: 0.9rem;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.deepchatbottomsection #bottomTab button:hover {
    background: var(--border);
}

.deepchatbottomsection main {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

.deepchatbottomsection .messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    max-height: 100%;
}

.deepchatbottomsection #messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.deepchatbottomsection .msg {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    max-width: 80%;
}

.deepchatbottomsection .msg.me {
    position: relative;
    align-self: flex-end;
    flex-direction: row-reverse;
}

.deepchatbottomsection .avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.deepchatbottomsection .msg .bubble {
    background: var(--surface);
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

.deepchatbottomsection .msg .bubble img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin-top: 6px;
}

.deepchatbottomsection .msg.me .bubble {
    background: var(--accent);
    color: white;
}

.deepchatbottomsection .msg .author {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.deepchatbottomsection .msg .time {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 4px;
    text-align: right;
}

.deepchatbottomsection .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
    flex: 0 0 auto;
    color: var(--text);
}

.deepchatbottomsection .image-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    max-width: 40%;
    overflow: hidden;
    flex: 0 1 auto;
}
.deepchatbottomsection .image-preview.hidden {
    display: none;
}
.deepchatbottomsection .image-preview img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 6px;
}
.deepchatbottomsection .image-preview .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    color: var(--text);
    opacity: 0.9;
    font-size: 0.9rem;
}
.deepchatbottomsection .image-preview .remove {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: var(--text);
    padding: 0 4px;
}

.deepchatbottomsection .composer {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 10px;
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.deepchatbottomsection .msg-image {
    max-width: 240px;
    max-height: 240px;
    border-radius: 10px;
    display: block;
    margin-top: 6px;
}
.deepchatbottomsection .composer input[type="text"] {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--surface);
    color: var(--text);
}

.composer.has-attachment input[type="text"] {
    box-shadow: 0 0 0 2px var(--accent) inset;
}

@media (max-width: 600px) {
    .image-preview {
        max-width: 70%;
    }
    .deepchatbottomsection .composer button {
        padding: 10px 14px;
    }
}

.deepchatbottomsection .composer button {
    margin-left: 10px;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.deepchatbottomsection .image-btn {
    margin-right: 10px;
    cursor: pointer;
    font-size: 20px;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.deepchatapp {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.deepchatappheader {
    height: 40px; /* sau cât ai tu acolo pentru headerul de Windows */
    flex-shrink: 0;
}

.deepchatbottomsection {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.deepchatbottomsection > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.deepchatbottomsection .main-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.deepchatbottomsection .messages-view {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    min-height: 0;
    display: flex;
    flex-direction: column;
	scrollbar-color: var(--accent) var(--bg-soft);
}

.deepchatbottomsection .create-group-view.hidden,
.deepchatbottomsection .composer.hidden,
.deepchatbottomsection .settings-view.hidden,
.deepchatbottomsection .messages-view.hidden {
    display: none;
}

.deepchatbottomsection .create-group-wrapper {
    margin: auto;
    background: var(--bg-soft);
    padding: 30px;
    border-radius: var(--radius-sm);
    width: 100%;
    max-width: 400px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.deepchatbottomsection .create-group-wrapper input {
    padding: 12px;
    background: var(--surface);
    color: var(--text);
    border: none;
    border-radius: var(--radius-sm);
}

.deepchatbottomsection .create-group-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.deepchatbottomsection .create-group-actions button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
}

.deepchatbottomsection #createGroupBtn {
    background: var(--accent);
    color: white;
}

.deepchatbottomsection #goBack {
    background: var(--border);
    color: var(--text);
}

.deepchatbottomsection .settings-view {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

.deepchatbottomsection .settings-wrapper {
    background-color: #11141c;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.deepchatbottomsection .settings-wrapper h2 {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
    text-align: center;
}

.deepchatbottomsection .settings-wrapper label {
    color: #bbb;
    margin-bottom: 4px;
    font-size: 15px;
}

.deepchatbottomsection .settings-wrapper input[type="text"],
.deepchatbottomsection .settings-wrapper input[type="file"] {
    background-color: #1b1e29;
    border: none;
    border-radius: 10px;
    padding: 12px;
    color: white;
    width: 100%;
    font-size: 14px;
}

.deepchatbottomsection .settings-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.deepchatbottomsection .settings-actions button {
    background: #2b2f3a;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s ease;
}

.deepchatbottomsection .settings-actions button:hover {
    background: #3d4352;
}

.deepchatbottomsection .settings-actions button:last-child {
    background-color: #4b65ff;
    font-weight: 500;
}

.deepchatbottomsection .settings-actions button:last-child:hover {
    background-color: #324af3;
}

.custom-avatar-select {
    position: relative;
    background-color: #1b1e29;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
}

.selected-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: white;
    font-size: 14px;
}

.selected-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.avatar-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1b1e29;
    border-top: 1px solid #333;
    z-index: 10;
    display: flex;
    flex-direction: column;
    max-height: 200px;
    overflow-y: auto;
}

.avatar-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: white;
    transition: background 0.2s ease;
}

.avatar-option:hover {
    background-color: #2b2f3a;
}

.avatar-option img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.hidden {
    display: none;
}

.deepchatbottomsection .group-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background-color: #121316;
    border-bottom: 1px solid #1f1f1f;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.deepchatbottomsection .group-title {
    flex: 1;
    font-size: 20px;
    font-weight: bold;
    color: #f3f3f3;
}

.deepchatbottomsection .group-settings-btn {
    background-color: transparent;
    border: none;
    color: #ccc;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.deepchatbottomsection .group-settings-btn:hover {
    color: #fff;
}

.deepchatbottomsection .group-header-bar {
    height: 50px;
    background-color: #121216;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid #2e2e32;
    font-weight: 500;
    color: #f0f0f0;
}

.deepchatbottomsection .group-header-bar .group-name {
    font-size: 1.1rem;
}

.deepchatbottomsection .group-header-bar button {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.3rem;
    cursor: pointer;
}

.deepchatbottomsection .group-settings-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background-color: #111218;
    border-left: 1px solid #27272a;
    padding: 24px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 32px;
    transform: translateX(0);
    transition: transform 0.3s ease-in-out;
}

.deepchatbottomsection .info-view.hidden {
    display: none;
}

.deepchatbottomsection .group-settings-panel.hidden {
    transform: translateX(100%);
}

.deepchatbottomsection .settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deepchatbottomsection .settings-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #fff;
    font-weight: 600;
}

.deepchatbottomsection .settings-header button {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.2s;
}

.deepchatbottomsection .settings-header button:hover {
    color: #fff;
}

.deepchatbottomsection .group-members h4,
.deepchatbottomsection .admin-settings h4 {
    color: #ddd;
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.deepchatbottomsection .group-members ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.deepchatbottomsection .group-members li {
    padding: 8px 12px;
    background-color: #1a1c22;
    margin-bottom: 6px;
    border-radius: 8px;
    color: #ccc;
    font-size: 0.95rem;
}

.deepchatbottomsection .admin-settings button {
    margin-right: 8px;
    background-color: #2b2d33;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    color: #eee;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.deepchatbottomsection .admin-settings button:hover {
    background-color: #3a3c42;
}

.deepchatbottomsection .group-members {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 6px;
}

.deepchatbottomsection .group-members::-webkit-scrollbar {
    width: 6px;
}

.deepchatbottomsection .group-members::-webkit-scrollbar-track {
    background: transparent;
}

.deepchatbottomsection .group-members::-webkit-scrollbar-thumb {
    background-color: rgba(120, 120, 120, 0.5);
    border-radius: 3px;
}

.deepchatbottomsection .group-member {
    background-color: #1c1c1f;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 14px;
}

.deepchatbottomsection .remove-member-btn {
    background: #2f2f2f;
    border: none;
    color: #e57373;
    font-size: 16px;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.deepchatbottomsection .remove-member-btn:hover {
    background: #3f3f3f;
}

.deepchatbottomsection .group-item .unread {
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 8px;
    display: inline-block;
    min-width: 20px;
    text-align: center;
}

.desktop .img-lightbox.hidden {
    display: none;
}
.desktop .img-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px;
}
.desktop .img-lightbox img {
    max-width: 92vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.desktop .img-lightbox .close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15); /* keep translucent */
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    background-clip: padding-box;
}

.desktop .img-lightbox .close:hover {
    background: rgba(255, 255, 255, 0.25);
}
.desktop #messages img.msg-image {
    cursor: zoom-in;
}

.deepchatbottomsection .action-log {
    align-self: center;
    max-width: 90%;
    font-size: 0.85rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed var(--border);
    padding: 8px 12px;
    border-radius: 999px;
    margin: 10px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-clip: padding-box;
}

.deepchatbottomsection .action-log .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-dim);
    opacity: 0.6;
    flex: 0 0 auto;
}
.deepchatbottomsection .action-log .time {
    margin-left: 6px;
    font-size: 0.75rem;
    opacity: 0.7;
}
.deepchatbottomsection .action-log b {
    color: var(--text);
    font-weight: 600;
}

.deepchatbottomsection .invite-box {
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    border-bottom: 2px solid var(--border);
}

.deepchatbottomsection .invite-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.2);
}

.deepchatbottomsection .invite-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.deepchatbottomsection .invite-input-wrap {
    position: relative;
    flex: 1;
}

.deepchatbottomsection .admin-settings {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.deepchatbottomsection #inviteInput {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    outline: none;
}

.deepchatbottomsection .invite-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
}

.deepchatbottomsection .invite-hint {
    margin-top: 8px;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.deepchatbottomsection .invite-feedback {
    margin-top: 10px;
    font-size: 0.9rem;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px dashed var(--border);
}

.deepchatbottomsection .msg-menu {
    position: absolute;
    right: 54px;
    bottom: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    display: none;
    z-index: 50;
}

.deepchatbottomsection .msg-menu button {
    background: transparent;
    border: 0;
    color: var(--text);
    font-size: 0.85rem;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.deepchatbottomsection .msg-menu button:hover {
    background: var(--bg-soft);
}

.deepchatbottomsection .msg-menu.open {
    display: block;
}

.deepchatbottomsection .mention {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.16);
    border: 1px solid var(--border);
    font-weight: 600;
}

.deepchatbottomsection .mention.me {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.35);
}

.deepchatbottomsection .msg.has-mention .bubble {
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.25) inset;
}

.deepchatbottomsection .msg.mentions-me .bubble {
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35) inset;
}

.deepchatbottomsection .mention-suggest {
    position: absolute;
    bottom: 60px;
    left: 18px;
    right: 18px;
    max-height: 220px;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    z-index: 10;
}

.deepchatbottomsection .mention-suggest.hidden {
    display: none;
}

.deepchatbottomsection .mention-suggest .item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
}

.deepchatbottomsection .mention-suggest .item:hover,
.deepchatbottomsection .mention-suggest .item.active {
    background: var(--bg-soft);
}

.deepchatbottomsection .mention-suggest .item .avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--text);
    opacity: 0.9;
}

.deepchatbottomsection .mention-suggest .item .name {
    font-weight: 600;
}

.deepchatbottomsection .group-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.deepchatbottomsection .group-info-btn,
.deepchatbottomsection .group-settings-btn {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.2rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    transition: background 0.2s, color 0.2s;
}

.deepchatbottomsection .group-info-btn:hover,
.deepchatbottomsection .group-settings-btn:hover {
    color: #fff;
    background: var(--surface);
}

.deepchatbottomsection .info-view {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--bg);
}

.deepchatbottomsection .info-header {
    height: 50px;
    background: #121316;
    border-bottom: 1px solid #2e2e32;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
}

.deepchatbottomsection .info-back {
    background: var(--surface);
    border: none;
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.deepchatbottomsection .info-title {
    font-weight: 600;
    font-size: 1rem;
}

.deepchatbottomsection .info-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
    max-width: 1100px;
    scrollbar-color: var(--accent) var(--bg-soft);
}

.info-content::-webkit-scrollbar {
    width: 8px;
}

.info-content::-webkit-scrollbar-track {
    background: var(--bg-soft);
    border-radius: 10px;
}

.info-content::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
    border: 2px solid var(--bg-soft);
}

.info-content::-webkit-scrollbar-thumb:hover {
    background: #5c55f5;
}

.deepchatbottomsection .info-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.deepchatbottomsection .info-card h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
}

.deepchatbottomsection .messages-view::-webkit-scrollbar {
  width: 8px;
}

.deepchatbottomsection .messages-view::-webkit-scrollbar-track {
  background: var(--bg-soft);
  border-radius: 10px;
}

.deepchatbottomsection .messages-view::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
  border: 2px solid var(--bg-soft);
}

.deepchatbottomsection .messages-view::-webkit-scrollbar-thumb:hover {
  background: #5c55f5;
}


@media (max-width: 900px) {
    .deepchatbottomsection #app {
        grid-template-columns: 72px 1fr;
    }

    .deepchatbottomsection .sidebar-header,
    .deepchatbottomsection .create-group-btn,
    .deepchatbottomsection .group-item .info .name,
    .deepchatbottomsection #bottomTab .username {
        display: none;
    }

    .deepchatbottomsection .group-item {
        justify-content: center;
    }

    .deepchatbottomsection .group-item .avatar {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 600px) {
    .deepchatbottomsection .composer {
        gap: 6px;
        padding: 0 10px;
    }

    .deepchatbottomsection .image-preview {
        max-width: 70%;
    }

    .deepchatbottomsection .group-header-bar {
        padding: 0 12px;
    }

    .deepchatbottomsection .group-name {
        font-size: 0.95rem;
    }

    .deepchatbottomsection .group-info-btn,
    .deepchatbottomsection .group-settings-btn {
        width: 32px;
        height: 32px;
        font-size: 1.05rem;
    }
}

#groupsList {
  max-height: 450px;
  overflow-y: auto;
  scrollbar-color: var(--accent) var(--bg-soft);
}

#groupsList::-webkit-scrollbar {
  width: 6px;
}

#groupsList::-webkit-scrollbar-thumb {
  background-color: rgba(120, 120, 120, 0.5);
  border-radius: 3px;
}