website imeharibika nimebidi nianze mwanzo nakutumia kodi zote uone kwenye home blade usibadilisho chochote wala kupunguza bali uongeze tu nilichokwambia /* ===============================
   BrizeX Marketplace Complete CSS
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #f5f5f5, #dcdcdc);
    color: #111;
    min-height: 100vh;
}

/* ================= HEADER ================= */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #000;
    color: #FFD700;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    flex-wrap: wrap;
    position: relative;
    z-index: 100;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.logo span {
    color: #00ff00;
}

nav a {
    color: #FFD700;
    margin-left: 20px;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
}

nav a:hover {
    color: #00ff00;
}


/* ================= SECTIONS ================= */

main {
    position: relative;
    z-index: 1;
}

.section {
    display: none;
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.active {
    display: block;
}


/* ================= HOME ================= */

#home {
    background: transparent;
    border-radius:20px;
    margin-top:20px;
    position:relative;
    z-index:1;
}

.home-text {
    text-align:center;
    padding:0px 10px 0;
    margin:0;
}

.home-text h1 {

    font-size:36px;
    color:#048c1f;
}


.home-text p {

    font-size:18px;
    color:#010200;
}


/* ================= SLIDER ================= */


.slider {

    width:90%;
    max-width:1000px;
    aspect-ratio:16/9;
    margin:20px auto;
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.25);
    position:relative;
    z-index:1;

}


.slider img {

    width:100%;
    height:100%;
    object-fit:cover;

}



/* ================= ABOUT ================= */


.home-about {

    background:#000;
    padding:60px 20px;
    margin-top:40px;
    border-radius:20px;

}


.about-grid {

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    max-width:1000px;
    margin:auto;

}


.about-box h2 {

    color:#FFD700;
    margin-bottom:15px;

}


.about-box p {

    color:white;
    line-height:1.7;

}



/* ================= BUTTONS ================= */


button {

    background:#FFD700;
    color:black;
    padding:12px 25px;
    border:none;
    font-weight:bold;
    border-radius:8px;
    cursor:pointer;
    box-shadow:0 2px 5px rgba(0,0,0,0.3);

}


button:hover {

    background:#FFC107;

}



.post-btn {

    display:block;
    margin:20px auto;

}



/* ================= FORMS ================= */


input,
textarea,
select {

    width:80%;
    max-width:400px;
    padding:10px;
    margin:10px 0;
    border-radius:5px;
    border:1px solid #ccc;

}



/* ================= CARDS ================= */


.card {

    background:white;
    color:black;
    padding:20px;
    border-radius:10px;
    margin:20px auto;
    width:300px;
    box-shadow:0 2px 10px rgba(0,0,0,.2);

}


.card:hover {

    transform:translateY(-5px);

}



.verified {

    color:#00C853;
    font-weight:bold;

}


img.preview {

    width:100%;
    border-radius:10px;
    margin-top:10px;
    max-height:200px;
    object-fit:cover;

}


/* ================= PRODUCTS ================= */


.product-grid {

    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;

}


.product-grid .card {

    flex:0 0 220px;
    max-width:220px;

}



/* ================= FLOATING BUTTONS FIX ================= */


.floating-buttons {

    position:fixed;
    bottom:20px;
    left:20px;
    display:flex;
    gap:10px;
    z-index:999999;
    pointer-events:auto;

}



.floating-buttons button {

    padding:10px 15px;
    background:#1b5e20;
    color:white;
    cursor:pointer;
    pointer-events:auto;

}



.floating-buttons button:hover {

    background:#2e7d32;

}



/* ================= HELP BOX ================= */


.help-box {

    position:fixed;
    bottom:80px;
    left:20px;
    width:300px;
    background:white;
    color:black;
    padding:15px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.3);
    display:none;
    z-index:999999;

}


.help-box button {

    width:100%;
    margin-top:10px;

}



/* ================= ADMIN ================= */


#adminPanel {

    background:#1a1a2e;
    border-radius:20px;
    padding:30px;

}


#adminPanel h2,
#adminPanel h3 {

    color:#FFD700;

}


#adminPending,
#adminUsers {

    display:flex;
    flex-wrap:wrap;
    gap:20px;
    justify-content:center;

}




/* ================= VERIFICATION ================= */


