/* =========================================================
   THEME SHARED MAIN.CSS
   Shared by:
   - AloCentral
   - Petrotopic
   - StayMyDay
   - EnglishJumpstart

   Version : 2.0
========================================================= */



/* =========================================================
   01 RESET
========================================================= */

*,
*::before,
*::after{

    margin:0;
    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

    -webkit-text-size-adjust:100%;

}

body{

    min-height:100vh;

    text-rendering:optimizeLegibility;

    -webkit-font-smoothing:antialiased;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

}

button{

    border:none;

    background:none;

    cursor:pointer;

    font:inherit;

}

input,
select,
textarea{

    font:inherit;

    outline:none;

}



/* =========================================================
   02 THEME VARIABLES
========================================================= */

:root{

    /* -------------------------------------------------
       BRAND
    ------------------------------------------------- */

    --primary:#0F766E;

    --primary-hover:#115E59;

    --secondary:#334155;

    --accent:#14B8A6;



    /* -------------------------------------------------
       STATUS
    ------------------------------------------------- */

    --success:#16A34A;

    --warning:#F59E0B;

    --danger:#DC2626;

    --info:#2563EB;



    /* -------------------------------------------------
       BACKGROUND
    ------------------------------------------------- */

    --body-bg:#F8FAFC;

    --section-bg:#FFFFFF;

    --card-bg:#FFFFFF;

    --navbar-bg:#FFFFFF;

    --footer-bg:#111827;

    --dropdown-bg:#FFFFFF;



    /* -------------------------------------------------
       TEXT
    ------------------------------------------------- */

    --text:#1F2937;

    --text-light:#6B7280;

    --heading:#a5a7aa;

    --footer-text:#CBD5E1;



    /* -------------------------------------------------
       BORDER
    ------------------------------------------------- */

    --border:#E5E7EB;

    --border-hover:#D1D5DB;



    /* -------------------------------------------------
       SHADOW
    ------------------------------------------------- */

    --shadow-xs:
        0 1px 2px rgba(0,0,0,.05);

    --shadow-sm:
        0 3px 8px rgba(0,0,0,.08);

    --shadow-md:
        0 10px 25px rgba(0,0,0,.10);

    --shadow-lg:
        0 20px 45px rgba(0,0,0,.18);



    /* -------------------------------------------------
       RADIUS
    ------------------------------------------------- */

    --radius-sm:6px;

    --radius-md:10px;

    --radius-lg:16px;

    --radius-xl:24px;

    --radius-round:999px;



    /* -------------------------------------------------
       BUTTON
    ------------------------------------------------- */

    --btn-padding:12px 24px;

    --btn-radius:10px;

    --btn-bg:var(--primary);

    --btn-hover:var(--primary-hover);

    --btn-color:#ffffff;



    /* -------------------------------------------------
       INPUT
    ------------------------------------------------- */

    --input-height:48px;

    --input-bg:#ffffff;

    --input-border:#D1D5DB;

    --input-focus:var(--primary);



    /* -------------------------------------------------
       CARD
    ------------------------------------------------- */

    --card-radius:18px;

    --card-padding:22px;

    --card-shadow:var(--shadow-sm);
    
    



    /* -------------------------------------------------
       HERO
    ------------------------------------------------- */

    --hero-height:360px;

    --hero-title-size:56px;

    --hero-text-size:22px;



    /* -------------------------------------------------
       NAVBAR
    ------------------------------------------------- */

    --nav-height:72px;



    /* -------------------------------------------------
       FONT
    ------------------------------------------------- */

    --font-family:
        Inter,
        Arial,
        sans-serif;

}




.nav-language{

    display:flex;
    align-items:center;
    margin-right:12px;

}



/* =====================================
   RESPONSIVE NAVBAR
===================================== */

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-btn {
    display: none;
}

/* More dropdown */
.nav-more {
    position: relative;
}

