/* ===== CSS Variables ===== */
:root {
    --bg-dark: #1a1a2e;
    --bg-sidebar: #16213e;
    --bg-list: #1f2b47;
    --bg-card: #253352;
    --bg-hover: #2d3f5e;
    --bg-input: #0d1117;
    --border: #2a3a5c;
    --text: #e8e8e8;
    --text-dim: #8899aa;
    --accent: #12b7f5;
    --accent-hover: #0ea5e0;
    --green: #07c160;
    --red: #fa5151;
    --orange: #ff9500;
    --purple: #7c3aed;
    --radius: 8px;
    --radius-lg: 12px;
}

/* ===== Global Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
    border: none;
    background: none;
}

button { cursor: pointer; }

input::-webkit-search-cancel-button {
    display: none !important;
}

img { max-width: 100%; display: block; }

ul, ol { list-style: none; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-dim);
}

/* ===== Toast ===== */
#toastBox {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.toast {
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    color: #fff;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
    pointer-events: auto;
}

.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--red); }
.toast.warning { border-left: 3px solid var(--orange); }
.toast.info { border-left: 3px solid var(--accent); }

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
    from { opacity: 1; }
    to { opacity: 0; transform: translateY(-20px); }
}

/* ===== Image Viewer ===== */
#imgViewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    animation: fadeIn 0.2s ease;
}

#imgViewer img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius);
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== Login Page ===== */
#loginPage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(18,183,245,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(124,58,237,0.08) 0%, transparent 50%);
}

.login-box {
    width: 380px;
    max-width: 90vw;
    background: var(--bg-sidebar);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
}

.login-logo p {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 4px;
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.auth-tabs button {
    flex: 1;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-dim);
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    background: none;
}

.auth-tabs button.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.auth-tabs button:hover {
    color: var(--text);
}

#formLogin, #formReg {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#formLogin input, #formReg input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
    transition: border-color 0.2s;
}

#formLogin input:focus, #formReg input:focus {
    border-color: var(--accent);
}

#formLogin input::placeholder, #formReg input::placeholder {
    color: var(--text-dim);
}

#formLogin button, #formReg button {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
    margin-top: 4px;
}

#formLogin button:hover, #formReg button:hover {
    background: var(--accent-hover);
}

/* ===== Main App Layout ===== */
#mainApp {
    display: flex;
    width: 100%;
    height: 100%;
}

/* ===== Left Nav Bar ===== */
.nav-bar {
    width: 60px;
    min-width: 60px;
    height: 100%;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 4px;
}

.nav-item {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s;
}

.nav-item:hover {
    background: var(--bg-hover);
}

.nav-item.active {
    background: var(--bg-hover);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--accent);
    border-radius: 0 2px 2px 0;
}

.nav-icon {
    font-size: 20px;
    line-height: 1;
}

.nav-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav-spacer {
    flex: 1;
}

.nav-profile {
    margin-top: 8px;
    cursor: pointer;
}

.nav-profile:hover .avatar {
    box-shadow: 0 0 0 2px var(--accent);
}

/* ===== Avatar ===== */
.avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    overflow: hidden;
}

.avatar-sm {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 12px;
}

.avatar-lg {
    width: 64px;
    height: 64px;
    min-width: 64px;
    font-size: 24px;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== List Panel ===== */
.list-panel {
    width: 280px;
    min-width: 280px;
    height: 100%;
    background: var(--bg-list);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.panel {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.panel-header {
    padding: 16px 12px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.search-input {
    flex: 1;
    padding: 8px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 13px;
    transition: border-color 0.2s;
}

.search-input:focus {
    border-color: var(--accent);
}

.search-input::placeholder {
    color: var(--text-dim);
}

.btn-small {
    padding: 6px 12px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius);
    font-size: 12px;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-small:hover {
    background: var(--accent-hover);
}

.panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 4px 0;
}

/* ===== List Items ===== */
.list-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    gap: 10px;
    cursor: pointer;
    transition: background 0.15s;
}

.list-item:hover {
    background: var(--bg-hover);
}

.list-item.active {
    background: var(--bg-card);
}

.list-item-content {
    flex: 1;
    min-width: 0;
}

.list-item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-item-msg {
    font-size: 12px;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.list-item-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.list-item-time {
    font-size: 11px;
    color: var(--text-dim);
}

.list-item-unread {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}

.offline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
    flex-shrink: 0;
}

/* ===== Content Area ===== */
.content-area {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-dark);
    min-width: 0;
}

/* ===== Empty State ===== */
.empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state p {
    font-size: 15px;
}

/* ===== Chat Window ===== */
#chatWindow {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-sidebar);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.chat-title {
    font-size: 15px;
    font-weight: 600;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.back-btn {
    display: none;
    padding: 4px 10px;
    background: var(--bg-card);
    color: var(--text);
    border-radius: var(--radius);
    font-size: 16px;
    transition: background 0.2s;
}

.back-btn:hover {
    background: var(--bg-hover);
}

/* ===== Chat Messages ===== */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    display: flex;
    gap: 8px;
    max-width: 70%;
    animation: msgIn 0.3s ease;
}

