
/* =========================================================
   1. VARIABEL WARNA
   ========================================================= */

:root {
    --cetakin-blue: #1687D9;
    --cetakin-pink: #F04F8A;
    --cetakin-yellow: #FFD43B;
    --cetakin-dark: #222222;
    --cetakin-bg: #f5f7fb;

    --cetakin-muted: #6c757d;
    --cetakin-border: #e2e6ed;
    --cetakin-white: #ffffff;

    --cetakin-radius: 15px;
    --cetakin-shadow: 0 3px 16px rgba(25, 45, 75, 0.06);
}


/* =========================================================
   2. DASAR HALAMAN
   ========================================================= */

body {
    background: var(--cetakin-bg);
    color: var(--cetakin-dark);
    padding-bottom: 76px;
}

.section-title {
    font-weight: 700;
}

.form-label {
    font-weight: 600;
}

.small-muted {
    color: var(--cetakin-muted);
    font-size: 0.9rem;
}


/* =========================================================
   3. NAVBAR
   ========================================================= */

.navbar-cetakin {
    background: var(--cetakin-blue);
}

.navbar-cetakin .nav-link {
    color: var(--cetakin-white) !important;
}

.navbar-cetakin .nav-link:hover,
.navbar-cetakin .nav-link.active {
    color: var(--cetakin-yellow) !important;
}

.navbar-brand img {
    width: auto;
    max-height: 42px;
    object-fit: contain;
    background: var(--cetakin-white);
    border-radius: 8px;
    padding: 2px;
}


/* =========================================================
   4. KARTU
   ========================================================= */

.card {
    border: 0;
    border-radius: var(--cetakin-radius);
    box-shadow: var(--cetakin-shadow);
}

.stat-card .display-6 {
    font-weight: 700;
}


/* =========================================================
   5. TOMBOL UTAMA
   ========================================================= */

.btn-cetakin {
    background: var(--cetakin-pink);
    color: var(--cetakin-white);
    border-color: var(--cetakin-pink);
}

.btn-cetakin:hover {
    background: #d83c77;
    color: var(--cetakin-white);
    border-color: #d83c77;
}


/* =========================================================
   6. CAROUSEL / BANNER PROMOSI
   ========================================================= */

.carousel-item {
    min-height: 220px;
    padding: 34px 24px;
    border-radius: var(--cetakin-radius);
    color: var(--cetakin-white);
    text-align: center;
}

.carousel-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.carousel-item p {
    font-size: 1rem;
}

.carousel-bg-1 {
    background: var(--cetakin-blue);
}

.carousel-bg-2 {
    background: var(--cetakin-pink);
}

.carousel-bg-3 {
    background: var(--cetakin-yellow);
    color: var(--cetakin-dark);
}


/* =========================================================
   7. QUICK ACTION
   ========================================================= */

.quick-action {
    display: block;
    height: 100%;
    padding: 16px 8px;
    border-radius: 12px;
    background: var(--cetakin-white);
    box-shadow: 0 2px 12px rgba(25, 45, 75, 0.05);
    color: var(--cetakin-dark);
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        color 0.2s ease;
}

.quick-action i {
    display: block;
    margin-bottom: 8px;
    color: var(--cetakin-blue);
    font-size: 1.7rem;
}

.quick-action:hover {
    transform: translateY(-2px);
    color: var(--cetakin-pink);
}


/* =========================================================
   8. NAVIGASI BAWAH MOBILE
   ========================================================= */

.bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;

    display: flex;
    justify-content: space-around;

    padding: 8px 4px
        calc(8px + env(safe-area-inset-bottom));

    border-top: 1px solid #e7eaf0;
    background: var(--cetakin-white);
}

.bottom-nav a {
    min-width: 72px;
    color: var(--cetakin-muted);
    font-size: 0.78rem;
    text-align: center;
    text-decoration: none;
}

.bottom-nav i {
    display: block;
    font-size: 1.25rem;
}

.bottom-nav a.active {
    color: var(--cetakin-blue);
}


/* =========================================================
   9. PILIHAN FINISHING BANNER
   ========================================================= */

.finishing-option {
    display: block;
    height: 100%;
    padding: 12px;

    border: 1px solid var(--cetakin-border);
    border-radius: 12px;

    background: var(--cetakin-white);
    cursor: pointer;
}

.finishing-option:has(input:checked) {
    border: 2px solid var(--cetakin-pink);
    background: #fff7fa;
}

.finishing-option input {
    margin-right: 6px;
}

.finishing-illustration {
    display: flex;
    height: 100px;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    margin-bottom: 10px;
    border-radius: 8px;

    background: #f0f5fa;
    color: var(--cetakin-blue);
    font-size: 2rem;
}

.finishing-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* =========================================================
   10. TABEL
   ========================================================= */

.table th,
.table td {
    vertical-align: middle;
}


/* =========================================================
   11. NAVIGASI ADMIN
   ========================================================= */

.admin-nav {
    padding: 12px;
    border-radius: 12px;
    background: var(--cetakin-white);
}


/* =========================================================
   12. RESPONSIVE
   ========================================================= */

@media (min-width: 768px) {
    body {
        padding-bottom: 20px;
    }

    .bottom-nav {
        display: none;
    }
}