.nav-more-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.more-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 190px;
    padding: 8px;
    background: var(--nav-dropdown-bg, #fff);
    color: var(--nav-dropdown-color, #222);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    z-index: 9999;
}

.nav-more.open .more-dropdown {
    display: block;
}

.more-dropdown a {
    display: block;
    padding: 11px 12px;
    color: inherit;
    text-decoration: none;
    border-radius: 5px;
}

.more-dropdown a:hover {
    background: rgba(128,128,128,.15);
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {

    .nav-container {
        flex-wrap: wrap;
        width: 100%;
        box-sizing: border-box;
    }

    .logo {
        margin-right: auto;
    }

    .logo-text {
        font-size: 18px;
    }

    .nav-actions {
        margin-left: auto;
    }

    .mobile-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Hidden until hamburger is clicked */
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        flex-basis: 100%;
        order: 3;
        box-sizing: border-box;
        padding: 8px 0;
        margin: 0;
        overflow: visible;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links > a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 13px 12px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .nav-language {
        width: 100%;
        box-sizing: border-box;
        padding: 8px 12px;
    }

    .country-select {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* More expands inside the menu */
    .nav-more {
        display: block;
        width: 100%;
    }

    .nav-more-btn {
        width: 100%;
        box-sizing: border-box;
        padding: 13px 12px;
    }

    .more-dropdown {
        position: static;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        margin: 0;
        padding: 4px 8px 8px 20px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .more-dropdown a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 12px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .dark .more-dropdown {
        background: transparent;
        color: inherit;
        border: 0;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .logo-img {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 16px;
    }

    .nav-actions {
        gap: 4px;
    }

    .icon-btn {
        padding: 6px;
    }
}


@media (max-width: 768px) {

    /* Show More items directly in the mobile menu */
    .nav-more {
        display: contents;
    }

    .nav-more-btn {
        display: none;
    }

    .more-dropdown {
        display: contents !important;
        position: static;
        width: 100%;
        min-width: 0;
        padding: 0;
        margin: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .more-dropdown a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 13px 12px;
        white-space: normal;
    }
}



/* Dark mode */
.dark .more-dropdown {
    background: #222;
    color: #f5f5f5;
    border-color: #444;
}


.country-select{

    min-width:160px;
    height:42px;
    padding:0 14px;
    border:1px solid var(--border);
    border-radius:10px;
    background:var(--card-bg);
    color:var(--text);
    font-weight:600;

}

html.dark .country-select{

    background:#ffffff;
    color:#111827;

}

@media(max-width:900px){

    .nav-language{

        width:100%;
        margin:15px 0;

    }

    .country-select{

        width:100%;

    }

}


/* =====================================
   LANGUAGE
===================================== */

.nav-language{

    display:flex;
    align-items:center;
    margin-right:10px;

}

.country-select{

    height:42px;
    min-width:145px;
    padding:0 12px;
    border:1px solid var(--border);
    border-radius:10px;
    background:var(--card-bg);
    color:var(--text);
    font-weight:600;
}

html.dark .country-select{

    background:#ffffff;
    color:#111827;

}


/* =====================================
   MOBILE
===================================== */

@media(max-width:900px){

    .nav-links{

        display:none;
        position:absolute;
        top:72px;
        left:0;
        right:0;
        background:var(--navbar-bg);
        border-top:1px solid var(--border);
        flex-direction:column;
        padding:18px;
        gap:3px;
        box-shadow:var(--shadow-md);

    }

    .nav-links.show{

        display:flex;

    }

    .nav-links a{

        width:100%;
        text-align:center;

    }

    .nav-language{

        order:-1;
        width:100%;
        margin:0 0 10px 0;

    }

    .country-select{

        width:100%;
        min-width:100%;

    }

}


/* =========================================================
   AUTH LOGIN
========================================================= */

.page-wrapper{

    min-height:calc(100vh - 160px);

    display:flex;

    justify-content:center;

    align-items:center;

    padding:60px 20px;

}

.glass-card{

    width:100%;

    max-width:500px;

    background:var(--card-bg);

    border:1px solid var(--border);

    border-radius:24px;

    padding:40px;

    box-shadow:var(--shadow-lg);

}

.glass-card h2{

    text-align:center;

    margin-bottom:8px;

}

.auth-subtitle{

    text-align:center;

    color:var(--text-light);

    margin-bottom:28px;

}

.form-grid{

    display:grid;

    gap:18px;

}

.form-group{

    display:flex;

    flex-direction:column;

}

.form-group label{

    margin-bottom:8px;

    font-weight:600;

}

.form-group.full{

    grid-column:1/-1;

}

.primary-btn{

    width:100%;

    height:54px;

    margin-top:24px;

    border:none;

    border-radius:14px;

    background:var(--primary);

    color:#fff;

    font-size:16px;

    font-weight:700;

    transition:.25s;

}

.primary-btn:hover{

    background:var(--primary-hover);

    transform:translateY(-2px);

}

.google-btn{

    width:100%;

    height:54px;

    display:flex;

    align-items:center;

    justify-content:center;

    border:1px solid var(--border);

    border-radius:14px;

    background:#fff;

    color:#374151;

    font-weight:600;

    transition:.25s;
    

}

.google-btn{

    gap:12px;

}

.google-btn:hover{

    background:#f8fafc;

    border-color:var(--primary);

}

.or-divider{

    display:flex;

    align-items:center;

    margin:24px 0;

    color:#9ca3af;

    font-size:14px;

}

.or-divider::before,

.or-divider::after{

    content:"";

    flex:1;

    height:1px;

    background:var(--border);

}

.or-divider span{

    margin:0 15px;

}

.alert.error{

    margin-bottom:20px;

    background:#FEE2E2;

    color:#B91C1C;

    border:1px solid #FCA5A5;

    border-radius:12px;

    padding:14px 16px;

}

.auth-links{

    margin-top:26px;

    text-align:center;

    line-height:2;

}

.auth-links a{

    font-weight:600;

}

@media(max-width:768px){

    .page-wrapper{

        padding:30px 15px;

        align-items:flex-start;

    }

    .glass-card{

        padding:28px 22px;

        border-radius:20px;

    }

}


.page-wrapper{

    min-height:calc(100vh - 220px);

    display:flex;

    align-items:center;

    justify-content:center;

    padding:60px 20px;

}

.glass-card{

    width:100%;

    max-width:520px;

    background:#ffffff;

    border:1px solid var(--border);

    border-radius:24px;

    padding:40px;

    box-shadow:var(--shadow-md);

}

.glass-card h2{

    text-align:center;

    margin-bottom:12px;

}

.auth-subtitle{

    text-align:center;

    margin-bottom:30px;

    color:var(--text-light);

}

.form-grid{

    display:grid;

    gap:20px;

}

.form-group.full{

    width:100%;

}

.primary-btn{

    width:100%;

    height:54px;

    margin-top:10px;

    border:none;

    border-radius:14px;

    background:var(--primary);

    color:#fff;

    font-size:16px;

    font-weight:700;

    transition:.25s;

}

.primary-btn:hover{

    background:var(--primary-hover);

    transform:translateY(-2px);

}

.auth-links{

    margin-top:28px;

    text-align:center;

    line-height:2;

}

.alert{

    margin-bottom:20px;

}

@media(max-width:768px){

    .glass-card{

        padding:28px 22px;

        border-radius:18px;

    }

}


/* =========================================================
   03 WEBSITE OVERRIDES
========================================================= */

/* ---------- ALOCENTRAL ---------- */

html[data-site="alocentral"]{

    --primary:#DC2626;

    --primary-hover:#B91C1C;

    --hero-height:420px;

}



/* ---------- PETROTOPIC ---------- */

html[data-site="petrotopic"]{

    --primary:#006B3F;

    --primary-hover:#00552F;

    --hero-height:300px;

}

.card-link{

        display:block;
    
        color:inherit;
    
        text-decoration:none;
    
    }

/* ---------- STAYMYDAY ---------- */

html[data-site="staymyday"]{

    --primary:#2563EB;

    --primary-hover:#1D4ED8;

    --hero-height:520px;

}




/* ---------- ENGLISH JUMPSTART ---------- */

html[data-site="englishjumpstart"]{

    --primary:#E53935;
    --primary-hover:#C62828;

    --accent:#FFCDD2;

    --hero-height:500px;

    --body-bg:#FFFFFF;
    --card-bg:#FFFFFF;
    --navbar-bg:#FFFFFF;

    --text:#222222;
    --text-light:#666666;
    --heading:#a5a7aa;

}


/* =========================================================
   04 BODY
========================================================= */

body{

    font-family:var(--font-family);

    background:var(--body-bg);

    color:var(--text);

    line-height:1.6;

}



/* =========================================================
   05 TYPOGRAPHY
========================================================= */

h1{

    font-size:clamp(36px,5vw,60px);

    color:var(--heading);

    font-weight:800;

}

h2{

    font-size:clamp(28px,4vw,44px);

    color:var(--heading);

    font-weight:700;

}

h3{

    font-size:26px;

    color:var(--heading);

    font-weight:700;

}

h4{

    font-size:22px;

    color:var(--heading);

}

p{

    color:var(--text-light);

}

a{

    color:var(--primary);

    transition:.25s;

}

a:hover{

    color:#a0cef1;

}



/* =========================================================
   06 CONTAINER
========================================================= */

.container{

   

    margin:auto;

    padding-left:20px;

    padding-right:20px;

}

.container-sm{

    max-width:900px;

    margin:auto;

    padding-left:20px;

    padding-right:20px;

}

.container-lg{

    max-width:1600px;

    margin:auto;

    padding-left:30px;

    padding-right:30px;

}



/* =========================================================
   07 SECTION
========================================================= */

.section{

    padding:3px 0;

}

.section-sm{

    padding:0px 0;

}

.section-lg{

    padding:90px 0;

}

.section-title{

    margin-bottom:35px;

}



/* =========================================================
   08 GRID
========================================================= */

.grid{

    display:grid;

    gap:24px;

}

.grid-2{

    grid-template-columns:
        repeat(2,1fr);

}

.grid-3{

    grid-template-columns:
        repeat(3,1fr);

}

.grid-4{

    grid-template-columns:
        repeat(4,1fr);

}

.grid-auto{

    grid-template-columns:
        repeat(auto-fit,minmax(280px,1fr));

}



/* =========================================================
   09 FLEX
========================================================= */

.flex{

    display:flex;

}

.flex-center{

    display:flex;

    justify-content:center;

    align-items:center;

}

.flex-between{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.flex-column{

    display:flex;

    flex-direction:column;

}



/* =========================================================
   10 COMMON UTILITIES
========================================================= */

.rounded{

    border-radius:var(--radius-lg);

}

.shadow{

    box-shadow:var(--shadow-md);

}

.text-center{

    text-align:center;

}

.text-left{

    text-align:left;

}

.text-right{

    text-align:right;

}

.hide{

    display:none;

}

.show{

    display:block;

}

.w-100{

    width:100%;

}

.mt-10{

    margin-top:10px;

}

.mt-20{

    margin-top:20px;

}

.mt-30{

    margin-top:30px;

}

.mb-10{

    margin-bottom:10px;

}

.mb-20{

    margin-bottom:20px;

}

.mb-30{

    margin-bottom:30px;

}

/* =========================================================
   11 NAVBAR (SHARED)
========================================================= */

.navbar{

    position:sticky;

    top:0;

    z-index:9999;

    width:100%;

    height:var(--nav-height);

    display:flex;

    align-items:center;

    background:var(--navbar-bg);

    border-bottom:1px solid var(--border);

    transition:.3s;

}

.nav-container{

    width:100%;

  

    margin:auto;

    padding:0 20px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

}


/* =========================================================
   12 NAVBAR WEBSITE
========================================================= */

.navbar-alocentral{

    background:var(--card-bg);

}

.navbar-petrotopic{

    background:var(--card-bg);

}

.navbar-staymyday{

    background:var(--card-bg);

}

.navbar-englishjumpstart{

    background:var(--card-bg);

}


/* =========================================================
   13 LOGO
========================================================= */
.logo,
.logo:hover,
.logo:focus,
.logo:visited{

    text-decoration:none;

}

.logo{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:16px;

    font-weight:800;

}

.logo img{

  

    height:42px;

    object-fit:contain;

}

.logo{

    transition:var(--transition);

}

.logo:hover{

    transform:translateY(-1px);

}

.logo-note img{

    height:50px;

    width:auto;

    object-fit:contain;

    display:block;

    flex-shrink:0;

}

.logo-area{

display:flex;

flex-direction:column;

}

.logo-sub{

font-size:12px;

color:var(--text-light);

}

.right a{

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:44px;

    padding:0 18px;

    border-radius:12px;

    font-weight:600;

    transition:var(--transition);

}

.right a:hover{

    background:rgba(0,0,0,.05);

}

/* ---------- ALOCENTRAL ---------- */

.logo-alocentral{

    color:#DC2626;

}

/* ---------- PETROTOPIC ---------- */

.logo-petrotopic{

    color:#006B3F;

}

/* ---------- STAYMYDAY ---------- */

.logo-staymyday{

    color:#2563EB;

}

/* ---------- ENGLISH ---------- */

.logo-englishjumpstart{

    color:#7C3AED;

}



/* =========================================================
   14 NAVIGATION LINKS
========================================================= */

.nav-links{

    display:flex;

    align-items:center;

    gap:3px;

}

.nav-links a{

    padding:10px 16px;

    border-radius:10px;

    font-weight:600;

    color:var(--text);

    transition:.25s;

}

.nav-links a:hover{

    background:rgba(0,0,0,.05);

}

.nav-links a.active{

    background:var(--primary);

    color:#fff;

}


/* =========================================================
   15 DROPDOWN
========================================================= */

.dropdown{

    position:relative;

}

.dropdown-menu{

    position:absolute;

    left:0;

    top:100%;

    min-width:220px;

    background:#fff;

    border-radius:18px;

    border:1px solid var(--border);

    display:none;

    overflow:hidden;

    box-shadow:var(--shadow-lg);

}

.dropdown:hover .dropdown-menu{

    display:block;

}

.dropdown-menu a{

    display:block;

    padding:14px 18px;

}

.dropdown-menu a:hover{

    background:var(--primary);

    color:#fff;

}



/* =========================================================
   16 NAV ACTIONS
========================================================= */

.nav-actions{

    display:flex;

    align-items:center;

    gap:10px;

}



/* =========================================================
   17 ICON BUTTON
========================================================= */

.icon-btn{

    width:44px;

    height:44px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    border:1px solid var(--border);

    transition:.25s;

}

.icon-btn:hover{

    background:var(--primary);

    color:#fff;

}



/* =========================================================
   18 BUTTON
========================================================= */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    padding:var(--btn-padding);

    border-radius:var(--btn-radius);

    background:var(--primary);

    color:#fff;

    font-weight:600;

    transition:.25s;

}

.btn:hover{

    background:var(--primary-hover);

    transform:translateY(-2px);

}

.btn-outline{

    background:#ffffff;
    color:var(--text);
    border:1px solid var(--border);

}

.btn-outline:hover{

    background:#f3f4f6;
    color:var(--text);

}

/* ---------- WEBSITE BUTTON ---------- */

.btn-alocentral{

    border-radius:12px;

}

.btn-petrotopic{

    border-radius:6px;

}

.btn-staymyday{

    border-radius:999px;

}

.btn-englishjumpstart{

    font-size:17px;

}

.btn-warning{

    background:#ffba00;

    color:#111111;

}

.btn-warning:hover{

    background:#ffb000;

}


@media (max-width:768px){

    .profile-actions{
        display:flex;
        flex-wrap:wrap;
        gap:12px;
    }

    .profile-actions .action-btn{
        flex:1 1 calc(50% - 6px);   /* Two buttons per row */
        min-width:0;
        height:52px;
        padding:0 12px;
        text-align:center;
        justify-content:center;
        box-sizing:border-box;
    }

}

/* =========================================================
   19 SEARCH (SHARED)
========================================================= */

.search-box{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    width:100%;

}


.search-box input,

.search-box select{

    height:54px;

    border:1px solid var(--border);

    border-radius:12px;

    padding:0 18px;

    background:#fff;

}

.search-box input{

    flex:1;

    min-width:260px;

}

.search-box button{

    min-width:150px;

}

.search-actions{

    display:flex;

    gap:12px;

    align-items:center;

    justify-content:center;

}

.search-actions .btn{

    min-width:130px;

}

/* =========================================================
   20 SEARCH - ALOCENTRAL
========================================================= */

.search-box-alocentral{

    padding:30px;

    background:#ffffff;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.search-box-alocentral form{

    width:100%;

}

.search-box-alocentral .search-grid{

    display:grid;

    grid-template-columns:2fr 180px 180px auto;

    gap:18px;

    align-items:center;

}

.search-box-alocentral input{

    width:100%;

    min-width:0;

}

.search-box-alocentral select{

    width:100%;

}

.search-box-alocentral button{

    width:100%;
    
    height:100%;
    
    background:#38a128;

    white-space:nowrap;
    
    border-radius: 10px;
    color: white;

}

@media(max-width:900px){

    .search-box-alocentral{

        padding:20px;

        

    }

    .search-box-alocentral .search-grid{

        grid-template-columns:1fr;

    }
    
    
    
    .search-box-alocentral button{
        
        width:100%;
        
        height:40px;
        
        background:#38a128;
    
        white-space:nowrap;
        
        border-radius: 10px;
        color: white;
    
    }    

}



/* =========================================================
   21 SEARCH - PETROTOPIC
========================================================= */

.search-box-petrotopic{

    max-width:900px;

    margin:auto;

}

.search-box-petrotopic input{

    flex:1;

}



.search-box-petrotopic button{

    background:#006B3F;

}



/* =========================================================
   22 SEARCH - STAYMYDAY
========================================================= */

.search-box-staymyday{

    max-width:1000px;

    margin:auto;

}

.search-box-staymyday input{

    flex:2;

}

.search-box-staymyday select{

    width:180px;

}

.search-box-staymyday button{

    background:#2563EB;

}



/* =========================================================
   23 SEARCH - ENGLISH JUMPSTART
========================================================= */

.search-box-englishjumpstart{

    max-width:700px;

    margin:auto;

}

.search-box-englishjumpstart input{

    flex:1;

}

.search-box-englishjumpstart button{

    background:#7C3AED;

}



/* =========================================================
   24 SEARCH GRID
========================================================= */

.search-grid{

    display:grid;

    grid-template-columns:

        2fr
        1fr
        1fr
        auto;

    gap:15px;

}

.search-grid input,

.search-grid select,

.search-grid button{

    width:100%;

}



/* =========================================================
   25 MOBILE NAVIGATION
========================================================= */

.mobile-btn{

    display:none;

}

@media(max-width:900px){

    .mobile-btn{

        display:flex;

        width:44px;

        height:44px;

        justify-content:center;

        align-items:center;
        
        color: #8d6f6f;

    }

    .nav-links{

        display:none;

        position:absolute;

        left:0;

        right:0;

        top:72px;

        flex-direction:column;

        padding:20px;

        background:var(--navbar-bg);

        border-top:1px solid var(--border);

    }

    .nav-links.show{

        display:flex;

    }

    .search-grid{

        grid-template-columns:1fr;

    }

    .search-box{

        flex-direction:column;

    }

    .search-box input,

    .search-box select,

    .search-box button{

        width:100%;

    }

}


/* =====================================================
   PAGE
===================================================== */

.page{

    padding-top:110px;

    min-height:100vh;
}



/* =====================================================
   CARD
===================================================== */

.card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:32px;

    padding:32px;

    box-shadow:var(--shadow);
}

/* =====================================================
   PROFILE HEADER
===================================================== */

.profile-header{

    display:flex;
    align-items:center;
    gap:32px;

    padding:30px;

    border-radius:24px;

    background:var(--body-bg);

    border:1px solid var(--border);

    margin-bottom:30px;
}

/* =====================================================
   AVATAR
===================================================== */

.profile-avatar{

    width:160px;
    height:160px;

    min-width:160px;
    min-height:160px;

    border-radius:9999px;

    object-fit:cover;

    display:block;

    overflow:hidden;

    aspect-ratio:1/1;
}

/* =====================================================
   INFO
===================================================== */

.profile-info h1{

    margin:0;

    font-size:42px;

    font-weight:900;

    line-height:1.1;
}

.profile-info p{

    margin-top:10px;

    color:#6b7280;

    font-size:16px;
}

.profile-bio{

    margin-top:15px;

    max-width:700px;

    font-size:16px;

    line-height:1.8;

    color:#374151;
}



/* =====================================================
   SOCIAL LINKS
===================================================== */

.profile-links{

    display:flex;

    flex-wrap:wrap;

    gap:10px;
}

.profile-links a{

    text-decoration:none;

    background:#fff0f3;

    color:var(--primary);

    padding:10px 16px;

    border-radius:999px;

    font-size:14px;

    font-weight:700;
}

/* =====================================================
   MESSAGE
===================================================== */

.message{

    margin:20px 0;

    padding:14px 18px;

    background:#e8f6ee;

    color:#1e7e34;

    border-radius:14px;

    font-weight:700;
}

/* =====================================================
   SECTION
===================================================== */

.section{

    margin-top:3px;
}

.section-title{

    font-size:24px;

    font-weight:800;

    margin-bottom:20px;
}

/* =====================================================
   FORM
===================================================== */

label{

    display:block;

    margin-top:16px;

    margin-bottom:8px;

    font-weight:700;
}

input{

    width:100%;

    height:52px;

    border-radius:16px;

    border:1px solid var(--border);

    background:var(--card);

    color:var(--text);

    padding:0 18px;

    font-size:15px;
}

input:focus{

    outline:none;

    border-color:var(--primary);
}

button{

    border:none;

    background:var(--primary);

    color:#ffffff;

    

    border-radius:16px;

    font-size:15px;

    font-weight:700;

    cursor:pointer;
}

.action-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-height:52px;

    box-sizing:border-box;

    padding:14px 22px;

    border-radius:12px;

    text-decoration:none;

    font-weight:700;

    transition:.25s;
}

/* =====================================================
   EXPERIENCE
===================================================== */

.experience{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:22px;

    padding:20px;

    margin-bottom:16px;
}

.experience strong{

    font-size:18px;
}

.experience small{

    color:var(--soft);
}

/* =====================================================
   MOBILE
===================================================== */

@media(max-width:768px){

    .page{

        padding-top:95px;
    }

    .profile-header{

        flex-direction:column;

        text-align:center;
    }

    .profile-avatar{

        width:110px;

        height:110px;
    }

    .profile-info h1{

        font-size:28px;
    }

    .card{

        padding:22px;
    }
}


.verified-badge{

    display:inline-block;

    margin-left:10px;

    font-size:14px;

    background:#dcfce7;

    color:#166534;

    padding:6px 12px;

    border-radius:999px;

    vertical-align:middle;
}

.edit-profile-btn{

    background:#2563eb;

    color:white;

    border:none;

    padding:14px 22px;

    border-radius:12px;

    font-weight:700;

    cursor:pointer;

    margin-top:15px;
}


/* =====================================================
   26a PROFILE ACTION BAR
===================================================== */

.profile-actions{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin:20px 0 25px;
}



.action-btn:hover{

    transform:translateY(-2px);
}

.profile-actions button{

    margin-top:0;
}

/* Post */

.action-post{

    background:#2563eb;

    color:#fff;
}

.action-marketplace{

    background:#2563eb;

    color:#fff;
}

.action-create-listing{

    background:#2563eb;

    color:#fff;
}


.action-post-job{

    background:#f59e0b;

    color:#fff;
}

/* Edit */

.action-edit{

    background:#10b981;

    color:#fff;
}

/* Logout */

.action-logout{

    background:#ef4444;

    color:#fff;
}

.card:hover{
    transform:none !important;
    cursor:default !important;
    box-shadow:var(--shadow) !important;
}

.upload-input{

    display:none;
}


.avatar-wrapper{

    position:relative;

    display:inline-block;
}

.avatar-camera{

    position:absolute;

    right:0;

    bottom:0;

    width:50px;

    height:50px;

    border-radius:50%;

    background:#2563eb;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    font-size:22px;

    border:3px solid #fff;

    box-shadow:0 5px 15px rgba(0,0,0,.2);
}

.action-job{

    background:#f59e0b;

    color:#fff;
}

/* =========================================================
   26b HERO (SHARED)
========================================================= */

.hero{

    position:relative;

    align-items:center;

    justify-content:center;

    overflow:hidden;

    background:var(--hero-bg);

    background-size:cover;

    background-position:center;

}

.hero-overlay{

    width:100%;

   

    display:flex;

    align-items:center;

    justify-content:center;

    padding:20px 20px;

}

.hero-inner{

    width:100%;

    max-width:1200px;

    margin:auto;

    text-align:center;

}

.hero h1{

    font-size:var(--hero-title-size);

    font-weight:800;

    margin-bottom:20px;

}

.hero p{

    font-size:var(--hero-text-size);

    max-width:900px;

    margin:auto;

    margin-bottom:30px;

}



/* =========================================================
   27 HERO - ALOCENTRAL
========================================================= */

.hero-alocentral{

    border-radius:24px;

    margin:20px;

    color:#ffffff;

}

.hero-overlay-alocentral{

    background:rgba(0,0,0,.45);

}

.hero-inner-alocentral{

    max-width:1300px;

}



/* =========================================================
   28 HERO - PETROTOPIC
========================================================= */

.hero-petrotopic{

    background:var(--body-bg);

}

.hero-petrotopic h1{

    color:var(--heading);

}

.hero-petrotopic p{

    color:var(--text-light);

}

.hero-overlay-petrotopic{

    background:transparent;

}

.hero-inner-petrotopic{

    max-width:1000px;

}



/* =========================================================
   29 HERO - STAYMYDAY
========================================================= */

.hero-staymyday{

    border-radius:36px;

    margin:30px;

    color:#ffffff;

}

.hero-overlay-staymyday{

    background:rgba(0,0,0,.35);

}

.hero-inner-staymyday{

    max-width:1100px;

}



/* =========================================================
   30 HERO - ENGLISH JUMPSTART
========================================================= */

.hero-englishjumpstart{

    border-radius:36px;

    color:#ffffff;

}

.hero-overlay-englishjumpstart{

    background:linear-gradient(

        rgba(0,0,0,.18),

        rgba(0,0,0,.18)

    );

}

.hero-inner-englishjumpstart{

    max-width:850px;

}



/* =========================================================
   31 CARD (SHARED)
========================================================= */

.card{

    display:flex;

    flex-direction:column;

    background:var(--card-bg);

    border-radius:var(--card-radius);

    overflow:hidden;

    border:1px solid var(--border);

    box-shadow:var(--card-shadow);

    transition:.3s;

}

.card:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow-lg);

}

.grid{

    align-items:stretch;

}

.grid > *{

    display:flex;

}

.card{

    width:100%;

    display:flex;

    flex-direction:column;
    
    padding:  10px;

}

.card-body{

    flex:1;

    display:flex;

    flex-direction:column;

}

.card-text{

    flex:1;

}

.card-footer{

    margin-top:auto;

}

.card-link{

    color:inherit;

    text-decoration:none;

}

.card-image{

    overflow:hidden;

}

.card-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.35s;

}