.container {
    background: white;
    color: black;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    margin: 40px auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.container h2 {
    text-align: center;
    color: #048c1f;
    margin-bottom: 20px;
}

.container label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #111;
    font-weight: bold;
}

.container input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: white;
    color: black;
}

.container button {
    width: 100%;
    margin-top: 20px;
}

.container h2 {

    color:#FFD700;

}



/* ================= MOBILE ================= */


@media(max-width:768px){


header {

    flex-direction:column;
    text-align:center;
    padding:15px;

}


nav a {

    display:inline-block;
    margin:8px;

}


.about-grid {

    grid-template-columns:1fr;

}


.product-grid .card {

    flex:0 0 90%;
    max-width:90%;

}


input,
textarea,
select {

    width:95%;

}


.floating-buttons {

    flex-direction:column;

}


.home-text h1 {

    font-size:28px;

}


.help-box {

    width:90%;
    left:5%;

}


}#home {
    position: relative;
    z-index: 1;
}

.slider {
    position: relative;
    z-index: 1;
}

.home-about {
    position: relative;
    z-index: 1;
}

.floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999999999 !important;
}

.help-box {
    position: fixed;
    z-index: 999999999 !important;
}

/* IMAGE POPUP */

.image-overlay {

    position: fixed;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.85);

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:999999999;

}


.image-overlay img {

    max-width:90%;
    max-height:90%;

    object-fit:contain;

    border-radius:15px;

}


.close-image {

    position:absolute;

    top:20px;
    right:30px;

    color:white;

    font-size:45px;

    cursor:pointer;

}
/* ================= HOT PRODUCTS ================= */

.hot-products {
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
}

.hot-products h2 {
    text-align: center;
    color: #048c1f;
    font-size: 28px;
    margin-bottom: 20px;
}


.hot-grid {

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;

}


.hot-card {

    background: white;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.3s;

}


.hot-card:hover {

    transform: translateY(-10px) scale(1.03);

}



.hot-card img {

    width:100%;
    height:150px;
    object-fit:cover;

}



.hot-card h3 {

    padding:10px;
    font-size:16px;
    text-align:center;

}



.hot-badge {

    position:absolute;
    top:10px;
    left:10px;
    background:red;
    color:white;
    padding:5px 10px;
    border-radius:20px;
    font-size:12px;
    font-weight:bold;
    z-index:2;

}



.hot-price {

    position:absolute;
    top:10px;
    right:10px;
    background:#FFD700;
    color:black;
    padding:5px 8px;
    border-radius:10px;
    font-weight:bold;
    font-size:12px;
    z-index:2;

}



/* MOBILE */

@media(max-width:768px){

    .hot-grid {

        grid-template-columns:repeat(2,1fr);

    }


    .hot-card img {

        height:120px;

    }

}
/* ================= NOTICE BAR ================= */
/* ================= HOME NOTICE ================= */

.home-notice{
    width:100%;
    overflow:hidden;
    margin:0;
    padding:8px 0;
    background:transparent;
}
.home-notice-text{
    display:inline-block;
    white-space:nowrap;
    padding-left:100%;
    color:#048c1f;
    font-size:17px;
    font-weight:bold;
    animation:homeNoticeMove 45s linear infinite;
}

@keyframes homeNoticeMove{
    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-100%);
    }
}
/* =========================================================
   BRIZEX MODERN INFORMATION SECTIONS
========================================================= */

/* Main information sections */
.info-section {
    width: 100%;
    margin: 0;
    padding: 90px 25px;
    position: relative;
    overflow: hidden;
}

