:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --primary: #1447d6;
    --primary-dark: #0e2f9d;
    --text: #1a1f2b;
    --muted: #60708a;
    --border: #dfe7f5;
    --danger-bg: #fff0f0;
    --danger-border: #f0c6c6;
    --danger-text: #8f2d2d;
    --success-bg: #ebfff5;
    --success-border: #b9ebcc;
    --success-text: #18673f;
    --shadow: rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.container {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 2px var(--shadow);
}

.nav-shell,
.app-header,
.container.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: bold;
    color: var(--primary-dark);
    white-space: nowrap;
}

.brand-logo {
    max-height: 32px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
}

.brand-logo-preview {
    display: block;
    max-width: 180px;
    max-height: 50px;
    object-fit: contain;
    margin-bottom: 8px;
}

.logo-preview-box {
    margin-top: 8px;
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    color: var(--muted);
}

.main-nav,
nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex: 1;
    flex-wrap: wrap;
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

nav a,
.nav-dropdown-toggle,
.auth-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font: inherit;
}

nav a,
.nav-dropdown-toggle {
    padding: 8px 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

nav a:hover,
.nav-dropdown-toggle:hover {
    background: #eef3ff;
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--text);
    appearance: none;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 180px;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    z-index: 20;
}

.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: flex;
}

.nav-dropdown-menu a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
}

.nav-dropdown-menu a:hover {
    background: #f3f6ff;
}

.user-menu {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.user-dropdown {
    margin-left: 8px;
}

.user-toggle {
    font-weight: 700;
    color: var(--primary-dark);
}

.user-menu-panel {
    left: 0;
    right: auto;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.primary-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 18px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.small-btn {
    padding: 9px 14px;
    font-size: 0.95rem;
}

.page {
    padding: 32px 0 48px;
}

.hero {
    background: linear-gradient(135deg, #edf3ff, #f8fbff);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 22px;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3vw, 3rem);
}

.hero p {
    margin: 0;
    color: var(--muted);
    max-width: 720px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.stat-box,
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 1px 2px var(--shadow);
}

.stat-box strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.stat-box span {
    color: var(--muted);
}

.card h2,
.card h1 {
    margin-top: 0;
}

.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.auth-card,
.form-card {
    width: min(520px, 100%);
    margin: 80px auto;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label {
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
    background: white;
}

textarea {
    resize: vertical;
}

.primary-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 18px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.small-btn {
    padding: 9px 14px;
    font-size: 0.95rem;
}

.alert,
.success-box {
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 12px;
}

.alert {
    background: var(--danger-bg);
    border: 1px solid var(--danger-border);
    color: var(--danger-text);
}

.success-box {
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    color: var(--success-text);
}

.auth-link {
    text-align: center;
    margin-top: 12px;
}

.auth-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.listing-card {
    min-height: 220px;
}

.listing-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.listing-title-row h2 {
    margin: 0;
    font-size: 1.25rem;
}

.price {
    color: var(--primary-dark);
    font-weight: bold;
    white-space: nowrap;
}

.item-image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #f8fafc;
    margin-bottom: 14px;
}

.detail-image {
    height: 280px;
    margin-bottom: 18px;
}

.muted {
    color: var(--muted);
}

.empty-state {
    text-align: center;
}

.auction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.admin-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.admin-action-group {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.admin-action-group:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.admin-action-group h3 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.admin-tool {
    min-width: 160px;
    min-height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.25;
}

.compact-card {
    margin: 0 0 22px;
}

.receipt-routing {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fbfdff;
}

.receipt-routing h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.receipt-routing p {
    margin: 6px 0;
}

.receipt-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.receipt-table th,
.receipt-table td {
    padding: 0.5rem;
}

.receipt-table tbody td {
    border-top: 1px solid #eaeaea;
}

.align-right {
    text-align: right;
}

.receipt-totals {
    margin-top: 1rem;
    text-align: right;
}

.receipt-actions {
    margin-top: 1rem;
}

.checkbox-row {
    display: flex;
    align-items: center;
}

.checkbox-row label {
    display: flex;
    align-items: center;
    gap: 8px;
}

input[type="checkbox"] {
    width: auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-enabled {
    background: #ebfff5;
    color: #18673f;
}

.badge-disabled {
    background: #f3f4f6;
    color: #4b5563;
}

.room-grid,
.bot-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.chat-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.3fr) minmax(270px, 0.95fr);
    gap: 22px;
    align-items: start;
}

.chat-panel,
.side-panel {
    min-height: 100%;
}

.classic-chat-panel {
    background: #f5f7fb;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
}

.chat-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 12px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.18);
}

.chat-header-title {
    margin: 0;
    font-size: clamp(1.35rem, 1.8vw, 1.8rem);
    font-weight: 700;
    color: #1f2430;
    line-height: 1.2;
}

.live-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    padding: 4px 9px;
    border-radius: 7px;
    background: #1447d6;
    color: #f5f5f5;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.classic-side-panel {
    background: #f7f9fc;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 16px 12px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
}