.card:hover .card-image img{

    transform:scale(1.06);

}

.card-body{

    padding:24px;

    display:flex;

    flex-direction:column;

    flex:1;

}

.card-title{

    font-size:22px;

    font-weight:700;

    margin-bottom:14px;

    color:var(--heading);

}

.card-text{

    color:var(--text-light);

    margin-bottom:20px;

    flex:1;

}



/* =========================================================
   32 CARD - ALOCENTRAL
========================================================= */

.card-alocentral{

    border-radius:22px;

}

.card-alocentral .card-image{

    height:250px;

}

.card-alocentral .price{

    font-size:34px;

    font-weight:800;

    color:var(--primary);

}

.card-alocentral .location{

    color:var(--text-light);

}



/* =========================================================
   33 CARD - PETROTOPIC
========================================================= */

.card-petrotopic{

    border-left:5px solid var(--primary);

}

.card-petrotopic .card-image{

    height:220px;

}

.card-petrotopic .category{

    color:var(--primary);

    font-weight:700;

    margin-bottom:10px;

}



/* =========================================================
   34 CARD - STAYMYDAY
========================================================= */

.card-staymyday{

    border-radius:28px;

}

.card-staymyday .card-image{

    height:280px;

}



/* =========================================================
   35 CARD - ENGLISH JUMPSTART
========================================================= */

