/* ═══════════════════════════════════════════════════════════
   X Tweet Çeviri Paneli — Premium Dark Theme
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
    /* Renkler (Corporate Dark Theme) */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --bg-glass: rgba(30, 41, 59, 0.7);
    --bg-modal: rgba(0, 0, 0, 0.75);

    --border-color: rgba(255, 255, 255, 0.1);
    --border-active: #3b82f6;

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-white: #ffffff;

    /* Aksan Renkleri */
    --accent-purple: #818cf8;
    --accent-purple-light: #a5b4fc;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-amber: #f59e0b;
    --accent-red: #ef4444;
    --accent-pink: #ec4899;

    /* Gradyanlar */
    --gradient-primary: linear-gradient(135deg, #6366f1, #3b82f6);
    --gradient-glow: linear-gradient(135deg, #818cf8, #60a5fa);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    --gradient-sidebar: #0f172a;

    /* Boyutlar */
    --sidebar-width: 280px;
    --header-height: 64px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Gölgeler */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 10px rgba(59, 130, 246, 0.2);
    --shadow-glow-strong: 0 0 15px rgba(59, 130, 246, 0.3);

    /* Geçişler */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* ─── Reset & Base ─────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 15px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Arka plan dekorasyon */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; height: 100%;
    background: var(--bg-primary);
    pointer-events: none;
    z-index: -1;
}

/* ─── Icons ────────────────────────────────────────────── */
.lucide {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: inline-block;
    vertical-align: text-bottom;
}

.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 16px; height: 16px; }
.inline-icon { margin-right: 4px; vertical-align: middle; }

/* ─── Header ───────────────────────────────────────────── */
#app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 1.6rem;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.4));
}

.logo h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ─── Buttons ──────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.87rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow-strong);
    transform: translateY(-1px);
}

.btn-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: var(--shadow-glow); }
    50% { box-shadow: var(--shadow-glow-strong); }
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-active);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 10px;
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
    padding: 4px 10px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-accent {
    background: var(--accent-purple);
    color: var(--text-white);
}

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

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.25);
}

.btn-icon {
    font-size: 1rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn.loading .btn-text {
    opacity: 0;
}

.btn.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    position: absolute;
}

/* ─── Layout ───────────────────────────────────────────── */
#app-main {
    display: flex;
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
    position: relative;
    z-index: 1;
}

/* ─── Sidebar ──────────────────────────────────────────── */
#sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    background: var(--gradient-sidebar);
    border-right: 1px solid var(--border-color);
    padding: 20px 16px;
    overflow-y: auto;
    height: calc(100vh - var(--header-height));
    position: sticky;
    top: var(--header-height);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* İstatistikler */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
    transition: all var(--transition-base);
}

.stat-card:hover {
    border-color: var(--border-active);
    background: var(--bg-card-hover);
}

.stat-card.stat-highlight {
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.1), var(--bg-card));
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
}

.stat-highlight .stat-value {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Hesap Listesi */
.accounts-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 250px;
    overflow-y: auto;
}

.account-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    gap: 8px;
}

.account-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.account-item.active {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.account-item.selected {
    background: rgba(139, 92, 246, 0.15);
}

.account-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

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

.account-dot.inactive {
    background: var(--text-muted);
}

.account-name {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-actions {
    display: flex;
    gap: 2px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.account-item:hover .account-actions {
    opacity: 1;
}

.account-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px 4px;
    font-size: 0.75rem;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.account-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.account-btn.delete:hover {
    color: var(--accent-red);
}

/* Filtreler */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chip:hover {
    border-color: var(--border-active);
    color: var(--text-primary);
}

.chip.active {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: white;
}

/* Input */
.input-field {
    width: 100%;
    padding: 8px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.87rem;
    transition: all var(--transition-fast);
    outline: none;
}

.input-field:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.input-field::placeholder {
    color: var(--text-muted);
}

/* DeepL Usage */
.usage-bar-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.usage-bar {
    height: 6px;
    background: var(--bg-card);
    border-radius: 3px;
    overflow: hidden;
}

.usage-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width var(--transition-slow);
}

.usage-text {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ─── Tweets Container ─────────────────────────────────── */
#tweets-container {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
    max-height: calc(100vh - var(--header-height));
}

#tweets-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

#tweets-count {
    font-size: 0.87rem;
    color: var(--text-secondary);
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent-purple);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ─── Tweet Card ───────────────────────────────────────── */
#tweets-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tweet-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.tweet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.tweet-card:hover {
    border-color: var(--border-active);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.tweet-card:hover::before {
    opacity: 1;
}

.tweet-card.status-new {
    border-left: 3px solid var(--accent-purple);
}

.tweet-card.status-reviewed {
    border-left: 3px solid var(--accent-amber);
}

.tweet-card.status-posted {
    border-left: 3px solid var(--accent-green);
    opacity: 0.75;
}

/* Tweet Header */
.tweet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.tweet-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tweet-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.tweet-author-info {
    display: flex;
    flex-direction: column;
}

.tweet-author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
}