.classic-side-panel h2 {
    margin: 0 0 18px;
    font-size: clamp(1.7rem, 2vw, 2.3rem);
    color: #1f2430;
}

.whois-box {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.participant-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #1d7b74;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.side-section {
    border-top: 1px solid rgba(108, 92, 67, 0.22);
    padding-top: 16px;
    margin-top: 10px;
}

.side-section h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    color: #2a2d34;
}

.bot-list-rows li {
    background: rgba(255,255,255,0.35);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
}

.last-section {
    margin-top: 18px;
}

.message-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 520px;
    min-height: 520px;
    max-height: 520px;
    overflow-y: auto;
    padding: 16px 16px 8px;
    background: rgba(255,255,255,0.12);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.empty-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 18px;
}

.message-row {
    display: flex;
}

.message-row.self {
    justify-content: flex-end;
}

.message-item {
    width: 100%;
    max-width: 82%;
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--border);
    border-radius: 10px 10px 10px 4px;
    padding: 10px 12px 9px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.message-row.self .message-item {
    background: rgba(20, 71, 214, 0.06);
    border-color: rgba(20, 71, 214, 0.18);
    border-radius: 10px 10px 4px 10px;
}

.message-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
    font-size: 0.76rem;
    color: #5f6774;
}

.message-meta strong {
    color: #141a22;
    font-weight: 700;
}

.message-item p {
    margin: 0;
    color: #1f2733;
    line-height: 1.45;
    font-size: 0.98rem;
}

.chat-form {
    padding: 12px 16px 16px;
    background: rgba(255,255,255,0.05);
}

.chat-composer {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255,255,255,0.7);
    overflow: hidden;
}

.emoji-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    padding: 0 2px;
}

.emoji-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.12s ease, border-color 0.12s ease;
}

.emoji-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(20, 71, 214, 0.3);
}

.chat-upload-row {
    margin-top: 10px;
}

.image-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    color: var(--text);
    font-size: 0.82rem;
    cursor: pointer;
}

.image-upload-label input {
    display: none;
}

.chat-form textarea {
    width: 100%;
    height: 110px;
    min-height: 110px;
    max-height: 110px;
    resize: none;
    border: none;
    background: transparent;
    color: #1f2430;
    padding: 10px 12px;
    font-size: 0.98rem;
    line-height: 1.5;
}

