/* ==========================================================
   BAHULU PERAK - COMPLETE ADMIN STYLE
========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');


:root {
    --bg-main: #C8C2BC;
    --bg-header: #DDD8D3;
    --dark-text: #221A15;
    --primary-orange: #C04A26;
    --orange-hover: #A53C1D;
    --card-bg: #BBB4AC;
    --card-border: #A69F97;
    --pill-btn: #D3C9BE;
    --danger-red: #D93838;
    --edit-blue: #2B6CB0;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--dark-text);
    line-height: 1.5;
}


a {
    text-decoration: none;
    transition: all 0.2s ease;
}


/* =====================================
   1. HEADER & HAMBURGER
===================================== */

.admin-header {
    background: var(--bg-header) !important;
    height: 70px;
    padding: 0 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    border-bottom: 1px solid var(--card-border);
}


.admin-logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark-text);

    display: flex;
    align-items: center;
    gap: 15px;
}


.menu-btn {
    background: transparent !important;
    border: none !important;

    font-size: 26px !important;
    color: var(--dark-text) !important;

    cursor: pointer !important;

    padding: 5px;
    outline: none;
}


.admin-user {
    font-weight: 700;
    font-size: 14px;

    color: var(--dark-text);
    background: var(--pill-btn);

    padding: 8px 22px;

    border-radius: 50px;
    border: 1px solid var(--card-border);
}


/* =====================================
   2. SIDEBAR
===================================== */

.sidebar {
    width: 240px;

    background: var(--bg-header) !important;

    position: fixed;
    top: 70px;
    bottom: 0;
    left: 0;

    padding: 25px 15px;

    display: flex;
    flex-direction: column;
    gap: 12px;

    z-index: 999;

    border-right: 1px solid var(--card-border);

    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}


.sidebar.show,
.sidebar.show-sidebar,
.sidebar.active-menu,
.sidebar.active {
    transform: translateX(0) !important;
}


.sidebar a {
    color: var(--dark-text);

    padding: 12px 20px;

    border-radius: 12px;

    font-size: 15px;
    font-weight: 600;

    display: block;

    background: transparent;
}


.sidebar a.active,
.sidebar a:hover {
    background: var(--primary-orange) !important;
    color: #FFFFFF !important;

    border-radius: 14px;

    font-weight: 700;
}


.sidebar a.logout-btn {
    margin-top: auto;
}


/* =====================================
   3. KANDUNGAN UTAMA
===================================== */

.admin-content {
    margin-top: 70px;
    padding: 40px;

    min-height: calc(100vh - 70px);
}


.admin-content h1 {
    font-size: 32px;
    font-weight: 800;

    color: var(--dark-text);

    margin-bottom: 25px;
}


/* =====================================
   4. BUTANG TAMBAH
===================================== */

.add-product-btn,
.add-btn {
    display: inline-block !important;

    background: var(--primary-orange) !important;
    color: #FFFFFF !important;

    font-weight: 700 !important;
    font-size: 14px !important;

    padding: 12px 24px !important;

    border-radius: 50px !important;

    margin-bottom: 25px !important;

    box-shadow:
        0 4px 10px rgba(192, 74, 38, 0.2);
}


.add-product-btn:hover,
.add-btn:hover {
    background: var(--orange-hover) !important;

    transform: translateY(-2px);
}


/* =====================================
   5. JADUAL PENGURUSAN
===================================== */

.product-table,
.review-table,
table {
    width: 100%;

    border-collapse: collapse;

    background: #FFFFFF;

    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.05);

    margin-top: 10px;
}


table th {
    background: var(--bg-header);
    color: var(--dark-text);

    font-weight: 700;
    font-size: 14px;

    text-align: left;

    padding: 16px 20px;

    border-bottom: 2px solid var(--card-border);
}


table td {
    padding: 16px 20px;

    border-bottom: 1px solid #E2E8F0;

    vertical-align: middle;

    font-size: 14px;
    color: var(--dark-text);
}


.product-image,
table img {
    width: 70px;
    height: 70px;

    object-fit: cover;

    border-radius: 10px;

    border: 1px solid var(--card-border);
}


