/* ============================================================================
   CRAFTIVIA BOUQUET - LUXURY EDITORIAL BENTO STYLESHEET
   ============================================================================ */

/* Base Font & Smooth Rendering */
html {
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar Elegan */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #D4D4D8;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A1A1AA;
}

/* Luxury Pill Button CTA */
.btn-luxury {
    background-color: #111111;
    color: #FFFFFF;
    border-radius: 9999px;
    padding: 0.85rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(17, 17, 17, 0.08);
}
.btn-luxury:hover {
    background-color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(17, 17, 17, 0.15);
}
.btn-luxury:active {
    transform: translateY(0);
}
.btn-luxury .arrow-circle {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 9999px;
    background-color: #FFFFFF;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}
.btn-luxury:hover .arrow-circle {
    transform: translateX(2px);
}

/* Bento Card Defaults */
.bento-card {
    background-color: #FFFFFF;
    border-radius: 28px;
    border: 1px solid #EBEBEA;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.bento-card-subtle {
    background-color: #EFEFED;
    border-radius: 28px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Status Pill Badges */
.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Modal Overlay & Transitions */
.modal-backdrop {
    background-color: rgba(17, 17, 17, 0.45);
    backdrop-filter: blur(6px);
}

/* Toggle Radio Button Selected Styling */
.radio-tile-active {
    background-color: #111111 !important;
    color: #FFFFFF !important;
    border-color: #111111 !important;
}
.radio-tile-active .radio-icon {
    background-color: #FFFFFF !important;
    color: #111111 !important;
}

/* ============================================================================
   PRINT STYLESHEET (THERMAL 58mm, 80mm & PRINTER STANDAR A4/A5)
   ============================================================================ */
@media print {
    /* Sembunyikan elemen antarmuka browser saat print */
    .no-print, header, nav, .btn-print-controls, .modal-backdrop {
        display: none !important;
    }
    
    body {
        background-color: #FFFFFF !important;
        color: #000000 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #print-container {
        display: block !important;
        position: absolute;
        left: 0;
        top: 0;
        width: 100% !important;
        background: #FFFFFF !important;
    }

    /* Ukuran Kertas Thermal 58mm */
    body.paper-58mm {
        width: 58mm !important;
    }
    body.paper-58mm #print-container {
        width: 54mm !important;
        margin: 0 auto;
        font-size: 10px !important;
        line-height: 1.3 !important;
    }

    /* Ukuran Kertas Thermal 80mm */
    body.paper-80mm {
        width: 80mm !important;
    }
    body.paper-80mm #print-container {
        width: 72mm !important;
        margin: 0 auto;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    /* Ukuran Kertas Standar A4 / A5 */
    body.paper-standard #print-container {
        max-width: 180mm !important;
        margin: 10mm auto !important;
        font-size: 13px !important;
    }

    /* Garis pembatas putus-putus pada struk thermal */
    .thermal-divider {
        border-top: 1px dashed #000000 !important;
        margin: 6px 0 !important;
    }
    .thermal-divider-double {
        border-top: 1px double #000000 !important;
        margin: 6px 0 !important;
    }
}