.card-englishjumpstart{

    text-align:center;

}

.card-englishjumpstart .card-image{

    height:300px;

}

.card-englishjumpstart .card-title{

    font-size:26px;

}



/* =========================================================
   36 MARKETPLACE CARD
========================================================= */

.card-marketplace .card-image{

    height:240px;

}

.card-marketplace .price{

    font-size:32px;

    font-weight:800;

    color:var(--primary);

}

.card-marketplace .location{

    color:var(--text-light);

}



/* =========================================================
   37 JOB CARD
========================================================= */

.card-job .card-image{

    height:100px;

    display:flex;

    align-items:center;

    justify-content:center;

}

.card-job .company-logo{

    width:70px;

    height:70px;

    border-radius:12px;

}

.card-job .job-title{

    font-size:22px;

    font-weight:700;

}

.card-job .job-meta{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-top:12px;

}



/* =========================================================
   38 ARTICLE CARD
========================================================= */

.card-article .card-image{

    height:220px;

}

.card-article p{

    min-height:72px;

}



/* =========================================================
   39 CATEGORY
========================================================= */

.category-row{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));

    gap:20px;

}

.category{

    display:flex;

    align-items:center;

    justify-content:center;

    flex-direction:column;

    gap:12px;

    padding:25px;

    border-radius:20px;

    background:var(--card-bg);

    border:1px solid var(--border);

    transition:.25s;

}

