/* --- 1. LOAD LOCAL FONTS --- */
/* Mendaftarkan font dari folder /fonts/ agar tidak error 404 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* --- VARIABEL UKURAN & WARNA --- */
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    
    /* BREAKPOINTS */
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;

    /* TYPOGRAPHY - Menggunakan Poppins sebagai prioritas utama */
    --font-family-sans-serif: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --wp--preset--font-size--small: 13px;
    --wp--preset--font-size--normal: 16px;
    --wp--preset--font-size--huge: 42px;
    
    /* CUSTOM MASTER DIGIT COLORS */
    --navy-main: #003366;
    --navy-dark: #001a33;
    --vivid-red: #cf2e2e;
}

/* --- RESET & BASE SETTINGS --- */
* { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

body {
    margin: 0;
    padding: 0;
    font-weight: 400;
    text-align: left;
    list-style: none;
    color: #303030;
    font-family: var(--font-family-sans-serif);
    font-size: 13px;
    line-height: 1.5;
    background-color: #e2e8f0; /* Background Luar */
}

/* --- LAYOUT PC (75% TENGAH) --- */
#container {
    width: 75% !important;
    max-width: 1200px;
    margin: 0 auto !important;
    background-color: #fff;
    padding: 5px; 
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    display: block;
    clear: both;
}

/* --- GRID SYSTEM (MEPET) --- */
main#main.cf {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 0 !important; 
    padding: 0 !important;
}

div#content.cf {
    flex: 0 0 72% !important;
    width: 72% !important;
    padding: 10px !important;
}

div#sidebar-right.sidebar.cf {
    flex: 0 0 28% !important;
    width: 28% !important;
    padding: 10px 10px 10px 0 !important;
}

/* --- ELEMENT STYLING --- */
.single-view {
    background-color: #fff;
    padding: 5px;
    width: 100%;
    border: 1px solid #eee;
    border-radius: 8px;
}

.rescir {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    background-color: var(--navy-main);
    margin: 0 2px;
}

/* --- RESPONSIVE HP (100%) --- */
@media (max-width: 991px) {
    #container {
        width: 100% !important;
        margin: 0 !important;
        padding: 5px;
    }
    
    main#main.cf {
        display: block !important;
    }
    
    div#content.cf, 
    div#sidebar-right.sidebar.cf {
        width: 100% !important;
        flex: none !important;
        padding: 10px !important;
    }
}
