body {
    background: #0f172a;
    color: #e2e8f0;
    min-height: 100vh;
}

.app-shell {
    min-height: 100vh;
}

.sidebar {
    background: linear-gradient(180deg, #111827 0%, #0b1220 100%);
    border-right: 1px solid #1f2937;
    position: sticky;
    top: 0;
    min-height: 100vh;
}

.brand {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.nav-link {
    color: #cbd5e1;
    border-radius: 10px;
    margin-bottom: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
    background: #1d4ed8;
    color: #fff;
}

.card-glass {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid #1f2937;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.metric {
    font-size: 1.8rem;
    font-weight: 700;
}

.table-dark {
    --bs-table-bg: transparent;
}

.table td,
.table th {
    border-color: #253042;
}

.status-badge {
    text-transform: capitalize;
}

.status-published {
    background: #16a34a;
}

.status-queued,
.status-scheduled_fb {
    background: #2563eb;
}

.status-failed {
    background: #dc2626;
}

.status-draft {
    background: #6b7280;
}

.schedule-datetime {
    display: none;
}

.muted {
    color: #94a3b8;
}

.form-control,
.form-select {
    background: #0b1220;
    border: 1px solid #334155;
    color: #e2e8f0;
}

.form-control:focus,
.form-select:focus {
    background: #0b1220;
    color: #fff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.2);
}

.btn-primary {
    background: #2563eb;
    border-color: #2563eb;
}

.btn-outline-light {
    border-color: #334155;
    color: #e2e8f0;
}

@media (max-width: 991px) {
    .sidebar {
        border-right: none;
        border-bottom: 1px solid #1f2937;
        position: static;
        min-height: auto;
    }

    main.col-lg-10 {
        padding: 1rem !important;
    }

    .metric {
        font-size: 1.35rem;
    }

    .table {
        font-size: 0.9rem;
    }
}

.emoji-btn {
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.emoji-btn:hover {
    background: #1d4ed8 !important;
    transform: scale(1.1);
}

#emoji_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
}

