:root{
    --green:#0b6b3a;
    --dark:#064c2c;
    --cream:#f6f2e9;
    --gold:#b8924a;
    --ink:#1f2a23;
    --muted:#6f786f;
    --line:#e5e4dd;
    --white:#fff;
    --shadow:0 12px 35px rgba(25,46,34,.08);
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
    background:#f7f8f5;
    color:var(--ink);
}

a{
    color:var(--green);
    text-decoration:none;
}


/* =========================================================
   TOP BAR
========================================================= */

.topbar{
    height:68px;
    background:var(--white);
    border-bottom:1px solid var(--line);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 4vw;
    position:sticky;
    top:0;
    z-index:20;
}

.brand{
    font-weight:900;
    letter-spacing:.06em;
    color:var(--dark);
}

.brand span{
    font-weight:600;
    letter-spacing:0;
    color:var(--muted);
    margin-left:6px;
}

.brand.big{
    font-size:24px;
}

.topbar nav{
    display:flex;
    gap:22px;
}


/* =========================================================
   GENERAL LAYOUT
========================================================= */

.container{
    width:min(1380px,94vw);
    margin:34px auto 70px;
}

.page-head{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:20px;
    margin-bottom:24px;
}

.page-head h1{
    margin:3px 0 0;
    font-size:34px;
}

.eyebrow{
    font-size:12px;
    letter-spacing:.14em;
    font-weight:800;
    color:var(--green);
    margin:0 0 8px;
}




/* =========================================================
   REUSABLE MODULE TABS
   Shared navigation for Resorts, Flights, Packages,
   Tours, Activities, Visa and future CRM modules
========================================================= */

.module-tabs{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin:0 0 24px;
}

.module-tabs a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:9px 18px;
    border:1px solid #d0d5dd;
    border-radius:10px;
    background:#fff;
    color:#344054;
    font-size:14px;
    font-weight:700;
    line-height:1.2;
    text-decoration:none;
    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.module-tabs a:hover{
    background:#f5f7f5;
    border-color:#b8c1ba;
    color:var(--dark);
    text-decoration:none;
}

.module-tabs a.active{
    background:var(--green);
    border-color:var(--green);
    color:#fff;
}

.module-tabs a.active:hover{
    background:var(--dark);
    border-color:var(--dark);
    color:#fff;
}

.module-tabs a:focus{
    outline:none;
}

.module-tabs a:focus-visible{
    outline:2px solid rgba(11,107,58,.28);
    outline-offset:2px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:12px;
    padding:11px 16px;
    font-weight:800;
    cursor:pointer;
    background:#eef2ed;
    color:var(--dark);
}

.btn.primary{
    background:var(--green);
    color:#fff;
}

.btn.ghost{
    background:#fff;
    border:1px solid var(--line);
}

.btn.whatsapp{
    background:#1fa855;
    color:#fff;
}

.btn.small{
    padding:8px 11px;
    font-size:13px;
}

.btn.large{
    padding:14px 20px;
}

.btn.wide{
    width:100%;
    margin-top:12px;
}


/* =========================================================
   CARDS
========================================================= */

.card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    box-shadow:var(--shadow);
}

.section{
    padding:22px;
}

.section h2{
    font-size:19px;
    margin:0 0 18px;
}

.section-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}


/* =========================================================
   FORM LAYOUT
========================================================= */

.form-stack{
    display:grid;
    gap:18px;
}

.builder-grid{
    display:grid;
    grid-template-columns:minmax(0,1.65fr) minmax(320px,.85fr);
    gap:24px;
    align-items:start;
}

.grid-2,
.grid-3{
    display:grid;
    gap:14px;
}

.grid-2{
    grid-template-columns:repeat(2,1fr);
}

.grid-3{
    grid-template-columns:repeat(3,1fr);
}

.span-2{
    grid-column:span 2;
}

.span-3{
    grid-column:span 3;
}

label{
    display:grid;
    gap:7px;
    font-size:13px;
    font-weight:750;
    color:#445047;
    margin-bottom:14px;
}

input,
select,
textarea{
    width:100%;
    border:1px solid #d9ddd7;
    border-radius:11px;
    padding:11px 12px;
    background:#fff;
    color:var(--ink);
    font:inherit;
}

