/* ============================
   GLOBAL STYLE
============================ */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
}

/* ============================
   HEADER / TOP BAR
============================ */
.top {
    background-color: #ff8d87;
    color: #fff;
}

.judul {
    font-size: 12pt;
    padding: 10px;
    font-weight: bold;
}

.link {
    margin-top: 20px;
}

/* ============================
   NAVIGATION PILLS (PINK)
============================ */
.nav-pill {
    background-color: #ff4f91 !important;
    color: white !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    margin-left: 8px;
    font-size: 14px;
    transition: 0.2s;
}

.nav-pill:hover {
    background-color: #ff2f75 !important;
    color: white !important;
}

/* ============================
   PRODUK / THUMBNAIL 
============================ */
.thumbnail > img,
.thumbnail .produk-img {
    width: 100% !important;
    height: 160px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    display: block !important;
}

/* ******************************************************************
   CUSTOMER ONLY — FORM, MODAL, CONTAINER, BUTTON, ALERT
   Semua dibatasi oleh prefix .customer agar tidak mengganggu admin.
******************************************************************* */

/* FORM GROUP */
.customer .form-group {
    margin-bottom: 15px;
}

.customer label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.customer input,
.customer select {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.customer input:focus,
.customer select:focus {
    outline: none;
    border-color: #28a745;
}

/* BUTTON */
.customer .btn-kirim {
    width: 100%;
    background: #28a745;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.customer .btn-kirim:hover {
    background: #218838;
}

/* ALERT */
.customer .alert-success {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #c3e6cb;
}

.customer .alert-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #f5c6cb;
}

/* MODAL */
.customer .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.customer .modal {
    background: #fff;
    padding: 30px;
    width: 360px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.customer .modal h3 {
    margin-bottom: 10px;
    color: #28a745;
}

.customer .modal p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.customer .modal button {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.customer .modal button:hover {
    background: #218838;
}

/* CUSTOMER CONTAINER */
.customer .container {
    width: 420px !important;
    margin: 80px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