.edit-btn {
    display: inline-block;

    background: var(--edit-blue) !important;
    color: #FFFFFF !important;

    padding: 6px 16px !important;

    border-radius: 8px !important;

    font-size: 12px !important;
    font-weight: 700 !important;

    margin-right: 5px;
}


.delete-btn {
    display: inline-block;

    background: var(--danger-red) !important;
    color: #FFFFFF !important;

    padding: 6px 16px !important;

    border-radius: 8px !important;

    font-size: 12px !important;
    font-weight: 700 !important;
}


.edit-btn:hover,
.delete-btn:hover {
    opacity: 0.9;
}


.review-stars {
    color: #F6AD55;
    font-size: 16px;
}


/* =====================================
   6. DASHBOARD CARDS & WELCOME BOX
===================================== */

.dashboard-card-container,
.dashboard-cards,
.dashboard-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(240px, 1fr));

    gap: 25px;

    margin-bottom: 30px;
}


.dashboard-card,
.dash-card {
    background: var(--card-bg) !important;

    border: 1px solid var(--card-border) !important;

    border-radius: 20px !important;

    padding: 25px !important;

    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: flex-start;

    min-height: 150px;
}


.dashboard-card .icon {
    font-size: 24px;
    margin-bottom: 5px;
}


.dashboard-card h3 {
    font-size: 18px;
    font-weight: 700;

    color: var(--dark-text);

    margin-bottom: 15px;
}


.dashboard-card a {
    background: var(--pill-btn) !important;
    color: #A8492A !important;

    font-size: 13px !important;
    font-weight: 700 !important;

    padding: 8px 22px !important;

    border-radius: 50px !important;

    display: inline-block !important;
}


.welcome-box {
    background: var(--card-bg) !important;

    border: 1px solid var(--card-border) !important;

    border-radius: 20px !important;

    padding: 35px 40px !important;
}


.welcome-box h2 {
    font-size: 28px;
    font-weight: 800;

    color: var(--dark-text);

    margin-bottom: 10px;
}


/* =====================================
   7. FORM BOX & CENTER CONTAINER
===================================== */

.form-container {
    max-width: 600px;

    margin: 40px auto;

    display: flex;
    flex-direction: column;

    align-items: center;
}


.form-container .form-box {
    width: 100%;
}


.form-box,
.review-box,
.reply-form {
    background: #FFFFFF;

    padding: 35px;

    border-radius: 20px;

    border: 1px solid var(--card-border);

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.05);
}


.form-box label,
.reply-form label {
    display: block;

    font-weight: 700;
    font-size: 14px;

    margin-bottom: 8px;
    margin-top: 15px;
}


.form-box input[type="text"],
.form-box input[type="number"],
.form-box input[type="file"],
.form-box select,
.reply-form textarea {
    width: 100%;

    padding: 12px 16px;

    border: 1.5px solid #CBD5E0;

    border-radius: 12px;

    font-size: 14px;
    font-family: inherit;

    background-color: #FFFFFF;

    box-sizing: border-box;
}


/* =====================================
   8. MANAGE GALLERY - FOLDER SYSTEM
===================================== */


/* =====================================
   GALLERY ACTION BUTTONS
===================================== */

.gallery-admin-actions {
    display: flex;

    align-items: center;
    justify-content: flex-start;

    flex-wrap: wrap;

    gap: 12px;

    width: 100%;

    margin-bottom: 30px;
}


/*
   BACK TO FOLDERS
   + ADD PHOTO
*/

.gallery-admin-actions .add-btn,
.gallery-admin-actions .add-product-btn {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    min-width: 170px;
    min-height: 44px;

    margin: 0 !important;

    padding: 11px 20px !important;

    line-height: 1.2;

    text-align: center;
    white-space: nowrap;
}


/* =====================================
   GALLERY SECTION TITLE
===================================== */

.gallery-admin-title {
    font-size: 21px;
    font-weight: 800;

    color: var(--dark-text);

    margin: 35px 0 20px;
}


/* =====================================
   ADMIN FOLDER GRID
===================================== */

.admin-folder-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(230px, 1fr));

    gap: 22px;

    width: 100%;

    margin-bottom: 45px;
}