textarea{
    resize:vertical;
}

.internal{
    color:#a26818;
    font-size:11px;
}

.internal-badge{
    font-size:10px;
    background:#fff4df;
    color:#8a5b15;
    border-radius:99px;
    padding:4px 8px;
    margin-left:5px;
}


/* =========================================================
   PROFIT
========================================================= */

.profit-box{
    display:flex;
    justify-content:space-between;
    background:#eef8f1;
    border:1px solid #d5ecdc;
    padding:13px 15px;
    border-radius:12px;
}


/* =========================================================
   LIVE PREVIEW
========================================================= */

.preview{
    padding:24px;
    position:sticky;
    top:92px;
}

.preview h2{
    margin:0;
    font-size:28px;
}

.preview-summary{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
    margin:20px 0;
}

.preview-summary span{
    background:var(--cream);
    padding:12px;
    text-align:center;
    border-radius:12px;
}

.preview-summary b,
.preview-summary small{
    display:block;
}

.preview-summary b{
    font-size:20px;
}

.preview-room{
    border:1px solid #d9e8de;
    border-radius:16px;
    padding:18px;
    margin:18px 0;
    background:#fbfdfb;
}

.preview-room h3{
    margin:6px 0;
}

.price{
    font-size:32px;
    font-weight:900;
    color:var(--green);
}

.preview-lines{
    line-height:1.9;
}

.preview-note{
    margin-top:22px;
    padding:12px;
    border-radius:11px;
    background:#fff8e9;
    color:#735620;
    font-size:12px;
}


/* =========================================================
   REPEAT ROWS
========================================================= */

.repeat-row{
    border:1px dashed #cfd7cf;
    border-radius:14px;
    padding:15px;
    margin-top:12px;
    background:#fbfcfa;
}

.remove-row{
    border:0;
    background:none;
    color:#a53737;
    font-weight:800;
    cursor:pointer;
    padding:0;
}

.actions{
    display:flex;
    justify-content:flex-end;
}


/* =========================================================
   DASHBOARD STATS
========================================================= */

.stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
    margin-bottom:20px;
}

.stat{
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:18px;
}

.stat span,
.stat strong{
    display:block;
}

.stat strong{
    font-size:28px;
    margin-top:4px;
}


/* =========================================================
   TABLES
========================================================= */

.card-head{
    padding:18px 20px;
    border-bottom:1px solid var(--line);
}

.card-head h2{
    margin:0;
}

.table-wrap{
    overflow:auto;
}

table{
    width:100%;
    border-collapse:collapse;
}

th,
td{
    text-align:left;
    padding:14px 16px;
    border-bottom:1px solid #eee;
    font-size:14px;
}


/* =========================================================
   STATUS
========================================================= */

.status{
    font-size:11px;
    font-weight:900;
    padding:6px 9px;
    border-radius:99px;
    background:#eee;
}

.status.confirmed{
    background:#e6f6eb;
    color:#176e36;
}

.status.viewed,
.status.sent{
    background:#eaf2ff;
    color:#315d97;
}


/* =========================================================
   UTILITIES
========================================================= */

.muted{
    color:var(--muted);
}

.small{
    font-size:12px;
}

.notice{
    padding:12px 14px;
    border-radius:10px;
    background:#fff4d6;
    margin:10px 0;
}

.notice.error{
    background:#ffe8e8;
    color:#8e2626;
}

.notice.success{
    background:#e7f7eb;
    color:#216f38;
}


/* =========================================================
   LOGIN
========================================================= */

.auth-wrap{
    min-height:100vh;
    display:grid;
    place-items:center;
    background:var(--cream);
    padding:20px;
}

.auth-card{
    width:min(430px,95vw);
    background:#fff;
    padding:30px;
    border-radius:20px;
    box-shadow:var(--shadow);
}

.auth-card h1{
    margin:20px 0;
}


/* =========================================================
   INTERNAL QUOTE DETAILS
========================================================= */

.labelish{
    display:block;
    color:var(--muted);
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-bottom:4px;
}

.summary-row{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:13px 0;
    border-bottom:1px solid #eee;
}

