/* =============================================
   Public Site — Equipment Rental Marketplace
   BigRentz-style layout with Work Sans
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #E67E22;
    --primary-dark: #CF6D17;
    --primary-light: #FDEBD0;
    --brand-yellow: #f59e0b;
    --dark: #1a1a2e;
    --dark-2: #16213e;
    --steel: #566573;
    --steel-light: #ABB2B9;
    --success: #27AE60;
    --info: #3498DB;
    --white: #FFFFFF;
    --bg-light: #f8f9fa;
    --bg-body: #f5f6fa;
    --text-dark: #222;
    --text-muted: #777;
    --border: #e5e8ed;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Work Sans', 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--bg-body);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- Top Bar ---- */
.top-bar {
    background: var(--dark);
    color: #aaa;
    font-size: 12px;
    padding: 6px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: #ccc; }
.top-bar a:hover { color: var(--primary); }
.top-bar-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.top-bar-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.2s;
}
.top-bar-links a:hover, .top-bar-links a.active {
    color: var(--primary);
}
.top-bar-divider {
    color: #475569;
    font-size: 11px;
}

/* ---- Header / Navbar ---- */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
}
.site-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
}
.site-logo span { color: var(--primary); }
.site-nav { display: flex; align-items: center; padding: 0; }
.site-nav ul { display: flex; gap: 25px; align-items: center; list-style: none; margin: 0; padding: 0; }
.site-nav li { display: block; margin: 0; padding: 0; }
.site-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.2s;
    display: block;
}
.site-nav a:hover { color: var(--primary); }
.site-nav a.active { color: var(--primary); font-weight: 600; }
.site-nav a.btn-become-agent {
    background: var(--primary);
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    transition: background-color 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(230, 126, 34, 0.25);
}
.site-nav a.btn-become-agent:hover {
    background: #d35400;
    color: #ffffff !important;
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
}

/* ---- Hero ---- */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    color: #fff;
    padding: 60px 0 70px;
    text-align: center;
}
.hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}
.hero h1 span { color: var(--brand-yellow); }
.hero p { font-size: 16px; color: #bbb; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

.btn-hero-browse {
    padding: 14px 28px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}
.btn-hero-browse:hover {
    background: #d35400;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}
.btn-hero-request {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}
.btn-hero-request:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ---- Section Titles ---- */
.section { padding: 50px 0; }
.section-title {
    text-align: center;
    margin-bottom: 35px;
}
.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
}
.section-title p { color: var(--text-muted); font-size: 15px; margin-top: 6px; }
.section-title .accent-line {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ---- Category Grid (Home page) ---- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.cat-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
    text-align: center;
}
.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.cat-card-img {
    height: 140px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card-img i { font-size: 48px; color: var(--steel-light); }
.cat-card-body { padding: 14px; }
.cat-card-body h4 { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 3px; }
.cat-card-body p { font-size: 12px; color: var(--text-muted); }
.cat-sub-list {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    text-align: left;
}
.cat-sub-list li {
    font-size: 11px;
    color: var(--text-muted);
    padding: 3px 0;
    border-bottom: 1px solid var(--border);
}
.cat-sub-list li:last-child { border-bottom: none; }
.cat-sub-list li::before {
    content: '›';
    color: var(--primary);
    font-weight: 700;
    margin-right: 5px;
}

/* ---- Mobile App Section ---- */
.mobile-app-section {
    background: var(--dark);
    color: #fff;
    padding: 60px 0;
    margin: 50px 0 0;
}
.mobile-app-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.mobile-app-text { flex: 1; }
.mobile-app-text h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
}
.mobile-app-text h2 span { color: var(--primary); }
.mobile-app-text p {
    font-size: 15px;
    color: #bbb;
    margin-bottom: 20px;
    line-height: 1.7;
}
.mobile-app-badges {
    display: flex;
    gap: 12px;
}
.mobile-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 10px 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}
.mobile-app-badge:hover { background: rgba(255,255,255,0.15); }
.mobile-app-badge i { font-size: 22px; }
.mobile-app-badge small { font-size: 9px; font-weight: 400; color: #aaa; display: block; }
.coming-soon {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mobile-app-mockup {
    flex-shrink: 0;
    position: relative;
    width: 250px;
    height: 350px;
}
.mobile-app-mockup .phone-frame {
    width: 220px;
    height: 420px;
    background: #222;
    border-radius: 30px;
    border: 4px solid #444;
    padding: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.mobile-app-mockup .phone-frame .phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 100%);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}
.mobile-app-mockup .phone-frame .phone-screen i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 10px;
}
.mobile-app-mockup .phone-frame .phone-screen h5 {
    font-size: 13px;
    margin-bottom: 5px;
}
.mobile-app-mockup .phone-frame .phone-screen p {
    font-size: 10px;
    color: #aaa;
}