/* =====================================
   ADMIN FOLDER CARD
===================================== */

.admin-folder-card {
    background: #FFFFFF;

    border: 1px solid var(--card-border);

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.admin-folder-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.10);
}


/* =====================================
   ADMIN FOLDER COVER
===================================== */

.admin-folder-cover {
    width: 100%;
    height: 170px;

    overflow: hidden;

    background: var(--pill-btn);
}


.admin-folder-cover img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}


.admin-folder-card:hover
.admin-folder-cover img {
    transform: scale(1.05);
}


/* =====================================
   FOLDER WITHOUT COVER
===================================== */

.admin-folder-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--pill-btn),
            #F2ECE6
        );

    font-size: 58px;
}


/* =====================================
   FOLDER INFORMATION
===================================== */

.admin-folder-body {
    padding: 18px 20px 14px;
}


.admin-folder-body h3 {
    margin: 0 0 6px;

    color: var(--dark-text);

    font-size: 17px;
    font-weight: 800;

    word-break: break-word;
}


.admin-folder-body p {
    margin: 0;

    color: #6B625C;

    font-size: 13px;
}


/* =====================================
   FOLDER ACTION BUTTONS
   OPEN + EDIT + DELETE
===================================== */

.admin-folder-actions {
    display: flex;

    align-items: center;

    gap: 8px;

    padding:
        0 20px
        20px;
}


/*
   Button folder Manage Gallery
*/

.admin-folder-card
.admin-folder-actions
.add-btn,

.admin-folder-card
.admin-folder-actions
.edit-btn,

.admin-folder-card
.admin-folder-actions
.delete-btn {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    flex: 1;

    min-width: 0;
    min-height: 38px;

    margin: 0 !important;

    padding: 8px 10px !important;

    text-align: center;

    line-height: 1.2;

    white-space: nowrap;
}


/* =====================================
   GALLERY IMAGE GRID
===================================== */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(220px, 1fr));

    gap: 20px;

    width: 100%;
}


/* =====================================
   GALLERY IMAGE CARD
===================================== */

.gallery-card {
    display: flex;
    flex-direction: column;

    background: #FFFFFF;

    border-radius: 16px;

    padding: 15px;

    border:
        1px solid
        var(--card-border);

    box-shadow:
        0 4px 15px
        rgba(0, 0, 0, 0.05);

    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.gallery-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 9px 22px
        rgba(0, 0, 0, 0.09);
}


/* =====================================
   GALLERY IMAGE WRAPPER
===================================== */

.gallery-img-wrapper {
    width: 100%;
    height: 180px;

    overflow: hidden;

    border-radius: 12px;

    margin-bottom: 12px;

    background: #F7F7F7;
}


.gallery-img-wrapper img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}


.gallery-card:hover
.gallery-img-wrapper img {
    transform: scale(1.04);
}


/* =====================================
   PHOTO FOLDER INFORMATION
===================================== */

.gallery-photo-category {
    margin: 0 0 12px;

    color: #6B625C;

    font-size: 12px;

    text-align: left;
}


.gallery-photo-category strong {
    color: var(--dark-text);
}


/* =====================================
   PHOTO CARD ACTION BUTTONS
   EDIT + DELETE
===================================== */

.gallery-card
.admin-folder-actions {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;

    margin-top: auto;

    padding: 0;
}


.gallery-card
.admin-folder-actions
.edit-btn,

.gallery-card
.admin-folder-actions
.delete-btn {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    flex: 1;

    min-width: 0;
    min-height: 40px;

    margin: 0 !important;

    padding: 9px 14px !important;

    text-align: center;

    line-height: 1.2;
}


.gallery-card
.admin-folder-actions
.edit-btn:hover,

.gallery-card
.admin-folder-actions
.delete-btn:hover {
    opacity: 0.9;

    transform: translateY(-1px);
}


/* =====================================
   ADD / EDIT FOLDER FORM PAGE
===================================== */

.gallery-admin-form-page {
    display: flex;

    justify-content: center;
    align-items: flex-start;

    padding-top: 40px;
}


.gallery-admin-form-container {
    width: 100%;
    max-width: 520px;
}