.summary-row small{
    display:block;
    color:var(--muted);
    margin-top:4px;
}

.share-card{
    padding:22px;
    position:sticky;
    top:92px;
}

.action-row{
    display:flex;
    gap:10px;
}


/* =========================================================
   CUSTOMER QUOTATION
========================================================= */

.customer-page{
    background:var(--cream);
}

.quote-shell{
    width:min(720px,100%);
    margin:0 auto;
    background:#fff;
    min-height:100vh;
}


/* =========================================================
   QUOTATION BRAND
========================================================= */

.quote-brand{
    text-align:center;
    padding:24px;
    border-bottom:1px solid #eee;
}

.quote-brand span{
    display:block;
    color:var(--muted);
    margin-top:4px;
}

.quote-ref{
    display:block;
    margin-top:8px;
    color:var(--green);
    font-weight:800;
    font-size:12px;
}


/* =========================================================
   QUOTATION HERO
========================================================= */

.hero-quote{
    padding:42px 24px;
    background:linear-gradient(
        135deg,
        var(--dark),
        var(--green)
    );
    color:#fff;
}

.hero-quote .eyebrow{
    color:#d9c08a;
}

.hero-quote h1{
    font-size:35px;
    line-height:1.15;
    margin:8px 0;
}

.hero-quote > p:last-child{
    margin:24px 0 0;
    font-size:19px;
}


/* =========================================================
   V1.3 RESORT COVER IMAGE
========================================================= */

.quote-resort-cover{
    margin:0;
    width:100%;
    overflow:hidden;
    background:#eef2ed;
}

.quote-resort-cover img{
    display:block;
    width:100%;
    height:310px;
    object-fit:cover;
    object-position:center;
}


/* =========================================================
   V1.3 RESORT DETAILS CTA
========================================================= */

.resort-details-public{
    margin:18px;
    border:1px solid #d6e5da;
    border-radius:18px;
    background:#fbfdfb;
    overflow:hidden;
}

.resort-details-public__content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:22px;
}

.resort-details-public__content > div{
    min-width:0;
}

.resort-details-public .eyebrow{
    margin-bottom:7px;
}

.resort-details-public h2{
    margin:0;
    font-size:22px;
    line-height:1.25;
    color:var(--ink);
}

.resort-details-public p:not(.eyebrow){
    margin:8px 0 0;
    color:var(--muted);
    line-height:1.55;
    font-size:14px;
}

.resort-details-btn{
    flex:0 0 auto;
    white-space:nowrap;
    background:var(--green);
    color:#fff;
    padding:12px 17px;
    border-radius:11px;
    transition:
        background .2s ease,
        transform .2s ease;
}

.resort-details-btn:hover{
    background:var(--dark);
    color:#fff;
    transform:translateY(-1px);
}


/* =========================================================
   GUEST CARD
========================================================= */

.guest-card,
.customer-card,
.final-cta{
    margin:18px;
    border:1px solid var(--line);
    border-radius:18px;
    padding:22px;
}

.guest-card{
    background:#fff;
}

.customer-summary{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
    margin:18px 0;
}

.customer-summary div{
    background:var(--cream);
    padding:12px;
    text-align:center;
    border-radius:12px;
}

.customer-summary span,
.customer-summary strong{
    display:block;
}

.customer-summary span{
    font-size:10px;
    color:var(--muted);
    font-weight:900;
}

.customer-summary strong{
    margin-top:5px;
}

.center{
    text-align:center;
}


/* =========================================================
   FEATURED STAY
========================================================= */

.customer-card.featured{
    border-color:#cfe3d5;
    background:#fbfdfb;
}

.customer-card h2{
    margin:5px 0 8px;
}


/* =========================================================
   V1.3 SELECTED ROOM IMAGE
========================================================= */

.quote-room-image{
    width:100%;
    margin:18px 0 20px;
    overflow:hidden;
    border-radius:14px;
    background:#eef2ed;
}

.quote-room-image img{
    display:block;
    width:100%;
    height:300px;
    object-fit:cover;
    object-position:center;
}


/* =========================================================
   CUSTOMER PRICE
========================================================= */

.customer-price{
    font-size:38px;
    font-weight:950;
    color:var(--green);
    margin-top:12px;
}