@media (max-width: 768px) {
    .mobile-app-section .container { flex-direction: column; text-align: center; }
    .mobile-app-badges { justify-content: center; }
    .mobile-app-mockup { margin: 0 auto; }
}

/* ---- Sidebar Layout (Catalog pages) ---- */
.page-with-sidebar {
    display: flex;
    gap: 30px;
}
.page-sidebar {
    width: 260px;
    flex-shrink: 0;
}
.page-main {
    flex: 1;
    min-width: 0;
}

.sidebar-box {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}
.sidebar-box-title {
    background: var(--dark);
    color: #fff;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
}
.sidebar-box-title i { margin-right: 6px; color: var(--primary); }
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-list li a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s, color 0.15s;
}
.sidebar-list li a:hover,
.sidebar-list li a.active {
    background: var(--primary-light);
    color: var(--primary-dark);
}
.sidebar-list li a i {
    margin-right: 8px;
    font-size: 14px;
    width: 18px;
    text-align: center;
    color: var(--primary);
}
.sidebar-list li a .sub-count {
    margin-left: auto;
    font-size: 11px;
    background: var(--bg-light);
    color: var(--text-muted);
    padding: 2px 6px;
    border-radius: 8px;
}

/* ---- Subcategory Section on Catalog Page ---- */
.subcat-section {
    margin-bottom: 35px;
}
.subcat-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.subcat-section-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* ---- Catalog Grid ---- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}
.catalog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}
.catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.catalog-card-img {
    height: 160px;
    overflow: hidden;
    background: var(--bg-light);
}
.catalog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.catalog-card-img .no-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--steel-light);
    font-size: 40px;
}
.catalog-card-body { padding: 14px; }
.catalog-card-body .cat-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
}
.catalog-card-body h4 { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.catalog-card-body .desc { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.catalog-card-body .price { font-size: 14px; font-weight: 700; color: var(--primary); }
.catalog-card-body .eq-count { font-size: 11px; color: var(--text-muted); }
.catalog-card-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.catalog-card-price .price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}
.catalog-card-price .price-text {
    font-size: 13px;
    color: var(--steel);
    font-weight: 500;
}
.catalog-card-price .eq-count {
    font-size: 11px;
    color: var(--text-muted);
}
.catalog-card-actions {
    display: flex;
    gap: 8px;
    flex-direction: column;
}
.btn-detail, .btn-quote-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
    font-family: 'Work Sans', sans-serif;
    text-align: center;
}
.btn-detail {
    background: var(--dark);
    color: #fff;
}
.btn-detail:hover { background: var(--dark-2); color: #fff; }
.btn-quote-sm {
    background: var(--primary);
    color: #fff;
}
.btn-quote-sm:hover { background: var(--primary-dark); color: #fff; }

/* ---- Breadcrumb ---- */
.breadcrumb-bar {
    background: var(--dark);
    padding: 16px 0;
    color: #bbb;
    font-size: 13px;
}
.breadcrumb-bar a { color: var(--primary); }
.breadcrumb-bar a:hover { text-decoration: underline; }

/* ---- Detail Page ---- */
.detail-hero {
    background: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}
.detail-title { font-size: 28px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.detail-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 5px; }
.detail-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 15px 0;
}
.detail-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-dark);
}
.detail-spec i { color: var(--primary); font-size: 14px; }
.detail-spec .spec-label { color: var(--text-muted); }
.detail-price-block {
    margin: 20px 0;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}