/* Content width */
.info-content {
    max-width: 1000px;
    margin: auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Small label */
.section-label {
    display: inline-block;
    color: #048c1f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Section headings */
.info-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
    font-weight: 800;
}

/* Paragraphs */
.info-content p {
    max-width: 800px;
    margin: 0 auto 15px;
    line-height: 1.9;
    font-size: 17px;
}


/* =========================================================
   ABOUT US
========================================================= */

.about-section {
    background: #ffffff;
    border-radius: 25px;
    margin-top: 60px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.about-section .info-content h2 {
    color: #111;
}

.about-section .info-content p {
    color: #555;
}


/* =========================================================
   MISSION
========================================================= */

.mission-section {
    background: linear-gradient(135deg, #f1f8f2, #ffffff);
    margin-top: 25px;
    border-radius: 25px;
}

.mission-section .info-content h2 {
    color: #048c1f;
}

.mission-section .info-content p {
    color: #444;
}


/* =========================================================
   VISION
========================================================= */

.vision-section {
    background: #f7f7f7;
    margin-top: 25px;
    border-radius: 25px;
}

.vision-section .info-content h2 {
    color: #111;
}

.vision-section .info-content p {
    color: #555;
}


/* =========================================================
   MODERN FOOTER / GET US
========================================================= */

.brizex-footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 70px;
    background: #050505;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}


/* Green glow */
.brizex-footer::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: rgba(4, 140, 31, 0.12);
    border-radius: 50%;
    top: -250px;
    left: -150px;
    filter: blur(80px);
}


/* Gold glow */
.brizex-footer::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 215, 0, 0.07);
    border-radius: 50%;
    bottom: -250px;
    right: -150px;
    filter: blur(80px);
}


/* Footer container */
.footer-container {
    width: 90%;
    max-width: 1250px;
    margin: auto;
    padding: 75px 0 55px;

    display: grid;
    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr;

    gap: 50px;

    position: relative;
    z-index: 2;
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-logo {
    font-size: 36px;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 15px;
}

.footer-logo span {
    color: #00ff00;
}

.footer-brand > p {
    color: #bdbdbd;
    line-height: 1.7;
    max-width: 330px;
    margin-bottom: 15px;
}


/* =========================================================
   FOOTER HEADINGS
========================================================= */

.footer-column h3 {
    color: #FFD700;
    font-size: 19px;
    margin-bottom: 25px;
    position: relative;
}


/* Small green line */
.footer-column h3::after {
    content: "";
    display: block;
    width: 35px;
    height: 3px;
    background: #048c1f;
    margin-top: 9px;
    border-radius: 10px;
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-column > a {
    display: block;
    width: fit-content;
    color: #cccccc;
    text-decoration: none;
    margin-bottom: 13px;
    transition: 0.25s ease;
}

.footer-column > a:hover {
    color: #00ff00;
    transform: translateX(5px);
}


/* =========================================================
   CONTACT
========================================================= */

.footer-contact > div {
    margin-bottom: 20px;
}

.footer-contact strong {
    display: block;
    color: #ffffff;
    margin-bottom: 5px;
}

.footer-contact p {
    color: #bdbdbd;
    margin: 0;
    line-height: 1.5;
}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 75px;
    padding: 9px 13px;

    border: 1px solid #333;
    border-radius: 8px;

    color: #ffffff;
    text-decoration: none;

    font-size: 13px;
    font-weight: bold;

    transition: 0.3s ease;
}

.social-links a:hover {
    background: #048c1f;
    border-color: #048c1f;
    transform: translateY(-3px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    width: 90%;
    max-width: 1250px;
    margin: auto;

    padding: 25px 0;

    border-top: 1px solid #292929;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: #888;
    margin: 0;
    font-size: 14px;
}

.footer-bottom div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom a:hover {
    color: #FFD700;
}

.footer-bottom span {
    color: #444;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .info-content h2 {
        font-size: 36px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .info-section {
        padding: 65px 20px;
        border-radius: 18px;
    }

    .info-content h2 {
        font-size: 30px;
    }

    .info-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .section-label {
        font-size: 11px;
        letter-spacing: 2px;
    }


    /* Footer */

    .brizex-footer {
        margin-top: 45px;
    }

    .footer-container {
        width: 88%;
        padding: 55px 0 40px;

        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-logo {
        font-size: 32px;
    }

    .footer-column h3 {
        margin-bottom: 20px;
    }


    .social-links {
        gap: 8px;
    }

    .social-links a {
        min-width: 70px;
        font-size: 12px;
    }


    .footer-bottom {
        width: 88%;
        padding: 20px 0;

        flex-direction: column;
        text-align: center;
    }

    .footer-bottom div {
        justify-content: center;
        flex-wrap: wrap;
    }

}
/* =========================================================
   BRIZEX - FULL WIDTH BACKGROUND FIX
   ADDITION ONLY
========================================================= */

/* Remove tiny white/gray gaps around full-width backgrounds */
#home,
.brizex-footer {
    box-sizing: border-box;
}

/* Make information sections use the full available width */
#home .info-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Keep the content itself centered */
#home .info-content {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}


/* =========================================================
   MOBILE CENTERING FIX
========================================================= */

@media (max-width: 600px) {

    #home .info-section {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
        overflow: hidden;
    }

    #home .info-content {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        box-sizing: border-box;
    }

    #home .info-content h2,
    #home .info-content p,
    #home .section-label {
        text-align: center;
    }

}
/* =========================================
   FIX HOME FULL WIDTH
========================================= */

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* REMOVE 1200px LIMIT ONLY FROM HOME */
main > #home.section {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 40px 20px;
    border-radius: 0;
    background: transparent;
}
/* =========================================================
   BRIZEX NEWS CREATE / POST UPDATE
========================================================= */