.customer-list{
    margin-top:18px;
    line-height:1.9;
}


/* =========================================================
   UPGRADES / ADD-ONS
========================================================= */

.upgrade-public{
    display:flex;
    justify-content:space-between;
    gap:15px;
    padding:15px 0;
    border-bottom:1px solid #eee;
}

.upgrade-public small,
.upgrade-public span{
    display:block;
    color:var(--muted);
    margin-top:4px;
}

.upgrade-public > div:last-child{
    text-align:right;
}

.basis-inline{
    font-size:.82em;
    font-weight:700;
    color:var(--muted);
}


/* =========================================================
   POLICIES
========================================================= */

.policy h3{
    margin:18px 0 5px;
    font-size:14px;
    color:var(--dark);
}

.policy p{
    color:#505a52;
    line-height:1.6;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta{
    text-align:center;
    background:var(--dark);
    color:#fff;
    border:0;
}

.final-cta h2{
    margin-top:4px;
}

.final-cta p{
    line-height:1.55;
}


/* =========================================================
   QUOTE FOOTER
========================================================= */

.quote-footer{
    text-align:center;
    padding:28px 20px 38px;
    border-top:1px solid #eee;
}

.quote-footer > *{
    display:block;
    margin:3px;
}

.quote-footer strong{
    font-size:17px;
}

.quote-footer span{
    color:var(--ink);
}

.quote-footer small{
    color:var(--muted);
    margin-top:10px;
}


/* =========================================================
   SIMPLE ROW / TOGGLE
========================================================= */

.simple-row{
    display:flex;
    gap:10px;
    align-items:center;
    margin-top:10px;
}

.simple-row input{
    flex:1;
}

.toggle-line{
    display:flex;
    grid-template-columns:auto 1fr;
    align-items:center;
    gap:8px;
}

.toggle-line input{
    width:auto;
}


/* =========================================================
   V1.2 OCCUPANCY
========================================================= */

.occupancy-box{
    margin-top:18px;
    padding:18px;
    border:1px dashed #d8ded8;
    border-radius:18px;
    background:#fbfcfa;
}

.occupancy-box h3{
    margin:0 0 14px;
    font-size:18px;
}

.preview-summary-flex{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.preview-summary-flex span{
    flex:1 1 110px;
}

.occupancy-preview{
    margin:14px 0 0;
    padding:12px 14px;
    border-radius:12px;
    background:#f6f2e9;
    font-weight:700;
}

.guest-line{
    line-height:1.6;
}

.occupancy-public{
    margin-top:14px;
    padding:13px 15px;
    border-radius:12px;
    background:#f6f2e9;
    display:flex;
    flex-direction:column;
    gap:4px;
}

.occupancy-public strong{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#0b6b3a;
}

.occupancy-public span{
    font-size:15px;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:900px){

    .builder-grid{
        grid-template-columns:1fr;
    }

    .preview,
    .share-card{
        position:static;
    }

    .grid-3{
        grid-template-columns:repeat(2,1fr);
    }

    .span-3{
        grid-column:span 2;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:620px){

    .container{
        width:92vw;
        margin-top:22px;
    }

    .topbar{
        height:auto;
        padding:15px 4vw;
        align-items:flex-start;
        gap:12px;
    }

    .topbar nav{
        gap:12px;
        font-size:13px;
    }

    .page-head{
        align-items:flex-start;
        flex-direction:column;
    }

    .page-head h1{
        font-size:28px;
    }

    .grid-2,
    .grid-3{
        grid-template-columns:1fr;
    }

    .span-2,
    .span-3{
        grid-column:span 1;
    }

    .stats{
        grid-template-columns:1fr;
    }

    .customer-summary{
        grid-template-columns:1fr;
    }

    .hero-quote{
        padding:34px 20px;
    }

    .hero-quote h1{
        font-size:30px;
    }

    .hero-quote > p:last-child{
        margin-top:18px;
        font-size:17px;
    }

    .upgrade-public{
        align-items:flex-start;
    }

    .action-row{
        width:100%;
        flex-wrap:wrap;
    }



    .module-tabs{
        flex-wrap:nowrap;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        gap:8px;
        margin-bottom:20px;
        padding-bottom:2px;
        scrollbar-width:none;
    }

    .module-tabs::-webkit-scrollbar{
        display:none;
    }

    .module-tabs a{
        flex:0 0 auto;
        min-height:40px;
        padding:8px 15px;
        font-size:13px;
        white-space:nowrap;
    }

    /* Resort cover */

    .quote-resort-cover img{
        height:235px;
    }


    /* Resort details */

    .resort-details-public{
        margin:14px;
    }

    .resort-details-public__content{
        display:block;
        padding:19px;
    }

    .resort-details-public h2{
        font-size:20px;
    }

    .resort-details-btn{
        width:100%;
        margin-top:16px;
    }


    /* Main customer cards */

    .guest-card,
    .customer-card,
    .final-cta{
        margin:14px;
        padding:19px;
    }


    /* Room image */

    .quote-room-image{
        margin:16px 0 18px;
        border-radius:12px;
    }

    .quote-room-image img{
        height:230px;
    }


    /* Price */

    .customer-price{
        font-size:35px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:420px){

    .quote-brand{
        padding:21px 16px;
    }

    .brand.big{
        font-size:22px;
    }

    .hero-quote{
        padding:30px 18px;
    }

    .hero-quote h1{
        font-size:27px;
    }

    .quote-resort-cover img{
        height:210px;
    }

    .quote-room-image img{
        height:205px;
    }

    .resort-details-public,
    .guest-card,
    .customer-card,
    .final-cta{
        margin-left:12px;
        margin-right:12px;
    }

    .resort-details-public__content,
    .guest-card,
    .customer-card,
    .final-cta{
        padding:17px;
    }

    .customer-price{
        font-size:33px;
    }

}
/* =========================================================
   QUOTE FILTER BAR
========================================================= */

.quote-filter-card{
    background:#fff;
    border:1px solid #e4e7ec;
    border-radius:16px;
    padding:22px 24px;
    margin-bottom:24px;
    box-shadow:0 1px 3px rgba(16,24,40,.04);
}

.quote-filter-heading{
    margin-bottom:18px;
}

.quote-filter-heading .eyebrow{
    margin:0 0 5px;
}

.quote-filter-heading h2{
    margin:0;
    font-size:22px;
    line-height:1.25;
}

.quote-filter-form{
    margin:0;
}

.quote-filter-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr;
    gap:16px;
    align-items:end;
}

.quote-filter-field{
    display:flex;
    flex-direction:column;
    gap:7px;
    margin:0;
}

.quote-filter-field > span{
    font-size:13px;
    font-weight:700;
    color:#344054;
}

.quote-filter-field input,
.quote-filter-field select{
    width:100%;
    height:44px;
    min-height:44px;
    padding:0 14px;
    border:1px solid #d0d5dd;
    border-radius:10px;
    background:#fff;
    color:#101828;
    font-size:14px;
    font-weight:500;
    box-shadow:none;
}

.quote-filter-field input:focus,
.quote-filter-field select:focus{
    border-color:var(--green);
    outline:none;
    box-shadow:0 0 0 3px rgba(11,107,58,.08);
}

.quote-filter-field input::placeholder{
    color:#98a2b3;
}

.quote-filter-actions{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:16px;
}

.quote-filter-actions .btn{
    min-height:40px;
    padding:8px 17px;
}


/* =========================================================
   QUOTE FILTER BAR - MOBILE
========================================================= */

@media(max-width:767px){

    .quote-filter-card{
        padding:18px;
        border-radius:14px;
    }

    .quote-filter-grid{
        grid-template-columns:1fr;
        gap:13px;
    }

    .quote-filter-heading h2{
        font-size:20px;
    }

    .quote-filter-actions{
        margin-top:15px;
    }

    .quote-filter-actions .btn{
        flex:1;
        justify-content:center;
    }

}
/* =========================================================
   QUOTE TABLE ACTIONS
========================================================= */

.quote-actions{
    display:flex;
    align-items:center;
    gap:7px;
    white-space:nowrap;
}

.quote-actions a{
    font-weight:600;
    text-decoration:none;
}

.quote-actions a:hover{
    text-decoration:underline;
}