.gallery-admin-form-title {
    text-align: center;

    margin-bottom: 25px;
}


/* =====================================
   GALLERY FORM BOX
===================================== */

.gallery-admin-form-box {
    width: 100%;

    background: #FFFFFF;

    padding: 30px;

    border-radius: 20px;

    border:
        1px solid
        var(--card-border);

    box-shadow:
        0 4px 15px
        rgba(0, 0, 0, 0.05);
}


/* =====================================
   GALLERY FORM LABEL
===================================== */

.gallery-admin-form-box label {
    display: block;

    margin-top: 15px;
    margin-bottom: 8px;

    color: var(--dark-text);

    font-size: 14px;
    font-weight: 700;
}


.gallery-admin-form-box label:first-child {
    margin-top: 0;
}


/* =====================================
   GALLERY FORM INPUT
===================================== */

.gallery-admin-form-box input[type="text"],
.gallery-admin-form-box input[type="file"],
.gallery-admin-form-box select {
    width: 100%;

    padding: 12px 16px;

    margin-bottom: 5px;

    border:
        1.5px solid
        #CBD5E0;

    border-radius: 12px;

    background: #FFFFFF;

    color: var(--dark-text);

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.gallery-admin-form-box input[type="text"]:focus,
.gallery-admin-form-box input[type="file"]:focus,
.gallery-admin-form-box select:focus {
    border-color:
        var(--primary-orange);

    box-shadow:
        0 0 0 3px
        rgba(192, 74, 38, 0.12);
}


/* =====================================
   FILE INPUT
===================================== */

.gallery-admin-form-box
input[type="file"] {
    cursor: pointer;
}


.gallery-admin-form-box
input[type="file"]::file-selector-button {
    background: var(--pill-btn);

    color: var(--dark-text);

    border: none;

    padding: 8px 13px;

    margin-right: 10px;

    border-radius: 8px;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}


.gallery-admin-form-box
input[type="file"]::file-selector-button:hover {
    background: var(--bg-header);
}


/* =====================================
   FORM HELP TEXT
===================================== */

.gallery-form-help {
    margin: 6px 0 18px;

    color: #6B625C;

    font-size: 12px;
    line-height: 1.6;
}


/* =====================================
   ERROR MESSAGE
===================================== */

.gallery-form-error {
    margin-bottom: 18px;

    padding: 12px 15px;

    background: #FED7D7;

    color: var(--danger-red);

    border:
        1px solid
        var(--danger-red);

    border-radius: 10px;

    text-align: center;

    font-size: 13px;
    font-weight: 700;
}


/* =====================================
   SUCCESS MESSAGE
===================================== */

.gallery-form-success {
    margin-bottom: 18px;

    padding: 12px 15px;

    background: #C6F6D5;

    color: #22543D;

    border:
        1px solid
        #68D391;

    border-radius: 10px;

    text-align: center;

    font-size: 13px;
    font-weight: 700;
}


/* =====================================
   EDIT PHOTO CURRENT IMAGE
===================================== */

.gallery-admin-form-box
.gallery-img-wrapper {
    width: 100%;
    height: 260px;

    margin-bottom: 20px;

    overflow: hidden;

    border-radius: 12px;

    background: #F7F7F7;
}


.gallery-admin-form-box
.gallery-img-wrapper img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =====================================
   FORM BUTTONS
   SAVE PHOTO + CANCEL
===================================== */

.gallery-form-buttons {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;
}


.gallery-form-buttons
.add-product-btn,

.gallery-form-buttons
.add-btn,

.gallery-form-buttons
.edit-btn,

.gallery-form-buttons
.delete-btn {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    min-width: 145px;
    min-height: 42px;

    margin: 0 !important;

    text-align: center;

    line-height: 1.2;
}


/* =====================================
   EMPTY GALLERY / EMPTY FOLDER
===================================== */

.admin-gallery-empty {
    grid-column: 1 / -1;

    width: 100%;

    padding: 35px 20px;

    background: #FFFFFF;

    border:
        1px dashed
        var(--card-border);

    border-radius: 16px;

    color: #6B625C;

    text-align: center;

    font-size: 14px;
}


/* =====================================
   ADMIN GALLERY TABLET
===================================== */

@media (max-width: 900px) {

    .admin-folder-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =====================================
   ADMIN GALLERY MOBILE
===================================== */

@media (max-width: 600px) {

    /*
       TOP:
       BACK TO FOLDERS + ADD PHOTO
    */

    .gallery-admin-actions {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 10px;

        width: 100%;
    }


    .gallery-admin-actions
    .add-btn,

    .gallery-admin-actions
    .add-product-btn {
        width: 100%;

        min-width: 0;

        margin: 0 !important;

        padding:
            11px 12px !important;

        text-align: center;

        box-sizing: border-box;
    }


    /*
       FOLDER GRID
    */

    .admin-folder-grid {
        grid-template-columns: 1fr;
    }


    /*
       PHOTO GRID
    */

    .gallery-grid {
        grid-template-columns: 1fr;
    }


    .admin-folder-cover {
        height: 190px;
    }


    .gallery-img-wrapper {
        height: 220px;
    }


    /*
       GALLERY FORM
    */

    .gallery-admin-form-page {
        padding-top: 20px;
    }


    .gallery-admin-form-box {
        padding: 22px 18px;
    }


    /*
       SAVE + CANCEL
    */

    .gallery-form-buttons {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 10px;

        width: 100%;
    }


    .gallery-form-buttons
    .add-product-btn,

    .gallery-form-buttons
    .add-btn,

    .gallery-form-buttons
    .edit-btn,

    .gallery-form-buttons
    .delete-btn {
        width: 100%;

        min-width: 0;

        margin: 0 !important;

        text-align: center;

        box-sizing: border-box;
    }


    /*
       MANAGE GALLERY
       OPEN + EDIT + DELETE
    */

    .admin-folder-card
    .admin-folder-actions {
        display: flex;

        flex-direction: row;

        gap: 7px;
    }


    .admin-folder-card
    .admin-folder-actions
    .add-btn,

    .admin-folder-card
    .admin-folder-actions
    .edit-btn,

    .admin-folder-card
    .admin-folder-actions
    .delete-btn {
        flex: 1;

        width: auto;

        min-width: 0;

        margin: 0 !important;

        padding:
            8px 7px !important;

        font-size:
            10px !important;

        box-sizing: border-box;
    }


    /*
       PHOTO CARD
       EDIT + DELETE
    */

    .gallery-card
    .admin-folder-actions {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 8px;

        width: 100%;

        padding: 0;
    }


    .gallery-card
    .admin-folder-actions
    .edit-btn,

    .gallery-card
    .admin-folder-actions
    .delete-btn {
        width: 100%;

        min-width: 0;

        margin: 0 !important;
    }

}


/* =====================================
   SMALL MOBILE
===================================== */

@media (max-width: 420px) {

    /*
       BACK + ADD PHOTO
       turun satu-satu pada skrin kecil
    */

    .gallery-admin-actions {
        grid-template-columns: 1fr;
    }


    /*
       SAVE + CANCEL
    */

    .gallery-form-buttons {
        grid-template-columns: 1fr;
    }


    /*
       Folder OPEN / EDIT / DELETE
       turun satu-satu jika terlalu kecil
    */

    .admin-folder-card
    .admin-folder-actions {
        flex-wrap: wrap;
    }


    .admin-folder-card
    .admin-folder-actions
    .add-btn,

    .admin-folder-card
    .admin-folder-actions
    .edit-btn,

    .admin-folder-card
    .admin-folder-actions
    .delete-btn {
        flex:
            1 1 100%;

        width: 100%;
    }

}


/* =====================================
   9. ADMIN LOGIN PAGE STYLES
===================================== */

.admin-login-section {
    min-height:
        calc(100vh - 180px);

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 50px 20px;
}


.admin-login-box {
    background: #FFFFFF;

    padding: 40px;

    border-radius: 20px;

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.08);

    border:
        1px solid
        var(--card-border);

    width: 100%;
    max-width: 420px;

    text-align: center;
}


.admin-icon {
    font-size: 45px;

    margin-bottom: 10px;
}


.admin-login-box h1 {
    font-size: 26px;
    font-weight: 800;

    color: var(--dark-text);

    margin-bottom: 25px;
}


.admin-login-box form {
    display: flex;

    flex-direction: column;

    text-align: left;

    gap: 12px;
}


.admin-login-box label {
    font-size: 13px;
    font-weight: 700;

    color: var(--dark-text);

    margin-top: 5px;
}


.admin-login-box input[type="text"],
.admin-login-box input[type="password"] {
    width: 100%;

    padding: 12px 16px;

    border-radius: 12px;

    border:
        1.5px solid
        #CBD5E0;

    background: #FFFFFF;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    box-sizing: border-box;
}


.admin-login-box input:focus {
    border-color:
        var(--primary-orange);
}


.admin-login-box .remember {
    display: flex;

    align-items: center;

    gap: 8px;

    margin: 8px 0;
}


.admin-login-box .remember span {
    font-size: 13px;

    color: var(--dark-text);
}


.admin-login-box button {
    background:
        var(--primary-orange);

    color: #FFFFFF;

    border: none;

    padding: 12px 24px;

    border-radius: 50px;

    font-weight: 700;
    font-size: 14px;

    cursor: pointer;

    margin-top: 10px;

    transition:
        all 0.2s ease;

    width: 100%;
}


.admin-login-box button:hover {
    background:
        var(--orange-hover);
}


.error {
    background: #FED7D7;

    color:
        var(--danger-red);

    padding: 10px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 15px;

    text-align: center;

    border:
        1px solid
        var(--danger-red);
}


/* =====================================
   10. GAYA KHAS TEMPAHAN
===================================== */

.notification-badge {
    background:
        var(--danger-red);

    color: #FFFFFF;

    padding: 10px 20px;

    border-radius: 50px;

    font-size: 14px;
    font-weight: 700;

    display: inline-block;

    margin-bottom: 25px;

    box-shadow:
        0 4px 10px
        rgba(217, 56, 56, 0.2);
}


.status-pill {
    padding: 6px 12px;

    border-radius: 8px;

    font-weight: 700;
    font-size: 12px;

    display: inline-block;

    text-align: center;
}


.status-Baru {
    background: #FEFCBF;
    color: #744210;
}


.status-Proses {
    background: #EBF8FF;
    color: #2B6CB0;
}


.status-Selesai {
    background: #C6F6D5;
    color: #22543D;
}


.status-Batal {
    background: #FED7D7;
    color: var(--danger-red);
}


.action-form {
    display: flex;

    align-items: center;

    gap: 8px;
}


.action-form select {
    padding: 8px 12px;

    border:
        1.5px solid
        var(--card-border);

    border-radius: 8px;

    font-size: 13px;
    font-family: inherit;

    background: #FFFFFF;

    outline: none;
}


.action-form button {
    background:
        var(--primary-orange);

    color: #FFFFFF;

    border: none;

    padding: 8px 16px;

    border-radius: 8px;

    font-weight: 700;
    font-size: 13px;

    cursor: pointer;

    transition:
        all 0.2s ease;
}


.action-form button:hover {
    background:
        var(--orange-hover);
}


/* =========================================================
   11. CENTER ADD / EDIT GALLERY FOLDER FORM
   TAMBAHAN BARU
========================================================= */

/*
   CSS asal di atas DIKEKALKAN.
   Bahagian ini ditambah untuk center form
   Add New Folder / Edit Folder.
*/

.gallery-admin-form-page {
    min-height: calc(100vh - 150px);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 30px 20px;
}


.gallery-admin-form-container {
    width: 100%;
    max-width: 520px;

    margin: 0 auto;
}


.gallery-admin-form-title {
    text-align: center;

    margin-bottom: 25px;
}


/* =====================================
   CENTER FOLDER FORM - MOBILE
===================================== */

@media (max-width: 600px) {

    .gallery-admin-form-page {
        min-height: calc(100vh - 120px);

        display: flex;
        justify-content: center;
        align-items: center;

        padding: 25px 15px;
    }


    .gallery-admin-form-container {
        width: 100%;
        max-width: 520px;

        margin: 0 auto;
    }

}