.category:hover{

    background:var(--primary);

    color:#ffffff;

    transform:translateY(-5px);

}



/* =========================================================
   40 BADGE
========================================================= */

.badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:6px 14px;

    border-radius:999px;

    font-size:13px;

    font-weight:600;

}

.badge-primary{

    background:var(--primary);

    color:#ffffff;

}

.badge-success{

    background:var(--success);

    color:#ffffff;

}

.badge-warning{

    background:var(--warning);

    color:#ffffff;

}

.badge-danger{

    background:var(--danger);

    color:#ffffff;

}



/* =========================================================
   41 SHARE BUTTON
========================================================= */

.share-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    border-radius:14px;

    background:#f3f4f6;

    border:1px solid var(--border);

    color:var(--text);

    transition:.25s;

}

.share-btn:hover{

    background:var(--primary);

    color:#ffffff;

}



/* =========================================================
   42 RESPONSIVE
========================================================= */

@media(max-width:900px){

    .hero h1{

        font-size:40px;

    }

    .hero p{

        font-size:18px;

    }

    .card-marketplace .card-image{

        height:220px;

    }

}

@media(max-width:768px){

    .hero{

        min-height:auto;
        margin:10px;

    }

    .hero-overlay{

        padding:60px 20px;

    }

    .hero h1{

        font-size:34px;

    }

    .card-image{

        height:200px !important;

    }

}

/* =========================================================
   43 FORM (SHARED)
========================================================= */

.form{

    display:flex;

    flex-direction:column;

    gap:22px;

}

.form-group{

    display:flex;

    flex-direction:column;

    gap:8px;

}

.form-group label{

    font-size:14px;

    font-weight:600;

    color:var(--heading);

}

.form-control,

input[type=text],

input[type=email],

input[type=password],

input[type=number],

input[type=date],

input[type=search],

select,

textarea{

    

    min-height:52px;

    padding: 10px;

    border:1px solid var(--border);

    border-radius:12px;

    background:var(--card-bg);

    color:var(--text);

    transition:.25s;

}

textarea{

    min-height:150px;

    resize:vertical;

}

.form-control:focus,

input:focus,

select:focus,

textarea:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(0,0,0,.05);

}



/* =========================================================
   44 WEBSITE FORM
========================================================= */

.form-alocentral{}

.form-petrotopic{}

.form-staymyday{}

.form-englishjumpstart{}



/* =========================================================
   45 AUTH CARD
========================================================= */

.auth-card{

    max-width:500px;

    margin:60px auto;

    padding:35px;

    background:var(--card-bg);

    border-radius:24px;

    border:1px solid var(--border);

    box-shadow:var(--shadow-md);

}

.auth-title{

    font-size:34px;

    font-weight:800;

    text-align:center;

    margin-bottom:15px;

}

.auth-subtitle{

    text-align:center;

    color:var(--text-light);

    margin-bottom:30px;

}



/* =========================================================
   46 WEBSITE AUTH
========================================================= */

.auth-alocentral{}

.auth-petrotopic{}

.auth-staymyday{}

.auth-englishjumpstart{}



/* =========================================================
   47 ALERT
========================================================= */

.alert{

    padding:15px 18px;

    border-radius:12px;

    font-weight:600;

}

.alert-success{

    background:#DCFCE7;

    color:#166534;

}

.alert-warning{

    background:#FEF3C7;

    color:#92400E;

}

.alert-danger{

    background:#FEE2E2;

    color:#B91C1C;

}

.alert-info{

    background:#DBEAFE;

    color:#1D4ED8;

}



/* =========================================================
   48 TABLE
========================================================= */

.table{

    width:100%;

    border-collapse:collapse;

}

.table th{

    background:#F8FAFC;

    padding:14px;

    border-bottom:2px solid var(--border);

    text-align:left;

}

.table td{

    padding:14px;

    border-bottom:1px solid var(--border);

}

.table tr:hover{

    background:#F9FAFB;

}



/* =========================================================
   49 PAGINATION
========================================================= */

.pagination{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:10px;

    margin-top:50px;

}

.page-btn{

    width:44px;

    height:44px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:10px;

    border:1px solid var(--border);

    background:var(--card-bg);

    transition:.25s;

}

.page-btn:hover{

    background:var(--primary);

    color:#ffffff;

}

.page-btn.active{

    background:var(--primary);

    color:#ffffff;

}



/* =========================================================
   50 ARTICLE
========================================================= */

.article{

    max-width:1000px;

    margin:auto;

    padding:50px;

    background:var(--card-bg);

    border-radius:24px;

    box-shadow:var(--shadow-sm);

}

.article-title{

    font-size:42px;

    margin-bottom:15px;

}

.article-meta{

    color:var(--text-light);

    margin-bottom:35px;

}

.article-content{

    font-size:18px;

    line-height:1.9;

}

.article-content p{

    margin-bottom:22px;

}

.article-content img{

    margin:25px auto;

    border-radius:18px;

}



/* =========================================================
   51 WEBSITE ARTICLE
========================================================= */

.article-alocentral{}

.article-petrotopic{}

.article-staymyday{}

.article-englishjumpstart{}



/* =========================================================
   52 BREADCRUMB
========================================================= */

.breadcrumb{

    display:flex;

    flex-wrap:wrap;

    gap:8px;

    margin-bottom:25px;

    font-size:14px;

}

.breadcrumb a{

    color:var(--primary);

}

.breadcrumb span{

    color:var(--text-light);

}



/* =========================================================
   53 SHARE BUTTONS
========================================================= */

.share-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-top:35px;

}

.share-buttons a,

.share-buttons button{

    padding:12px 20px;

    border-radius:12px;

    background:var(--primary);

    color:#ffffff;

    transition:.25s;

}

.share-buttons a:hover,

.share-buttons button:hover{

    background:var(--primary-hover);

}



/* =========================================================
   54 COMMENT
========================================================= */

.comment-box{

    margin-top:40px;

}

.comment{

    padding:20px;

    border-radius:16px;

    background:var(--card-bg);

    border:1px solid var(--border);

    margin-bottom:15px;

}

.comment-author{

    font-weight:700;

    margin-bottom:8px;

}

.comment-date{

    font-size:13px;

    color:var(--text-light);

    margin-bottom:12px;

}



/* =========================================================
   55 MODAL
========================================================= */

.modal{

    position:fixed;

    inset:0;

    display:none;

    align-items:center;

    justify-content:center;

    background:rgba(0,0,0,.55);

    z-index:999999;

}

.modal.show{

    display:flex;

}

.modal-content{

    width:95%;

    max-width:700px;

    background:var(--card-bg);

    border-radius:20px;

    padding:30px;

}



/* =========================================================
   56 LOADER
========================================================= */

.loader{

    width:42px;

    height:42px;

    border:4px solid #eee;

    border-top-color:var(--primary);

    border-radius:50%;

    animation:spin 1s linear infinite;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}



/* =========================================================
   57 RESPONSIVE
========================================================= */

@media(max-width:768px){

    .auth-card{

        margin:30px 15px;

        padding:25px;

    }

    .article{

        padding:25px;

    }

    .article-title{

        font-size:30px;

    }

    .article-content{

        font-size:16px;

    }

    .table{

        display:block;

        overflow-x:auto;

    }

}

/* =========================================================
   58 FOOTER (SHARED)
========================================================= */

.footer{

    background:var(--footer-bg);

    color:var(--footer-text);

    padding:60px 0 30px;

    margin-top:60px;

}

.footer-container{

 

    margin:auto;

    padding:0 20px;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:40px;

}

.footer-title{

    font-size:18px;

    font-weight:700;

    margin-bottom:18px;

}

.footer-links{

    display:flex;

    flex-direction:column;

    gap:10px;

}

.footer-links a{

    color:var(--footer-text);

    transition:.25s;

}

.footer-links a:hover{

    color:#ffffff;

}

.footer-bottom{

    text-align:center;

    margin-top:50px;

    padding-top:20px;

    border-top:1px solid rgba(255,255,255,.15);

    font-size:14px;

}



/* =========================================================
   59 WEBSITE FOOTER
========================================================= */

.footer-alocentral{}

.footer-petrotopic{}

.footer-staymyday{}

.footer-englishjumpstart{}



/* =========================================================
   60 STOCK TABLE (Inside The Stock Module index.php and trend.php)
========================================================= */




/* =========================================================
   61 DASHBOARD CARD
========================================================= */

.dashboard-card{

    background:var(--card-bg);

    border-radius:20px;

    padding:25px;

    border:1px solid var(--border);

    box-shadow:var(--shadow-sm);

}

.dashboard-number{

    font-size:40px;

    font-weight:800;

    color:var(--primary);

}



/* =========================================================
   62 TAG
========================================================= */

.tag{

    display:inline-flex;

    align-items:center;

    padding:6px 14px;

    border-radius:999px;

    background:#F3F4F6;

    font-size:13px;

}



/* =========================================================
   63 AVATAR
========================================================= */

.avatar{

    width:48px;

    height:48px;

    border-radius:50%;

    object-fit:cover;

}

.avatar-lg{

    width:80px;

    height:80px;

}



/* =========================================================
   64 DIVIDER
========================================================= */

.divider{

    width:100%;

    height:1px;

    background:var(--border);

    margin:25px 0;

}



/* =========================================================
   65 LIST
========================================================= */

.list{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.list-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

}



/* =========================================================
   66 DARK MODE
========================================================= */

html.dark{

    --body-bg:#111827;

    --card-bg:#1F2937;

    --navbar-bg:#111827;

    --footer-bg:#000000;

    --text:#F9FAFB;

    --heading:#a5a7aa;

    --text-light:#D1D5DB;

    --border:#374151;

}


/* =========================================================
   PETROTOPIC HERO - DARK MODE
========================================================= */

html.dark .hero-petrotopic{

    background:#1F2937;

}

html.dark .hero-petrotopic h1{

    color:#FFFFFF;

}

html.dark .hero-petrotopic p{

    color:#D1D5DB;

}



/* =========================================================
   67 SCROLLBAR
========================================================= */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#F3F4F6;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:999px;

}



/* =========================================================
   68 ANIMATION
========================================================= */

.fade-in{

    animation:fadeIn .4s ease;

}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(12px);

    }

    to{

        opacity:1;

        transform:none;

    }

}



.zoom{

    transition:.3s;

}

.zoom:hover{

    transform:scale(1.04);

}



.rotate:hover{

    transform:rotate(2deg);

}



/* =========================================================
   69 UTILITIES
========================================================= */

.w-auto{

    width:auto;

}

.h-100{

    height:100%;

}

.d-none{

    display:none;

}

.d-block{

    display:block;

}

.d-flex{

    display:flex;

}

.justify-center{

    justify-content:center;

}

.justify-between{

    justify-content:space-between;

}

.align-center{

    align-items:center;

}

.flex-wrap{

    flex-wrap:wrap;

}

.flex-column{

    flex-direction:column;

}

.gap-5{gap:5px;}

.gap-10{gap:10px;}

.gap-15{gap:15px;}

.gap-20{gap:20px;}

.gap-30{gap:30px;}

.p-10{padding:10px;}

.p-20{padding:20px;}

.p-30{padding:30px;}

.m-10{margin:10px;}

.m-20{margin:20px;}

.m-30{margin:30px;}

.round{border-radius:999px;}

.shadow-sm{box-shadow:var(--shadow-sm);}

.shadow-md{box-shadow:var(--shadow-md);}