.detail-price-block .price-big {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}
.detail-price-block .price-label {
    font-size: 13px;
    color: var(--text-muted);
}
.detail-price-block .units-available {
    font-size: 13px;
    color: var(--success);
    font-weight: 600;
    margin-top: 5px;
}
.detail-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.detail-actions .btn-detail-lg, .detail-actions .btn-quote-lg {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.2s;
    font-family: 'Work Sans', sans-serif;
    border: none;
}
.detail-actions .btn-detail-lg {
    background: var(--dark);
    color: #fff;
}
.detail-actions .btn-detail-lg:hover { background: var(--dark-2); color: #fff; }
.detail-actions .btn-quote-lg {
    background: var(--primary);
    color: #fff;
}
.detail-actions .btn-quote-lg:hover { background: var(--primary-dark); color: #fff; }

.detail-images { margin-top: 25px; }
.detail-main-img {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-light);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.detail-main-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-main-img .no-img { font-size: 64px; color: var(--steel-light); }
.detail-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.detail-thumbs img {
    width: 80px; height: 60px; object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s;
}
.detail-thumbs img:hover,
.detail-thumbs img.active { border-color: var(--primary); }

/* ---- Equipment Table ---- */
.eq-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.eq-table th {
    background: var(--bg-light);
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--steel);
    text-align: left;
    border-bottom: 2px solid var(--border);
}
.eq-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.eq-table tr:hover { background: #f9f9f9; }
.eq-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}
.eq-badge.available { background: #d5f5e3; color: #27AE60; }
.eq-badge.rented { background: #fef9e7; color: #d4ac0d; }
.btn-quote {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Work Sans', sans-serif;
}
.btn-quote:hover { background: var(--primary-dark); }

/* ---- Footer ---- */
.site-footer {
    background: var(--dark);
    color: #aaa;
    padding: 40px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.footer-col p { font-size: 13px; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { font-size: 13px; color: #aaa; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    text-align: center;
    font-size: 12px;
}

/* ---- CTA Banner ---- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    border-radius: var(--radius);
    margin: 40px 0;
}
.cta-banner h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.cta-banner p { font-size: 15px; margin-bottom: 20px; opacity: 0.9; }
.cta-banner .btn-white {
    display: inline-block;
    background: #fff;
    color: var(--primary-dark);
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s;
    font-family: 'Work Sans', sans-serif;
}
.cta-banner .btn-white:hover { transform: translateY(-1px); }

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.empty-state i { font-size: 48px; margin-bottom: 10px; color: var(--steel-light); }
.empty-state h4 { color: var(--dark); font-size: 18px; }

/* ---- Responsive ---- */
/* ---- Mobile Overlay ---- */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.25);
    z-index: 999;
}
.mobile-overlay.show { display: block; }

/* ---- Mobile Responsive ---- */
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .site-nav {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        gap: 0;
        z-index: 1001;
        transition: right 0.3s ease;
        overflow-y: auto;
        padding: 0;
        text-align: left;
    }
    .site-nav.open {
        right: 0;
        pointer-events: auto;
    }
    .site-nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .site-nav li {
        width: 100%;
        text-align: left;
    }
    .site-nav a {
        display: block;
        width: 100%;
        padding: 14px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        color: #ccc;
        font-size: 15px;
        text-align: left;
        cursor: pointer;
        pointer-events: auto;
        position: relative;
        z-index: 1002;
    }
    .site-nav a:hover, .site-nav a:focus, .site-nav a.active {
        color: #fff;
        background: rgba(230, 126, 34, 0.25);
    }
    .site-nav a.btn-become-agent {
        margin: 12px 20px;
        width: calc(100% - 40px);
        box-sizing: border-box;
        text-align: center;
        justify-content: center;
        border-bottom: none;
    }
    .site-nav a i { margin-right: 10px; margin-left: 0; width: 20px; text-align: center; }
    .hero h1 { font-size: 26px; }
    .hero-search { flex-direction: column; max-width: 100%; }
    .hero-cat-select { border-left: none; border-right: none; border-top: 1px solid var(--border); min-width: auto; }
    .hero-search input { border-bottom: 1px solid var(--border); }
    .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .catalog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .detail-main-img { height: 250px; }
    .page-with-sidebar { flex-direction: column; }
    .page-sidebar { width: 100%; }
}

/* ---- Auth / Login Page Styles ---- */
.auth-wrapper {
    padding: 60px 0;
    min-height: calc(100vh - 250px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, rgba(230, 126, 34, 0.05), transparent 40%),
                radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.03), transparent 40%);
}
.auth-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    margin: 0 auto;
}
.auth-header {
    text-align: center;
    padding: 30px 30px 20px 30px;
    background: #fafbfc;
    border-bottom: 1px solid var(--border);
}
.auth-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 6px 0;
}
.auth-header p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}
.auth-nav-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: #f1f5f9;
}
.auth-tab-btn {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.auth-tab-btn.active {
    background: #ffffff;
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}
.auth-body {
    padding: 30px;
}
.form-group-custom {
    margin-bottom: 20px;
}
.form-group-custom label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.input-with-icon {
    position: relative;
}
.input-with-icon i.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
}
.input-with-icon input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.input-with-icon input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15);
}
.toggle-pwd-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    padding: 2px;
}
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 22px;
}
.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    cursor: pointer;
}
.forgot-pwd-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.forgot-pwd-link:hover {
    text-decoration: underline;
}
.btn-auth-submit {
    width: 100%;
    padding: 13px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.25);
}
.btn-auth-submit:hover {
    background: #d35400;
}
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 22px 0;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}
.auth-divider span {
    padding: 0 10px;
}
.social-login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.social-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

