:root {
    --kecder-primary: #005a9c;
    --kecder-secondary: #0c7c59;
    --kecder-light: #f4f8fb;
    --kecder-dark: #1f2937;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #1f2937;
}

.site-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.hero {
    background: linear-gradient(135deg, rgba(0, 90, 156, 0.92), rgba(12, 124, 89, 0.9));
    color: #fff;
    padding: 90px 0;
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
}

.section-title {
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--kecder-dark);
}

.feature-card,
.content-card {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    height: 100%;
}

.feature-card .card-body,
.content-card .card-body {
    padding: 1.25rem;
}

.badge-date {
    background-color: var(--kecder-light);
    color: var(--kecder-primary);
    font-weight: 600;
}

.page-banner {
    background-color: var(--kecder-light);
    border-bottom: 1px solid #e5e7eb;
    padding: 45px 0;
}

.page-banner h1 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.admin-body {
    background: linear-gradient(180deg, #eef4f8 0%, #f8fafc 200px, #f8fafc 100%);
}

.admin-sidebar {
    background: linear-gradient(180deg, #17324d 0%, #10273d 100%);
    color: #fff;
    min-height: 100vh;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06);
}

.admin-sidebar-brand {
    background: rgba(255, 255, 255, 0.04);
}

.admin-brand-block {
    align-items: center;
    display: flex;
    gap: 0.9rem;
    pointer-events: none;
    user-select: none;
}

.admin-brand-logo {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    height: 56px;
    object-fit: contain;
    padding: 0.35rem;
    width: 56px;
}

.admin-content {
    min-height: 100vh;
}

.admin-topbar {
    align-items: center;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    display: flex;
    justify-content: space-between;
    padding: 1rem 1rem 0.9rem;
    position: sticky;
    top: 0;
    z-index: 20;
}

.admin-page {
    padding-bottom: 2rem;
}

.active-admin-link {
    background-color: rgba(255, 255, 255, 0.14);
    font-weight: 600;
}

.table-wrap {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    padding: 1rem;
}

.form-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    padding: 1.25rem;
}

.admin-logo-preview {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.admin-logo-remove-form {
    flex-shrink: 0;
}

.admin-logo-preview-image {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    height: 88px;
    object-fit: contain;
    padding: 0.4rem;
    width: 88px;
}

.admin-logo-empty {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    color: #64748b;
    padding: 1rem;
}

.admin-hero {
    background: linear-gradient(135deg, rgba(0, 90, 156, 0.96), rgba(12, 124, 89, 0.92));
    border-radius: 20px;
    color: #fff;
    padding: 2rem;
    box-shadow: 0 18px 40px rgba(0, 90, 156, 0.18);
}

.admin-eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.9rem;
    opacity: 0.78;
    text-transform: uppercase;
}

.admin-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.admin-hero-text {
    max-width: 56rem;
    opacity: 0.92;
}

.admin-hero-note {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 1.25rem;
}

.admin-stat-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.quick-action-card {
    border-radius: 16px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 170px;
    padding: 1.2rem;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.quick-action-card:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.quick-action-primary {
    background: linear-gradient(135deg, #005a9c, #0a7bc2);
}

.quick-action-secondary {
    background: linear-gradient(135deg, #0c7c59, #13a06d);
}

.quick-action-accent {
    background: linear-gradient(135deg, #8a3b12, #c55a11);
}

.quick-action-neutral {
    background: linear-gradient(135deg, #334155, #475569);
}

.quick-action-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.quick-action-text {
    line-height: 1.5;
    opacity: 0.92;
}

.admin-list-group .list-group-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.empty-state {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 170px;
}

.object-cover {
    object-fit: cover;
}

.gallery-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        min-height: auto;
    }

    .admin-topbar {
        padding: 0.9rem 1rem;
    }

    .admin-hero {
        padding: 1.4rem;
    }

    .admin-logo-preview {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-logo-remove-form {
        width: 100%;
    }
}