.message.self {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message .avatar {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 12px;
}

.message-bubble {
    padding: 10px 14px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
    position: relative;
}

.message:not(.self) .message-bubble {
    background: var(--bg-card);
    color: var(--text);
    border-top-left-radius: 4px;
}

.message.self .message-bubble {
    background: var(--accent);
    color: #fff;
    border-top-right-radius: 4px;
}

.message-sender {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.message-time {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 4px;
    text-align: right;
}

.message.self .message-time {
    color: rgba(255,255,255,0.6);
}

.message-image {
    max-width: 240px;
    max-height: 240px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: opacity 0.2s;
}

.message-image:hover {
    opacity: 0.85;
}

.message-system {
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
    padding: 4px 0;
    animation: msgIn 0.3s ease;
}

@keyframes msgIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Typing Indicator ===== */
.typing-indicator {
    padding: 4px 16px;
    font-size: 12px;
    color: var(--text-dim);
    min-height: 24px;
    flex-shrink: 0;
}

.typing-indicator span {
    display: inline-block;
    animation: typingDot 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { opacity: 0.3; }
    30% { opacity: 1; }
}

/* ===== Chat Input Area ===== */
.chat-input-area {
    border-top: 1px solid var(--border);
    background: var(--bg-sidebar);
    flex-shrink: 0;
    position: relative;
}

.input-toolbar {
    display: flex;
    gap: 4px;
    padding: 8px 12px 0;
}

.tool-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: var(--radius);
    transition: background 0.15s;
    background: none;
}

.tool-btn:hover {
    background: var(--bg-hover);
}

.input-row {
    display: flex;
    gap: 8px;
    padding: 8px 12px 12px;
    align-items: flex-end;
}

.input-row textarea {
    flex: 1;
    padding: 8px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
    resize: none;
    min-height: 38px;
    max-height: 120px;
    transition: border-color 0.2s;
}

.input-row textarea:focus {
    border-color: var(--accent);
}

.input-row textarea::placeholder {
    color: var(--text-dim);
}

.btn-send {
    padding: 8px 20px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s;
    height: 38px;
}

.btn-send:hover {
    background: var(--accent-hover);
}

/* ===== Emoji Panel ===== */
.emoji-panel {
    display: none;
    padding: 8px 12px;
    max-height: 200px;
    overflow-y: auto;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    animation: slideUp 0.2s ease;
}

.emoji-panel.show {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
}

.emoji-panel span {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.15s;
}

.emoji-panel span:hover {
    background: var(--bg-hover);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Profile Card / Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal-box {
    background: var(--bg-sidebar);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    width: 400px;
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    animation: slideUp 0.25s ease;
}

.modal-box h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

.modal-box .form-group {
    margin-bottom: 14px;
}

.modal-box label {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.modal-box input[type="text"],
.modal-box input[type="password"],
.modal-box textarea {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
    transition: border-color 0.2s;
}

.modal-box input:focus,
.modal-box textarea:focus {
    border-color: var(--accent);
}

.modal-box input::placeholder,
.modal-box textarea::placeholder {
    color: var(--text-dim);
}

.modal-box textarea {
    resize: vertical;
    min-height: 60px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

.btn-primary {
    padding: 8px 20px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    padding: 8px 20px;
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: var(--bg-hover);
}

.btn-danger {
    padding: 8px 20px;
    background: var(--red);
    color: #fff;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.btn-danger:hover {
    opacity: 0.85;
}

.btn-success {
    padding: 8px 20px;
    background: var(--green);
    color: #fff;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.btn-success:hover {
    opacity: 0.85;
}

/* ===== Profile Info ===== */
.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.profile-header .avatar-lg {
    width: 64px;
    height: 64px;
    min-width: 64px;
    font-size: 24px;
}

.profile-info h4 {
    font-size: 18px;
    font-weight: 600;
}

.profile-info p {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 2px;
}

.profile-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* ===== Settings ===== */
.settings-section {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.settings-section:last-child {
    border-bottom: none;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background 0.15s;
}

.settings-item:hover {
    background: var(--bg-hover);
}

.settings-item-label {
    font-size: 14px;
    color: var(--text);
}

.settings-item-value {
    font-size: 13px;
    color: var(--text-dim);
}

/* ===== Announcement ===== */
.announce-item {
    padding: 12px;
    margin: 4px 12px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
}

.announce-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.announce-item p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
}

.announce-item .announce-time {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 8px;
}

/* ===== Friend Request ===== */
.friend-request {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-card);
    border-radius: var(--radius);
    margin: 4px 0;
}

.friend-request .request-info {
    flex: 1;
    min-width: 0;
}

.friend-request .request-name {
    font-size: 14px;
    font-weight: 500;
}

.friend-request .request-msg {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
}

.friend-request .request-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

/* ===== Group Info ===== */
.group-card {
    padding: 12px;
    margin: 4px 0;
    background: var(--bg-card);
    border-radius: var(--radius);
}

.group-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.group-card p {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.group-card .group-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-dim);
}

/* ===== Mobile Tabs ===== */
.mobile-tabs {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background: var(--bg-sidebar);
    border-top: 1px solid var(--border);
    z-index: 4000;
    justify-content: space-around;
    align-items: center;
}

.mobile-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding: 8px 0;
    cursor: pointer;
    transition: color 0.2s;
    position: relative;
}

.mobile-tab.active {
    color: var(--accent);
}

.mobile-tab.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 0 0 2px 2px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-bar {
        display: none;
    }

    .list-panel {
        width: 100%;
        min-width: 100%;
    }

    .content-area {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 3000;
        display: none;
    }

    .content-area.mobile-show {
        display: flex;
    }

    .mobile-tabs {
        display: flex;
    }

    #mainApp {
        padding-bottom: 56px;
    }

    .back-btn {
        display: inline-flex !important;
    }

    .message {
        max-width: 85%;
    }

    .chat-messages {
        padding: 12px;
    }

    .login-box {
        padding: 30px 20px;
    }
}

/* ===== Utility ===== */
.text-accent { color: var(--accent); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-orange { color: var(--orange); }
.text-dim { color: var(--text-dim); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }

