/* 
 * Konsey Arena - Premium Global Style
 * Design: Dark Mode / Gold Accents / PWA Optimized
 */

:root {
    --gold: #e6c200;
    --gold-dark: #b39700;
    --gold-glow: rgba(230, 194, 0, 0.3);
    --bg-dark: #0a0a0a;
    --bg-surface: #121212;
    --bg-card: #1a1a1a;
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #e6e6e6;
    --text-muted: #999999;
    --danger: #ff4d4d;
    --success: #2ecc71;
    --accent-blue: #00a2ff;
}

/* --- LIGHT MODE VARIABLES --- */
body.light-mode {
    --bg-dark: #f0f2f5;
    /* Daha belirgin kırık beyaz/gri */
    --bg-surface: #ffffff;
    /* Beyaz kartlar */
    --bg-card: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);
    /* Biraz daha hafif border */
    --text-primary: #1a1a1a;
    /* Koyu metin */
    --text-muted: #666666;
    --gold: #e6c200;
    /* Altın rengi koruyalım ama belki biraz koyultabiliriz */
    --gold-glow: rgba(230, 194, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- NAVBAR --- */
.navbar {
    height: 80px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

/* NAVBAR LIGHT MODE OVERRIDE */
body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

/* MOBILE MENU HEADER LIGHT MODE OVERRIDE */
body.light-mode .mobile-menu-header {
    background: #1a1a1a;
    /* Logo ve yazı görünsün diye koyu arka plan */
}

.navbar-brand img {
    height: 45px;
    vertical-align: middle;
}

.text-logo {
    font-size: 1.4rem;
    font-weight: 900;
    margin-left: 10px;
    background: linear-gradient(to right, #fff, var(--gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* --- MATCH CARDS --- */
.match-card {
    /* match-card */
    background: var(--bg-surface);
    /* light mode için surface değişkeni */
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 15px 15px 15px;
    /* Üst padding artırıldı (Tarih çakışmasını önlemek için) */
    /* Daraltıldı */
    margin: 0 auto 15px;
    /* Alt boşluk azaltıldı */
    max-width: 700px;
    display: flex;
    flex-direction: column;
    /* For analysis support */
    gap: 10px;
    /* Ara boşluk azaltıldı */
    position: relative;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

/* Dark mode default override for card background if needed, but var(--bg-surface) handles it */
body:not(.light-mode) .match-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.match-card:hover {
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.15);
    /* ALTIN GÖLGE */
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-5px) scale(1.01);
}

.match-card:active {
    transform: scale(0.98);
}

.match-date {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 15px;
    /* Sol yerine sağ üstte */
    left: auto;
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .match-date {
        font-size: 0.6rem;
        padding: 3px 8px;
        top: 8px;
        right: 10px;
    }
}

.team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.team-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 15px;
}

.team-name {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 120px;
}

.score-display {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 2px;
}

.vs-text {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--text-muted);
    opacity: 0.5;
}

/* --- BADGES --- */
.match-status-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.match-status-badge.warn {
    background: rgba(230, 194, 0, 0.15) !important;
    color: var(--gold) !important;
}

.match-status-badge.danger {
    background: rgba(255, 77, 77, 0.15) !important;
    color: var(--danger) !important;
}

/* --- INPUTS & BUTTONS --- */
/* Hide Number Input Arrows */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.score-input {
    width: 45px;
    height: 45px;
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--gold);
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    outline: none;
}

.score-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--gold);
    color: #000;
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

/* --- MOBILE DRAWER & APP REFINEMENTS --- */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        /* Kenar boşluklarını biraz azalt */
    }

    .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .auth-box {
        padding: 25px 20px;
        margin-top: 20px;
        /* Mobilde çok aşağıda olmasın */
    }

    .countdown-value {
        font-size: 2rem;
    }

    /* Fikstür Kartlarını Kompakt Yap */
    .match-card {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 16px;
        /* Keep existing border-radius */
    }

    .match-card>div:nth-child(2) {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .prediction-container {
        padding-bottom: 80px;
    }

    .team {
        flex-direction: column;
        justify-content: center;
        width: auto;
        flex: 1;
        gap: 5px;
    }

    .team-logo {
        width: 40px;
        /* Logoyu biraz küçült */
        height: 40px;
        padding: 5px;
    }

    .team-name {
        /* Keep existing team-name font-size */
        font-size: 0.75rem;
    }

    .match-center {
        margin: 0 5px;
    }

    .score-display {
        font-size: 1.8rem;
    }

    /* Navbar Başlığı Mobilde Küçülsün */
    .navbar h1 {
        font-size: 1rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }

    /* Tabloyui Genişlet */
    .leaderboard-table {
        font-size: 0.9rem;
        /* Yazıları biraz küçült */
    }

    .leaderboard-table th,
    .leaderboard-table td {
        padding: 10px 8px;
        /* Hücre boşluklarını ayarla */
    }

    /* Tablo Taşmasını Önle */
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Alert Mesajlarını Mobilde Düzelt */
    .alert {
        margin: 10px 0 20px;
        font-size: 0.9rem;
        padding: 12px;
    }

    /* Bildirim Kutusunu Mobilde Ayarla */
    .notification-dropdown {
        width: 85vw;
        /* Ekranın %85'i */
        max-width: 350px;
        right: -10px;
        /* Sağa yasla */
        top: 45px;
    }

    /* TOPLULUK SAYFASI DÜZELTME */
    .predictions-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* 3 sütun zorla ama sığdır */
        gap: 5px;
        /* Boşluğu azalt */
    }

    .prediction-box {
        padding: 5px;
        font-size: 0.8rem;
    }

    .prediction-box .match-code {
        font-size: 0.65rem;
        /* İsimleri küçült */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        max-width: 100%;
    }

    .prediction-box .score {
        font-size: 1rem;
        font-weight: 800;
    }

    /* Profil Butonları Arası Boşluk */
    .btn-block {
        margin-bottom: 15px;
        width: 100%;
        display: block;
    }
}