.chat-form.drag-over .chat-composer,
.chat-form.drag-over .image-upload-label {
    border-color: rgba(45, 105, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(45, 105, 255, 0.12);
}

.message-attachment {
    margin-top: 10px;
}

.message-attachment img {
    display: block;
    max-width: 180px;
    max-height: 160px;
    width: auto;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #f8fafc;
    object-fit: cover;
}

.chat-thumbnail {
    max-width: 180px;
    max-height: 160px;
}

.chat-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.helper-text {
    color: #64748b;
    font-size: 0.78rem;
}

.chat-form .primary-btn {
    min-width: 88px;
    border-radius: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 0.95rem;
}

@media (max-width: 760px) {
    .chat-layout {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .chat-actions-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .bot-assign-form {
        flex-direction: column;
    }
}

.live-room-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(260px, 0.9fr);
    gap: 20px;
    margin-top: 20px;
}

.live-main-panel,
.live-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.live-header-card {
    padding-bottom: 16px;
}

.eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
}

.live-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 12px;
}

.stream-description {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.host-action-row {
    margin-top: 18px;
}

.compact-form {
    display: inline-block;
    margin: 0;
}

.live-stage-card {
    padding: 18px;
}

.live-video-shell {
    background: linear-gradient(180deg, #0f172a 0%, #111827 40%, #1f2937 100%);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 18px;
    padding: 20px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.video-overlay {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fda4af;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

.muted-soft {
    color: rgba(226, 232, 240, 0.85);
    font-size: 0.82rem;
}

.video-preview-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

#host-video {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #020617;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    color: rgba(255, 255, 255, 0.8);
}

.camera-icon {
    font-size: 3.25rem;
    line-height: 1;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.video-placeholder p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.stream-status {
    margin: 12px 0 0;
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.9rem;
}

.live-host-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.soft-btn,
.link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-radius: 10px;
    padding: 9px 12px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.soft-btn:hover,
.link-btn:hover {
    transform: translateY(-1px);
    border-color: #bdd0ff;
}

.soft-btn.is-active {
    background: rgba(20, 71, 214, 0.1);
    border-color: rgba(20, 71, 214, 0.35);
    color: var(--primary);
}

.danger-btn {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    color: #b91c1c;
}

.spotlight-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.spotlight-tile {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    background: #f8fafc;
}

.host-tile {
    background: linear-gradient(180deg, #eef6ff 0%, #f8fbff 100%);
    border-color: #cfe1ff;
}

.tile-label {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.spotlight-tile strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.spotlight-tile small {
    color: var(--muted);
}

.mod-panel,
.audience-panel {
    padding: 18px;
}

.mod-panel h3,
.audience-panel h3 {
    margin-top: 0;
    margin-bottom: 14px;
}

.mod-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.participant-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.participant-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fafcff;
}

.state-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 0.72rem;
    font-weight: 700;
}

.state-pill.enabled {
    background: #ebfff5;
    color: #18673f;
}

.state-pill.muted {
    background: #f3f4f6;
    color: #4b5563;
}

.message-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 12px 0 20px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.message-item {
    max-width: 80%;
    border: 1px solid var(--border);
    border-radius: 16px 16px 16px 6px;
    padding: 12px 14px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.message-item.is-self {
    margin-left: auto;
    border-radius: 16px 16px 6px 16px;
    background: linear-gradient(180deg, #e0f2fe 0%, #dbeafe 100%);
    border-color: #bfdbfe;
}

.message-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.82rem;
}

.message-item.is-self .message-meta {
    color: #1d4ed8;
}

.message-item p {
    margin: 0;
    line-height: 1.5;
    color: #1f2937;
}

.chat-form {
    margin-top: 0;
}

.chat-form textarea {
    min-height: 92px;
    resize: vertical;
}

@media (max-width: 760px) {
    .live-room-layout {
        grid-template-columns: 1fr;
    }

    .spotlight-row {
        grid-template-columns: 1fr;
    }

    .chat-layout {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.compact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.compact-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fafcff;
}

.bot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

@media (max-width: 760px) {
    .chat-layout {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.auction-card,
.bid-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auction-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.auction-header h1,
.auction-header h2 {
    margin: 0;
}

.inline-form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.inline-form-group label {
    min-width: 90px;
}

.bid-form {
    margin-top: 16px;
}

.bid-list {
    padding-left: 18px;
    margin: 0;
}

.bid-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