.news-create-page {
    width: 100%;
    padding: 50px 20px 80px;
}

.news-form-card {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

.news-form-header {
    text-align: center;
    margin-bottom: 35px;
}

.news-form-header span {
    color: #048c1f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
}

.news-form-header h2 {
    margin: 10px 0;
    font-size: 34px;
    color: #111;
}

.news-form-header p {
    color: #777;
    margin: 0;
}

.news-error {
    background: #fff0f0;
    color: #a00000;
    border: 1px solid #ffcccc;
    padding: 15px 18px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.news-error ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.news-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 5px;
}

.news-field {
    width: 100%;
    margin-bottom: 22px;
}

.full-field {
    width: 100%;
}

.news-field label {
    display: block;
    margin-bottom: 8px;
    color: #222;
    font-size: 14px;
    font-weight: 700;
}

.news-field label span {
    color: #888;
    font-weight: normal;
}

.news-field input,
.news-field textarea,
.news-field select {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 13px 14px;
    border: 1px solid #d5d5d5;
    border-radius: 9px;
    background: #fafafa;
    color: #111;
    font-family: Arial, sans-serif;
    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
}

.news-field textarea {
    resize: vertical;
    min-height: 160px;
}

.news-field input:focus,
.news-field textarea:focus,
.news-field select:focus {
    border-color: #048c1f;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(4,140,31,0.08);
}

.news-field input[type="file"] {
    padding: 10px;
}

.news-submit-area {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.news-publish-btn {
    min-width: 220px;
    padding: 14px 30px;
    background: #048c1f;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(4,140,31,0.25);
    transition: 0.25s ease;
}

.news-publish-btn:hover {
    background: #036b18;
    transform: translateY(-2px);
}


/* =========================
   NEWS FORM MOBILE
========================= */

@media (max-width: 700px) {

    .news-create-page {
        padding: 30px 12px 60px;
    }

    .news-form-card {
        padding: 25px 18px;
        border-radius: 16px;
    }

    .news-form-header h2 {
        font-size: 27px;
    }

    .news-form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .news-field {
        margin-bottom: 18px;
    }

    .news-publish-btn {
        width: 100%;
    }

}
/* FORCE NEWS CREATE LAYOUT */

body #newsCreatePage {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 50px 20px 80px !important;
}

body #newsCreatePage .news-form-card {
    width: 100% !important;
    max-width: 950px !important;
    margin: 0 auto !important;
    padding: 40px !important;
    background: #fff !important;
    border-radius: 22px !important;
}

body #newsCreatePage .news-form-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 25px !important;
}

body #newsCreatePage .news-field {
    width: 100% !important;
    max-width: none !important;
}

body #newsCreatePage .news-field input,
body #newsCreatePage .news-field select,
body #newsCreatePage .news-field textarea {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    display: block !important;
}

body #newsCreatePage .news-submit-area {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

@media (max-width: 700px) {

    body #newsCreatePage {
        padding: 25px 12px 60px !important;
    }

    body #newsCreatePage .news-form-card {
        padding: 22px 16px !important;
    }

    body #newsCreatePage .news-form-row {
        grid-template-columns: 1fr !important;
    }
}
/* =========================================================
   BRIZEX NEWS DASHBOARD
========================================================= */

.news-page {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 50px 25px 80px;
}

.news-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
}

.news-label {
    display: block;
    color: #048c1f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.news-page-header h1 {
    margin: 0;
    font-size: 38px;
    color: #111;
}

.news-page-header p {
    margin-top: 8px;
    color: #777;
}