/* Page Header Title */
.page-header {
    padding: 40px 0 20px;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
}

/* --- ALERTS --- */
.alert {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.alert-success {
    background: rgba(46, 204, 113, 0.1);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.alert-danger {
    background: rgba(255, 77, 77, 0.1);
    color: var(--danger);
    border: 1px solid rgba(255, 77, 77, 0.2);
}

.alert-warning {
    background: rgba(230, 194, 0, 0.1);
    color: var(--gold);
    border: 1px solid rgba(230, 194, 0, 0.2);
}

/* --- COMMUNITY GRID --- */
/* Save Button Container - Artık Sabit Değil */
.save-button-container {
    margin-top: 30px;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* WINNER CARD */
.winner-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 15px;
    /* Daraltıldı */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}



/* --- AUTH PAGES (Login/Register) --- */
.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.auth-logo {
    text-align: center;
    margin-bottom: 20px;
}

.auth-logo img {
    max-height: 80px;
    width: auto;
}

.auth-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--gold);
}

/* --- FORMS --- */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    font-size: 1.1rem;
}

/* --- CARDS --- */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

/* --- COUNTDOWN TIMER --- */
.countdown-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    margin: 30px auto;
    max-width: 700px;
    text-align: center;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- NOTIFICATIONS DROPDOWN --- */
.notification-container {
    position: relative;
    cursor: pointer;
}

.notification-bell {
    font-size: 1.5rem;
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.notification-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 320px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9999;
}

.notification-dropdown.show {
    display: block;
}

.notification-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h3 {
    font-size: 1rem;
    margin: 0;
}

.mark-read-btn {
    background: transparent;
    border: none;
    color: var(--gold);
    cursor: pointer;
    font-size: 0.8rem;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notif-item {
    display: flex;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.notif-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.notif-item.unread {
    background: rgba(230, 194, 0, 0.05);
}

.notif-icon {
    font-size: 1.5rem;
}

.notif-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.notif-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.notif-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.notification-footer {
    padding: 10px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.view-all-btn {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.8rem;
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--gold);
    cursor: pointer;
}

/* --- UTILITY CLASSES --- */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.text-gold {
    color: var(--gold);
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

/* --- SCORE INPUTS (Score Entry Grid) --- */
.score-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* --- BADGE STYLES --- */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-success {
    background: rgba(46, 204, 113, 0.2);
    color: var(--success);
}

.badge-danger {
    background: rgba(255, 77, 77, 0.2);
    color: var(--danger);
}

/* --- ADMIN STYLES --- */
.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-gold {
    background: var(--gold);
    color: #000;
    border: none;
}

.btn-gold:hover {
    background: var(--gold-dark);
}

.btn-outline-info {
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
}

.btn-success {
    background: var(--success);
    color: #fff;
}

/* --- ROW/COL UTILITY (for forms) --- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 10px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 10px;
}

/* LEADERBOARD TABLE STYLES */
.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 12px 15px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
}

.leaderboard-table th {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

/* İlk sütun (#) ortalı */
.leaderboard-table th:first-child,
.leaderboard-table td:first-child {
    text-align: center;
}

/* Son sütun (Puan) sağa yaslı ve genişlik ayarı */
.leaderboard-table th:last-child,
.leaderboard-table td:last-child {
    text-align: right;
    padding-left: 30px;
    /* İsimden uzaklaşsın */
    white-space: nowrap;
}

.rank-badge {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    line-height: 24px;
    text-align: center;
    font-weight: 900;
    color: #fff;
    font-size: 0.8rem;
}

.rank-1 {
    background: linear-gradient(135deg, #FFD700, #FDB931);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.rank-2 {
    background: linear-gradient(135deg, #E0E0E0, #BDBDBD);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color: #444;
}

.rank-3 {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    box-shadow: 0 2px 10px rgba(160, 82, 45, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* LEADERBOARD DESKTOP CONSTRIANT */
@media (min-width: 992px) {
    .container .card:has(.leaderboard-table) {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

@media (max-width: 768px) {
    .mobile-hide {
        display: none;
    }

    .mobile-only-details {
        display: block !important;
        margin-top: 2px;
    }
}

/* --- AI ASSISTANT CHATBOT --- */
.ai-fab-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold), #b39700);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    z-index: 9990;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.ai-fab-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

.ai-chat-window {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 350px;
    max-width: 90vw;
    height: 500px;
    max-height: 70vh;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    z-index: 9991;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.ai-chat-window.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.ai-header {
    background: linear-gradient(to right, #1a1a1a, #000);
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-title {
    font-weight: 900;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-close {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.ai-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.ai-msg {
    max-width: 85%;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ai-msg.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    color: #eee;
    border-bottom-left-radius: 2px;
}

.ai-msg.user {
    align-self: flex-end;
    background: rgba(230, 194, 0, 0.15);
    color: var(--gold);
    border-bottom-right-radius: 2px;
    text-align: right;
}

.ai-input-area {
    padding: 15px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

/* Takım Öneri Listesi */
.team-suggestions {
    position: absolute;
    bottom: 70px;
    /* input alanının hemen üstü */
    left: 10px;
    right: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    max-height: 150px;
    overflow-y: auto;
    z-index: 9992;
    display: none;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.suggestion-item {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.suggestion-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Typing indicator */
.typing-dots span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #bbb;
    border-radius: 50%;
    margin-right: 3px;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}