.shadow-lg{box-shadow:var(--shadow-lg);}



/* =========================================================
   70 PRINT
========================================================= */

@media print{

    .navbar,

    .footer,

    .mobile-btn,

    .share-buttons,

    .btn,

    .search-box{

        display:none !important;

    }

    body{

        background:var(--card-bg);

    }

    .card,

    .article{

        box-shadow:none;

        border:1px solid #cccccc;

    }

}



/* =========================================================
   71 MOBILE
========================================================= */

@media(max-width:768px){

    .container{

        padding:0 0px;
        margin:10px;

    }

    .grid-2,

    .grid-3,

    .grid-4{

        grid-template-columns:1fr;

    }

    .footer-container{

        grid-template-columns:1fr;

    }

    .dashboard-number{

        font-size:32px;

    }

}



/* =========================================================
   72 VERY SMALL SCREEN
========================================================= */

@media(max-width:480px){

    h1{

        font-size:32px;

    }

    h2{

        font-size:26px;

    }

    .btn{

        width:100%;

    }

}

.country-select{

    min-height:44px;

    padding:0 14px;

    border-radius:12px;

    border:1px solid var(--border);

    background:var(--card-bg);

    font-weight:600;

}

.nav-link{

    display:flex;

    align-items:center;

    justify-content:flex-start;

    min-height:44px;

    padding:0 18px;

    border-radius:12px;

    transition:var(--transition);

}


@media(min-width:992px){

    .nav-link{

        justify-content:center;

    }

}
/* =========================================================
   END OF FRAMEWORK
========================================================= */


/* =========================================================
   73 MODAL
========================================================= */

.modal{}
.modal-content{}
.modal-header{}
.modal-body{}
.modal-footer{}


/* =========================================================
   74 DRAWER
========================================================= */

.drawer{}
.drawer-left{}
.drawer-right{}


/* =========================================================
   75 TABS
========================================================= */

.tabs{}
.tab{}
.tab.active{}
.tab-content{}


/* =========================================================
   76 ACCORDION
========================================================= */

.accordion{}
.accordion-item{}
.accordion-header{}
.accordion-body{}


/* =========================================================
   77 TIMELINE
========================================================= */

.timeline{}
.timeline-item{}


/* =========================================================
   78 PROGRESS BAR
========================================================= */

.progress{}
.progress-bar{}


/* =========================================================
   79 SKELETON LOADING
========================================================= */

.skeleton{}
.skeleton-card{}
.skeleton-text{}


/* =========================================================
   80 TOAST
========================================================= */

.toast{}
.toast-success{}
.toast-error{}
.toast-warning{}


/* =========================================================
   81 TOOLTIP
========================================================= */

.tooltip{}


/* =========================================================
   82 IMAGE GALLERY
========================================================= */

.gallery{}
.gallery-item{}


/* =========================================================
   83 VIDEO
========================================================= */

.video{}
.video-responsive{}


/* =========================================================
   84 PROFILE
========================================================= */

.profile{}
.profile-avatar{}
.profile-info{}

.action-my-posts{

    background:#6366f1;

    color:#fff;

}

.action-my-posts:hover{

    background:#4f46e5;

}

/* =========================================================
   85 SIDEBAR
========================================================= */

.sidebar{}
.sidebar-item{}


/* =========================================================
   86 STATS
========================================================= */

.stats{}
.stat-card{}


/* =========================================================
   87 EMPTY STATE
========================================================= */

.empty{}
.empty-icon{}
.empty-title{}
.empty-text{}


/* =========================================================
   88 ERROR PAGE
========================================================= */

.error-page{}
.error-title{}
.error-text{}


/* =========================================================
   89 MAINTENANCE PAGE
========================================================= */

.maintenance{}

/* =========================================================
   DARK MODE FIX
========================================================= */

html.dark .btn-primary{

    background:var(--primary);
    color:#ffffff;
    border:1px solid var(--primary);

}

html.dark .btn-primary:hover{

    background:var(--primary-hover);
    color:#ffffff;

}

html.dark .btn-outline{

    background:#ffffff;
    color:#111827;
    border:1px solid #d1d5db;

}

html.dark .btn-outline:hover{

    background:#f3f4f6;
    color:#111827;

}



/* =========================================================
   MOBILE - PETROTOPIC IN NUMBERS
========================================================= */

@media (max-width:768px){

    .grid-4{

        display:grid;
        grid-template-columns:1fr;
        gap:16px;

    }

    .dashboard-card{

        display:grid;
        grid-template-columns:80px 1fr;
        align-items:center;
        gap:14px;

        padding:16px;

        text-align:left;

        width:100%;
        max-width:100%;
        box-sizing:border-box;

    }

    .dashboard-number{

        grid-row:1 / span 2;

        font-size:30px;
        font-weight:700;
        line-height:1.1;

        text-align:center;

    }

    .dashboard-card h3{

        margin:0;
        font-size:16px;
        line-height:1.3;

    }

    .dashboard-card p{

        margin:4px 0 0;

        font-size:13px;
        line-height:1.5;

    }

}


/* =========================================================
   FIX SELECT DROPDOWN IN DARK MODE
========================================================= */

html.dark select{

    background:#ffffff !important;
    color:#111827 !important;
    border:1px solid #6b7280;

}

html.dark select option{

    background:#ffffff !important;
    color:#111827 !important;

}

/* =========================================================
   PROFILE
========================================================= */


textarea{

    width:100%;

    min-height:140px;

    padding:16px;

    border:1px solid var(--border);

    border-radius:16px;

    background:var(--card);

    color:var(--text);

    font:inherit;

    resize:vertical;

    box-sizing:border-box;

}

textarea:focus{

    outline:none;

    border-color:var(--primary);

}


/* =========================================================
   MARKET PLACE (FEATURE)
========================================================= */

/* =========================================================
   ALOCENTRAL EXTRA COMPONENTS
========================================================= */

/* ---------------------------------
   SEARCH WRAPPER
--------------------------------- */

.search-wrap{

  
    margin:-45px auto 40px;
    padding:0 20px;
    position:relative;
    z-index:20;

}

.search-wrap .search-box{

    background:#ffffff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:24px;
    box-shadow:var(--shadow-lg);

}


/* ---------------------------------
   FEATURED BADGE
--------------------------------- */

.featured{

    position:absolute;
    top:14px;
    left:14px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:7px 14px;

    background:#DC2626;
    color:#ffffff;

    font-size:13px;
    font-weight:700;

    border-radius:999px;

    z-index:5;

    box-shadow:var(--shadow-sm);

}


/* ---------------------------------
   ADSENSE
--------------------------------- */

.adsense-card{

    background:#ffffff;

    border:1px solid var(--border);

    border-radius:20px;

    padding:20px;

    box-shadow:var(--shadow-sm);
    
    min-height: 300px;

}

.adsense-label{

    display:inline-block;

    margin-bottom:15px;

    padding:6px 14px;

    border-radius:999px;

    background:#f3f4f6;

    color:#6b7280;

    font-size:13px;

    font-weight:700;

}

.adsense-wrap{

    min-height:90px;

    display:flex;

    align-items:center;

    justify-content:center;

}


/* ---------------------------------
   MARKETPLACE CARD
--------------------------------- */

.card-marketplace{

    position:relative;

}

.card-marketplace .card-image{

    height:240px;

}

.card-marketplace .card-body{

    gap:12px;

}

.card-marketplace .price{

    font-size:30px;

    font-weight:800;

    color:var(--primary);

}

.card-marketplace .location{

    color:var(--text-light);

    font-size:15px;

}


/* ---------------------------------
   CATEGORY ICON
--------------------------------- */

