:root {
    --sidebar: #123458;
    --sidebar-accent: #1f4d7a;
    --page-bg: #f4f7fb;
    --card-bg: #ffffff;
}

body {
    background: var(--page-bg);
    color: #1f2937;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.admin-body {
    background: linear-gradient(135deg, #edf4ff 0%, #f9fbff 50%, #eef6f5 100%);
}

.guest-body {
    min-height: 100vh;
    background: radial-gradient(circle at top, #dbeafe 0%, #eff6ff 35%, #f8fafc 100%);
}

.guest-card {
    width: min(100%, 460px);
    border-radius: 24px;
}

.sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--sidebar) 0%, #0b2239 100%);
}

.sidebar-link {
    color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.stat-card {
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.card {
    border-radius: 20px;
}

.breadcrumb a {
    text-decoration: none;
}

.dataTables_wrapper .dt-buttons {
    margin-bottom: 1rem;
}

.ck-editor__editable,
.ck-editor__editable_inline {
    min-height: 220px;
}

.editor-tools {
    align-items: center;
}

.html-preview {
    min-height: 180px;
    overflow-x: auto;
}

.html-preview pre,
.html-preview code {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 10px;
}

.html-preview pre {
    padding: 1rem;
}

.select2-container--bootstrap-5 .select2-selection {
    min-height: 38px;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    padding: 0.35rem 0.5rem;
}

.advertisement-logo-thumb {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #fff;
    padding: 0.25rem;
}

.advertisement-logo-preview {
    width: 96px;
    height: 96px;
    object-fit: contain;
    background: #fff;
    padding: 0.4rem;
}

.advertisement-logo-showcase {
    max-height: 220px;
    width: 100%;
    object-fit: contain;
    background: #fff;
    padding: 1rem;
}

@media (max-width: 991.98px) {
    .sidebar {
        width: 96px;
    }

    .sidebar h4,
    .sidebar small,
    .sidebar-link {
        font-size: 0;
    }

    .sidebar-link::before {
        font-size: 0.95rem;
    }
}