/* ---- Basket & Navigation Badge Styles ---- */
.nav-basket {
    position: relative;
}
.basket-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    margin-left: 4px;
    vertical-align: middle;
}

.basket-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    margin-top: 25px;
}
@media (max-width: 992px) {
    .basket-layout {
        grid-template-columns: 1fr;
    }
}

.basket-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
}
.basket-card-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}
.basket-card-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.basket-table {
    width: 100%;
    border-collapse: collapse;
}
.basket-table th {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.basket-table td {
    padding: 18px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.basket-item-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.basket-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
}
.basket-item-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}
.basket-item-title:hover {
    color: var(--primary);
}
.basket-item-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 3px;
}
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
}
.qty-btn {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s;
}
.qty-btn:hover {
    background: #e2e8f0;
}
.qty-val {
    width: 38px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border: none;
    background: transparent;
}
.btn-remove-item {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}
.btn-remove-item:hover {
    background: #fee2e2;
    color: #dc2626;
}
.btn-clear-all {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.15s;
}
.btn-clear-all:hover {
    color: #ef4444;
    background: #fee2e2;
}

.quote-summary-box {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 24px;
    position: sticky;
    top: 90px;
}
.quote-summary-box h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-top: 0;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #475569;
    margin-bottom: 10px;
}
.summary-row.total {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 12px;
}

.basket-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Responsive Basket Media Queries */
@media (max-width: 992px) {
    .basket-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .quote-summary-box {
        position: static;
    }
}

@media (max-width: 768px) {
    .basket-card-header {
        padding: 14px 16px;
    }
    .basket-table th, .basket-table td {
        padding: 12px 14px;
    }
    .basket-item-img {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    .quote-summary-box {
        padding: 18px;
    }
}

@media (max-width: 576px) {
    .basket-card-header {
        padding: 12px 14px;
    }
    .date-duration-grid {
        grid-template-columns: 1fr !important;
    }
    .basket-table, .basket-table tbody, .basket-table tr, .basket-table td {
        display: block;
        width: 100%;
    }
    .basket-table thead {
        display: none;
    }
    .basket-table tr {
        position: relative;
        padding: 14px;
        border-bottom: 1px solid var(--border);
        background: #ffffff;
    }
    .basket-table tr:last-child {
        border-bottom: none;
    }
    .basket-table td {
        padding: 4px 0;
        border: none;
    }
    .basket-table td:nth-child(1) {
        padding-right: 44px;
    }
    .basket-table td:nth-child(2) {
        margin-top: 4px;
        font-size: 13px;
    }
    .basket-table td:nth-child(3) {
        margin-top: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .basket-table td:nth-child(3)::before {
        content: "Quantity:";
        font-weight: 600;
        color: #475569;
        font-size: 13px;
    }
    .basket-table td:nth-child(4) {
        margin-top: 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px dashed #e2e8f0;
        padding-top: 8px;
    }
    .basket-table td:nth-child(4)::before {
        content: "Est. Total:";
        font-weight: 600;
        color: #475569;
        font-size: 13px;
    }
    .basket-table td:nth-child(5) {
        position: absolute;
        top: 14px;
        right: 14px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        z-index: 2;
    }
}