.tweet-author-handle {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.tweet-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.tweet-date {
    font-size: 0.8rem;
    color: var(--accent-purple-light);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(139, 92, 246, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.tweet-time {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.tweet-status-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-new {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple-light);
}

.badge-reviewed {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-amber);
}

.badge-posted {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
}

/* Tweet Body */
.tweet-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tweet-text-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tweet-text-block {
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.tweet-text-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.tweet-text-content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-primary);
    word-break: break-word;
}

.tweet-text-block.translated {
    border-color: rgba(139, 92, 246, 0.15);
    background: rgba(139, 92, 246, 0.04);
}

.tweet-text-block.translated .tweet-text-content {
    color: var(--text-white);
}

.inline-copy-btn {
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.inline-copy-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Medya */
.tweet-media {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
    margin-top: 4px;
}

.media-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.media-item img,
.media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.media-item:hover img,
.media-item:hover video {
    transform: scale(1.05);
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.media-item:hover .media-overlay {
    opacity: 1;
}

.media-type-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Tweet Footer */
.tweet-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.tweet-link {
    font-size: 0.78rem;
    color: var(--accent-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.tweet-link:hover {
    color: var(--accent-cyan);
    text-decoration: underline;
}

.tweet-actions {
    display: flex;
    gap: 6px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.action-btn:hover {
    border-color: var(--border-active);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.action-btn.copy-btn:hover {
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--accent-blue);
}

.action-btn.status-btn:hover {
    border-color: rgba(16, 185, 129, 0.4);
    color: var(--accent-green);
}

.action-btn.download-btn:hover {
    border-color: rgba(6, 182, 212, 0.4);
    color: var(--accent-cyan);
}

.action-btn.copied {
    border-color: var(--accent-green);
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
}

/* ─── Load More ────────────────────────────────────────── */
#load-more-container {
    display: flex;
    justify-content: center;
    padding: 24px 0;
}

/* ─── Empty State ──────────────────────────────────────── */
#empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

#empty-state h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

#empty-state p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ─── Modal ────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-modal);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    animation: fadeIn 0.2s ease;
}

.modal {
    width: 420px;
    max-width: 90vw;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

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

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

.input-group {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.input-group:focus-within {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.input-prefix {
    padding: 10px 0 10px 14px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.input-group .input-field {
    border: none;
    background: transparent;
    padding-left: 4px;
}

.input-group .input-field:focus {
    box-shadow: none;
}

.input-hint {
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
}

/* ─── Toast ────────────────────────────────────────────── */
#toast-container {
    position: fixed;
    top: calc(var(--header-height) + 16px);
    right: 24px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 280px;
    max-width: 400px;
    animation: toastIn 0.3s ease;
    backdrop-filter: blur(10px);
}

.toast.removing {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateX(40px);
    }
}

.toast-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-primary);
    flex: 1;
}

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

/* ─── Utility ──────────────────────────────────────────── */
.hidden {
    display: none !important;
}

/* Scrollbar stili */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
    .tweet-text-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #sidebar {
        display: none;
    }

    #tweets-container {
        padding: 16px;
    }

    .tweet-card {
        padding: 14px;
    }

    .tweet-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .tweet-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .action-btn {
        flex: 1;
        justify-content: center;
    }
}