.news-add-btn {
    display: inline-block;
    background: #048c1f;
    color: white;
    padding: 13px 22px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
}

.news-add-btn:hover {
    background: #036b18;
}

.news-success {
    background: #e8f7eb;
    color: #08751d;
    border: 1px solid #b7e5c0;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: bold;
}

.news-list {
    display: grid;
    gap: 25px;
}

.news-item {
    display: flex;
    width: 100%;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.10);
}

.news-image-wrapper {
    width: 35%;
    min-width: 300px;
}

.news-item-image {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.news-item-content {
    flex: 1;
    padding: 28px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.news-type,
.news-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.news-type {
    background: #eaf7ed;
    color: #048c1f;
}

.active-status {
    background: #e8f7eb;
    color: #08751d;
}

.inactive-status {
    background: #eeeeee;
    color: #666;
}

.news-item-content h2 {
    margin: 5px 0 12px;
    font-size: 25px;
    color: #111;
}

.news-content {
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #eeeeee;
}

.news-date {
    color: #888;
    font-size: 13px;
}

.news-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.news-actions form {
    margin: 0;
}

.news-view-btn,
.news-edit-btn,
.news-delete-btn {
    display: inline-block;
    padding: 9px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}

.news-view-btn {
    background: #048c1f;
    color: white;
}

.news-edit-btn {
    background: #FFD700;
    color: #000;
}

.news-delete-btn {
    background: #d32f2f;
    color: white;
    border: none;
}

.news-empty {
    background: white;
    text-align: center;
    padding: 70px 30px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.news-empty-icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.news-empty h3 {
    margin-bottom: 8px;
    color: #111;
}

.news-empty p {
    color: #777;
    margin-bottom: 25px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 750px) {

    .news-page {
        padding: 30px 12px 60px;
    }

    .news-page-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .news-page-header h1 {
        font-size: 30px;
    }

    .news-add-btn {
        text-align: center;
    }

    .news-item {
        display: block;
    }

    .news-image-wrapper {
        width: 100%;
        min-width: 0;
    }

    .news-item-image {
        height: 220px;
        min-height: 0;
    }

    .news-item-content {
        padding: 20px;
    }

    .news-item-content h2 {
        font-size: 21px;
    }

    .news-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .news-actions {
        width: 100%;
    }

    .news-view-btn,
    .news-edit-btn,
    .news-delete-btn {
        flex: 1;
        text-align: center;
    }
}
/* =========================================================
   BRIZEX NEWS FORM - FORM ALIGNMENT
========================================================= */

.admin-news-form {
    width: 100%;
    max-width: 900px;
    padding: 30px;
}

.admin-news-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.admin-news-form label {
    display: block;
    width: 100%;
    margin: 0 0 7px;
    font-weight: bold;
    color: #222;
}

.admin-news-form input,
.admin-news-form textarea,
.admin-news-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    background: #fff;
    color: #222;
}

/* Content iwe full width */
.admin-news-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* Title iwe full width */
.admin-news-form label[for="title"],
.admin-news-form input[name="title"] {
    grid-column: 1 / -1;
}

/* Content iwe full width */
.admin-news-form label[for="content"],
.admin-news-form textarea[name="content"] {
    grid-column: 1 / -1;
}

/* Image iwe full width */
.admin-news-form label[for="image"],
.admin-news-form input[name="image"] {
    grid-column: 1 / -1;
}

/* Publish button iwe full width */
.admin-news-form button[type="submit"] {
    grid-column: 1 / -1;
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 9px;
    background: #048c1f;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.admin-news-form button[type="submit"]:hover {
    background: #036b18;
}

/* Date fields ziwe mbili pembeni */
.admin-news-form input[name="start_date"],
.admin-news-form input[name="end_date"] {
    width: 100%;
}

/* Link iwe full width */
.admin-news-form label:last-of-type,
.admin-news-form input[name="link"] {
    grid-column: 1 / -1;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .admin-news-form {
        padding: 20px;
    }

    .admin-news-form form {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .admin-news-form label,
    .admin-news-form input,
    .admin-news-form textarea,
    .admin-news-form select,
    .admin-news-form button[type="submit"] {
        grid-column: 1 / -1;
    }

}
/* =========================================================
   HOME - NEWS & UPDATES HORIZONTAL SCROLL
========================================================= */

.news-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 5px 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Kila News Card */
.news-card {
    flex: 0 0 300px;
    width: 300px;
    min-width: 300px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

/* Picha iwe ndogo na size sawa */
.news-card .news-image,
.news-image {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

/* Content ya News */
.news-card h3 {
    font-size: 19px;
    margin: 15px 15px 8px;
}

.news-card p {
    margin: 0 15px 15px;
    line-height: 1.5;
}

/* Scroll bar */
.news-grid::-webkit-scrollbar {
    height: 7px;
}

.news-grid::-webkit-scrollbar-thumb {
    background: #048c1f;
    border-radius: 10px;
}

.news-grid::-webkit-scrollbar-track {
    background: #eeeeee;
    border-radius: 10px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .news-grid {
        gap: 15px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .news-card {
        flex: 0 0 270px;
        width: 270px;
        min-width: 270px;
    }

    .news-card .news-image,
    .news-image {
        height: 150px;
    }

}
/* ===============================
   BRIZEX NEWS CAROUSEL
================================ */

.news-carousel {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.news-slider {
    width: 100%;
    max-width: 650px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.news-card {
    flex: 0 0 100%;
    width: 100%;
    display: none;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}

.news-card:first-child {
    display: block;
}

/* Picha ionekane yote */
.news-image {
    width: 100%;
    height: 260px;
    object-fit: contain;
    display: block;
    background: #f5f5f5;
}

/* Content */
.news-content {
    padding: 20px;
    text-align: center;
}

.news-content h3 {
    margin: 10px 0;
}

.news-content p {
    line-height: 1.6;
}

/* Mishale */
.news-arrow {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border: none;
    border-radius: 50%;
    background: #048c1f;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-arrow:hover {
    background: #036b18;
    transform: scale(1.05);
}


/* ===============================
   MOBILE
================================ */

@media (max-width: 600px) {

    .news-carousel {
        gap: 8px;
    }

    .news-slider {
        max-width: calc(100% - 70px);
    }

    .news-image {
        height: 190px;
    }

    .news-arrow {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 19px;
    }

}
.news-slider .news-card .news-image {
    width: 100% !important;
    height: 260px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    background: #f5f5f5;
}
/* =========================================================
BRIZEX HOME NEWS - INSTAGRAM STYLE CAROUSEL
========================================================= */

.home-news-carousel {
width: 100%;
max-width: 700px;
margin: 25px auto 0;
overflow: hidden;
border-radius: 18px;
touch-action: pan-y;
cursor: grab;
}

.home-news-carousel:active {
cursor: grabbing;
}

.home-news-track {
display: flex;
width: 100%;
transition: transform 0.45s ease;
will-change: transform;
}

.home-news-card {
flex: 0 0 100%;
width: 100%;
background: #ffffff;
border-radius: 18px;
overflow: hidden;
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
cursor: pointer;
user-select: none;
-webkit-user-select: none;
}

/* ================= IMAGE ================= */

.home-news-image-wrapper {
width: 100%;
height: 390px;
background: #f5f5f5;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}

.home-news-image {
width: 100%;
height: 100%;
object-fit: contain;
object-position: center;
display: block;
}

/* ================= TITLE ================= */

.home-news-title {
padding: 18px 20px;
text-align: center;
font-size: 20px;
font-weight: 800;
color: #111;
line-height: 1.4;
min-height: 65px;
display: flex;
align-items: center;
justify-content: center;
}

/* ================= DOTS ================= */

.home-news-dots {
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
margin-top: 16px;
}

.home-news-dot {
width: 9px;
height: 9px;
min-width: 9px;
padding: 0;
margin: 0;
border: none;
border-radius: 50%;
background: #cfcfcf;
box-shadow: none;
cursor: pointer;
transition: 0.25s ease;
}

.home-news-dot:hover {
background: #999;
transform: none;
}

.home-news-dot.active {
width: 10px;
height: 10px;
min-width: 10px;
background: #048c1f;
transform: scale(1.15);
}

/* ================= MOBILE ================= */

@media (max-width: 600px) {

```
.home-news-carousel {
    width: 100%;
    max-width: 100%;
    border-radius: 15px;
}

.home-news-card {
    border-radius: 15px;
}

.home-news-image-wrapper {
    height: 300px;
}

.home-news-title {
    font-size: 17px;
    padding: 15px;
    min-height: 58px;
}

.home-news-dots {
    margin-top: 13px;
    gap: 7px;
}
```

}
/* =========================================================
   BRIZEX NEWS IMAGE ZOOM
========================================================= */

.news-image-overlay {

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.92);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.25s ease;

    z-index: 9999999999;

    cursor: zoom-out;
}


.news-image-overlay.show {

    opacity: 1;
    visibility: visible;

}


.news-image-overlay img {

    max-width: 95%;
    max-height: 92vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 10px;

    box-shadow: 0 10px 50px rgba(0,0,0,0.5);

    cursor: default;

    transform: scale(0.85);

    transition: transform 0.3s ease;

}


.news-image-overlay.show img {

    transform: scale(1);

}


.news-image-close {

    position: absolute;

    top: 20px;
    right: 30px;

    color: white;

    font-size: 45px;
    font-weight: bold;

    line-height: 1;

    cursor: pointer;

    z-index: 2;

}


.news-image-close:hover {

    color: #FFD700;

}


/* ================= MOBILE ================= */

@media (max-width: 600px) {

    .news-image-overlay {

        padding: 15px;

    }

    .news-image-overlay img {

        max-width: 96%;
        max-height: 85vh;

        border-radius: 8px;

    }

    .news-image-close {

        top: 12px;
        right: 18px;

        font-size: 38px;

    }

}
/* =========================================================
   BRIZEX NEWS IMAGE ZOOM
========================================================= */

.news-image-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999999999;

    cursor: zoom-out;
}

.news-image-zoom-overlay img {
    max-width: 95%;
    max-height: 95%;

    object-fit: contain;

    border-radius: 12px;

    transform: scale(1);
    transition: transform 0.35s ease;

    cursor: pointer;
}

.news-image-zoom-overlay img.zoomed {
    transform: scale(1.15);
}

/* Close button */
.news-image-zoom-close {
    position: absolute;

    top: 15px;
    right: 25px;

    color: white;

    font-size: 45px;
    font-weight: bold;

    cursor: pointer;

    z-index: 2;
}

/* Mobile */
@media (max-width: 600px) {

    .news-image-zoom-overlay img {
        max-width: 96%;
        max-height: 90%;
    }

    .news-image-zoom-close {
        top: 10px;
        right: 18px;
        font-size: 38px;
    }
}
/* =========================================================
   BRIZEX NEWS IMAGE ZOOM OVERLAY
========================================================= */

.news-image-zoom-overlay {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.94);

    display: flex;

    justify-content: center;
    align-items: center;

    padding: 20px;

    z-index: 99999999999;

    cursor: default;

}


.news-image-zoom-overlay img {

    max-width: 90%;
    max-height: 85vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 12px;

    cursor: zoom-in;

    transition:
        transform 0.4s ease,
        max-width 0.4s ease,
        max-height 0.4s ease;

}


.news-image-zoom-overlay img.zoomed {

    transform: scale(1.5);

    cursor: zoom-out;

}


.news-image-zoom-close {

    position: absolute;

    top: 15px;
    right: 25px;

    color: white;

    font-size: 50px;

    font-weight: bold;

    line-height: 1;

    cursor: pointer;

    z-index: 10;

}


.news-image-zoom-close:hover {

    color: #FFD700;

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .news-image-zoom-overlay {

        padding: 10px;

    }

    .news-image-zoom-overlay img {

        max-width: 94%;
        max-height: 80vh;

    }

    .news-image-zoom-overlay img.zoomed {

        transform: scale(1.35);

    }

    .news-image-zoom-close {

        top: 10px;
        right: 18px;

        font-size: 42px;

    }

}
/* =========================================================
   BRIZEX HOME NOTICE - ANIMATED BACKGROUND
   ADDITION ONLY - DO NOT REMOVE EXISTING CODE
========================================================= */

.home-notice {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        270deg,
        #000000,
        #048c1f,
        #000000,
        #1b5e20
    );
    background-size: 400% 400%;
    animation: noticeBackgroundMove 8s ease infinite;
    border-top: 2px solid #FFD700;
    border-bottom: 2px solid #FFD700;
}

.home-notice-text {
    position: relative;
    z-index: 2;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

@keyframes noticeBackgroundMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}