.category{

    font-size:18px;
    font-weight:700;

}

.category:hover{

    color:#ffffff;

}


/* ---------------------------------
   HERO FIX
--------------------------------- */

.hero-alocentral{

    position:relative;

    min-height:430px;

    background-size:cover;

    background-position:center;

    overflow:hidden;

}

.hero-overlay-alocentral{

    position:absolute;

    inset:0;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(0,0,0,.45);

    text-align:center;

}

.hero-overlay-alocentral h1{

    color:#ffffff;

    margin-bottom:18px;

}

.hero-overlay-alocentral p{

    color:#ffffff;

    opacity:.95;

    font-size:22px;

}


/* ---------------------------------
   LISTING CARD IMAGE
--------------------------------- */

.card-marketplace img{

    width:100%;
    height:100%;
    object-fit:cover;
    border-radius: 10px;
    

}


/* ---------------------------------
   MOBILE
--------------------------------- */

@media(max-width:768px){

    .search-wrap{

        margin:-20px auto 30px;

        padding:0 15px;

    }

    .search-wrap .search-box{

        padding:18px;

    }

    .card-marketplace .card-image{

        height:210px;

    }

    .hero-alocentral{

        min-height:320px;

    }

    .hero-overlay-alocentral h1{

        font-size:36px;

    }

    .hero-overlay-alocentral p{

        font-size:18px;

    }

}




/* ==========================================================
MARKETPLACE DETAIL
========================================================== */

.marketplace-detail{
    display:grid;
    grid-template-columns:minmax(0,2fr) 380px;
    gap:32px;
    align-items:start;
    margin:40px 0;
}

.marketplace-main{
    min-width:0;
}

.marketplace-sidebar{
    position:sticky;
    top:90px;
    align-self:start;
}

/* ==========================================================
MARKETPLACE CARDS
========================================================== */

.card-marketplace-detail,
.card-contact,
.card-map,
.card-related{
    background:#fff;
    border-radius:20px;
    padding:28px;
    margin-bottom:28px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

/* ==========================================================
MARKETPLACE GALLERY
========================================================== */

.detail-gallery{
    background:#fff;
    border-radius:20px;
    padding:20px;
    margin-bottom:28px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.gallery-main{
    width:100%;
    height:520px;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    background:#fafafa;
    border-radius:16px;
}

.gallery-main img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.gallery-thumbs{
    display:flex;
    gap:12px;
    margin-top:18px;
    overflow-x:auto;
    padding-bottom:8px;
}

.gallery-thumb{
    width:90px;
    height:70px;
    object-fit:cover;
    border-radius:12px;
    cursor:pointer;
    border:3px solid transparent;
    transition:.25s;
    flex-shrink:0;
}

.gallery-thumb:hover{
    transform:translateY(-2px);
}

.gallery-thumb.active{
    border-color:var(--primary,#0b7dda);
}

/* ==========================================================
MARKETPLACE TITLE
========================================================== */

.detail-title{
    font-size:34px;
    line-height:1.35;
    font-weight:700;
    margin:12px 0;
}

.detail-price{
    font-size:36px;
    color:#d60000;
    font-weight:700;
    margin-bottom:20px;
}

.detail-country{
    display:inline-block;
    padding:6px 14px;
    border-radius:999px;
    background:#fff4db;
    color:#b86b00;
    font-size:13px;
    font-weight:700;
}

.detail-meta{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin:20px 0;
}

.detail-meta span{
    background:#f5f5f5;
    padding:8px 14px;
    border-radius:999px;
    font-size:14px;
}

.detail-divider{
    margin:28px 0;
    border:none;
    border-top:1px solid #ececec;
}

.detail-section-title{
    font-size:22px;
    font-weight:700;
    margin-bottom:18px;
}

.detail-description{
    line-height:1.9;
    color:#444;
    
}

/* ==========================================================
MARKETPLACE DETAIL TABLE
========================================================== */

.detail-table{
    width:100%;
    border-collapse:collapse;
}

.detail-table th{
    width:180px;
    text-align:left;
    padding:14px;
    background:#fafafa;
    border-bottom:1px solid #eee;
}

.detail-table td{
    padding:14px;
    border-bottom:1px solid #eee;
}

/* ==========================================================
MARKETPLACE CONTACT
========================================================== */

.contact-name{
    font-size:18px;
    font-weight:600;
    margin-bottom:20px;
}

.btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:50px;
    border-radius:12px;
    text-decoration:none;
    margin-bottom:14px;
    font-weight:600;
    transition:.25s;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn-primary{
    background:#0b7dda;
    color:#fff;
}

.btn-secondary{
    background:#666;
    color:#fff;
}

.btn-dark{
    background:#222;
    color:#fff;
}

.btn-whatsapp{
    background:#25D366;
    color:#fff;
}

/* ==========================================================
MARKETPLACE MAP
========================================================== */

.detail-map{
    width:100%;
    height:340px;
    border:none;
    border-radius:16px;
    margin-bottom:18px;
}

/* ==========================================================
MARKETPLACE RELATED
========================================================== */

.related-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:18px;
}

.related-card{
    display:block;
    text-decoration:none;
    color:#222;
    border-radius:16px;
    overflow:hidden;
    border:1px solid #eee;
    transition:.25s;
    background:#fff;
}

.related-card:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.related-image{
    height:150px;
    overflow:hidden;
}

.related-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.related-body{
    padding:14px;
}

.related-title{
    font-weight:700;
    margin-bottom:10px;
    line-height:1.4;
}

.related-price{
    color:#d60000;
    font-weight:700;
    margin-bottom:8px;
}

.related-location{
    color:#666;
    font-size:14px;
}

.related-featured{

    position:absolute;

    top:14px;

    right:14px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:7px 14px;

    background:#DC2626;
    color:#ffffff;

    font-size:13px;
    font-weight:700;

    border-radius:999px;

    z-index:5;

    box-shadow:var(--shadow-sm);

}



/* ==========================================================
MARKETPLACE RESPONSIVE
========================================================== */

@media (max-width:1100px){

    .marketplace-detail{
        grid-template-columns:1fr;
    }

    .marketplace-sidebar{
        position:static;
    }

}

@media (max-width:768px){

    .gallery-main{
        height:320px;
    }

    .detail-title{
        font-size:28px;
    }

    .detail-price{
        font-size:30px;
    }

    .gallery-thumb{
        width:70px;
        height:60px;
    }

    .card-marketplace-detail,
    .card-contact,
    .card-map,
    .card-related,
    .detail-gallery{
        padding:18px;
        border-radius:16px;
    }

    .related-grid{
        grid-template-columns:repeat(2,1fr);
    }

}



/* =========================================================
   MARKETPLACE - HOMEPAGE SPACING
========================================================= */

.section-alocentral{

    padding:10px 0px;

}

.container-alocentral{

 

    margin:auto;

    padding:0 7px;

}

/* ==========================================================
    MARKETPLACE - COUNTRY BADGE
========================================================== */
.country-badge{

    position:absolute;

    top:14px;

    left:14px;

    background:#2563eb;

    color:#fff;

    padding:6px 12px;

    border-radius:999px;

    font-size:12px;

    font-weight:700;

    z-index:5;

    box-shadow:0 2px 8px rgba(0,0,0,.18);

}

/* ==========================================================
    MARKETPLACE - FEATURED
========================================================== */
.marketplace-featured{

    position:absolute;

    top:14px;

    right:14px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:7px 14px;

    background:#DC2626;
    color:#ffffff;

    font-size:13px;
    font-weight:700;

    border-radius:999px;

    z-index:5;

    box-shadow:var(--shadow-sm);

}

