/* =========================================================
   PROCUREHUB
   B2B PROCUREMENT PLATFORM
   COMPLETE RESPONSIVE CSS
========================================================= */


/* =========================================================
   1. CSS VARIABLES
========================================================= */

:root {

    /* Brand */
    --primary: #0f766e;
    --primary-dark: #115e59;
    --primary-light: #ccfbf1;
    --primary-soft: #f0fdfa;

    /* Text */
    --dark: #172033;
    --text: #475569;
    --muted: #64748b;
    --light-text: #94a3b8;

    /* Background */
    --white: #ffffff;
    --background: #f8fafc;
    --background-dark: #0f172a;

    /* Borders */
    --border: #e2e8f0;
    --border-dark: #1e293b;

    /* Status */
    --success: #16a34a;
    --success-light: #dcfce7;

    --warning: #d97706;
    --warning-light: #fef3c7;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm:
        0 4px 12px rgba(15, 23, 42, 0.06);

    --shadow-md:
        0 10px 30px rgba(15, 23, 42, 0.08);

    --shadow-lg:
        0 25px 70px rgba(15, 23, 42, 0.12);

    /* Container */
    --container-width: 1180px;

}


/* =========================================================
   2. RESET
========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--white);

    color: var(--dark);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;

}


body,
button,
input,
textarea,
select {

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

}


img {

    max-width: 100%;

    display: block;

}


a {

    text-decoration: none;

    color: inherit;

}


button {

    border: none;

    background: none;

    cursor: pointer;

}


ul,
ol {

    list-style: none;

}


/* =========================================================
   3. GENERAL CONTAINER
========================================================= */

.container {

    width: min(
        var(--container-width),
        92%
    );

    margin-left: auto;

    margin-right: auto;

}


/* =========================================================
   4. HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    background:
        rgba(255, 255, 255, 0.96);

    border-bottom:
        1px solid var(--border);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);

}


/* =========================================================
   5. NAVBAR
========================================================= */

.navbar {

    min-height: 76px;

    display: flex;

    align-items: center;

    gap: 30px;

}


/* =========================================================
   6. LOGO
========================================================= */

.logo {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

}


.logo-icon {

    width: 42px;

    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background: var(--primary);

    color: var(--white);

    font-size: 21px;

    font-weight: 800;

    box-shadow:
        0 6px 15px
        rgba(15, 118, 110, 0.20);

}


.logo-text {

    display: flex;

    flex-direction: column;

    line-height: 1.15;

}


.logo-text strong {

    font-size: 17px;

    font-weight: 800;

    letter-spacing: -0.3px;

}


.logo-text span {

    margin-top: 3px;

    color: var(--muted);

    font-size: 9px;

    font-weight: 500;

    letter-spacing: 0.2px;

}


/* =========================================================
   7. DESKTOP NAVIGATION
========================================================= */

.main-nav {

    display: flex;

    align-items: center;

    gap: 28px;

    margin-left: auto;

}


.main-nav a {

    position: relative;

    color: var(--text);

    font-size: 13px;

    font-weight: 600;

    transition:
        color 0.2s ease;

}


.main-nav a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 2px;

    background: var(--primary);

    border-radius: 5px;

    transition:
        width 0.2s ease;

}


.main-nav a:hover {

    color: var(--primary);

}


.main-nav a:hover::after {

    width: 100%;

}


/* =========================================================
   8. HEADER ACTIONS
========================================================= */

.header-actions {

    display: flex;

    align-items: center;

    gap: 18px;

}


.login-link {

    color: var(--dark);

    font-size: 13px;

    font-weight: 700;

    transition:
        color 0.2s ease;

}


.login-link:hover {

    color: var(--primary);

}


/* =========================================================
   9. BUTTONS
========================================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 44px;

    padding:
        11px 20px;

    border-radius:
        var(--radius-sm);

    font-size: 13px;

    font-weight: 700;

    line-height: 1;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


.btn:hover {

    transform:
        translateY(-2px);

}


.btn-primary {

    background:
        var(--primary);

    color:
        var(--white);

    box-shadow:
        0 6px 15px
        rgba(15, 118, 110, 0.16);

}


.btn-primary:hover {

    background:
        var(--primary-dark);

    box-shadow:
        0 10px 22px
        rgba(15, 118, 110, 0.20);

}


.btn-outline {

    background:
        var(--white);

    color:
        var(--dark);

    border:
        1px solid var(--border);

}


.btn-outline:hover {

    color:
        var(--primary);

    border-color:
        var(--primary);

    background:
        var(--primary-soft);

}


.btn-large {

    min-height: 52px;

    padding:
        14px 24px;

    border-radius:
        10px;

    font-size: 14px;

}


/* =========================================================
   10. MOBILE MENU BUTTON
========================================================= */

.mobile-menu-btn {

    display: none;

    width: 42px;

    height: 42px;

    align-items: center;

    justify-content: center;

    border:
        1px solid var(--border);

    border-radius:
        9px;

    color:
        var(--dark);

    background:
        var(--white);

    font-size: 23px;

    line-height: 1;

}


/* =========================================================
   11. MOBILE NAVIGATION
========================================================= */

.mobile-nav {

    display: none;

    flex-direction: column;

    gap: 4px;

    padding:
        16px 4%
        20px;

    background:
        var(--white);

    border-top:
        1px solid var(--border);

}


.mobile-nav.active {

    display: flex;

}


.mobile-nav a {

    padding:
        12px 10px;

    border-radius:
        8px;

    color:
        var(--text);

    font-size:
        14px;

    font-weight:
        600;

}


.mobile-nav a:hover {

    color:
        var(--primary);

    background:
        var(--primary-soft);

}


/* =========================================================
   12. HERO SECTION
========================================================= */

.hero {

    position: relative;

    overflow: hidden;

    padding:
        92px 0
        105px;

    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #ffffff 100%
        );

}


/* Decorative background */

.hero::before {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    top: -200px;

    right: -150px;

    border-radius: 50%;

    background:
        rgba(20, 184, 166, 0.07);

    pointer-events: none;

}


.hero::after {

    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    bottom: -180px;

    left: -100px;

    border-radius: 50%;

    background:
        rgba(20, 184, 166, 0.05);

    pointer-events: none;

}


/* =========================================================
   13. HERO GRID
========================================================= */

.hero-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    align-items: center;

    gap: 75px;

}


/* =========================================================
   14. HERO CONTENT
========================================================= */

.hero-content {

    min-width: 0;

}


.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        7px 12px;

    border-radius:
        50px;

    background:
        var(--primary-light);

    color:
        var(--primary-dark);

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        0.2px;

}


.badge-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background:
        var(--primary);

    box-shadow:
        0 0 0 4px
        rgba(15, 118, 110, 0.08);

}


/* =========================================================
   15. HERO HEADING
========================================================= */

.hero h1 {

    max-width:
        720px;

    margin-top:
        22px;

    color:
        var(--dark);

    font-size:
        clamp(
            42px,
            5.2vw,
            68px
        );

    line-height:
        1.04;

    letter-spacing:
        -2.8px;

    font-weight:
        800;

}


.hero h1 span {

    display:
        block;

    color:
        var(--primary);

}


/* =========================================================
   16. HERO DESCRIPTION
========================================================= */

.hero-description {

    max-width:
        630px;

    margin-top:
        25px;

    color:
        var(--text);

    font-size:
        16px;

    line-height:
        1.8;

}


/* =========================================================
   17. HERO ACTIONS
========================================================= */

.hero-actions {

    display:
        flex;

    align-items:
        center;

    flex-wrap:
        wrap;

    gap:
        13px;

    margin-top:
        32px;

}


/* =========================================================
   18. HERO TRUST
========================================================= */

.hero-trust {

    display:
        flex;

    align-items:
        center;

    gap:
        14px;

    margin-top:
        38px;

}


.trust-avatars {

    display:
        flex;

    align-items:
        center;

}


.trust-avatars span {

    width:
        34px;

    height:
        34px;

    display:
        grid;

    place-items:
        center;

    margin-left:
        -8px;

    border:
        2px solid
        var(--white);

    border-radius:
        50%;

    background:
        var(--primary-light);

    color:
        var(--primary-dark);

    font-size:
        10px;

    font-weight:
        800;

}


.trust-avatars span:first-child {

    margin-left:
        0;

}


.hero-trust strong {

    display:
        block;

    color:
        var(--dark);

    font-size:
        12px;

    font-weight:
        800;

}


.hero-trust p {

    margin-top:
        2px;

    color:
        var(--muted);

    font-size:
        11px;

}


/* =========================================================
   19. HERO VISUAL
========================================================= */

.hero-visual {

    position:
        relative;

    min-width:
        0;

    padding:
        15px;

}


/* =========================================================
   20. PROCUREMENT CARD
========================================================= */

.procurement-card {

    position:
        relative;

    z-index:
        2;

    padding:
        24px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-xl);

    background:
        var(--white);

    box-shadow:
        var(--shadow-lg);

}


/* =========================================================
   21. CARD HEADER
========================================================= */

.card-header {

    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    gap:
        20px;

    padding-bottom:
        19px;

    border-bottom:
        1px solid
        var(--border);

}


.small-label {

    display:
        block;

    color:
        var(--primary);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        1.2px;

}


.card-header h3 {

    margin-top:
        5px;

    color:
        var(--dark);

    font-size:
        18px;

    line-height:
        1.3;

}


/* =========================================================
   22. STATUS
========================================================= */

.status {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    flex-shrink:
        0;

    padding:
        6px 10px;

    border-radius:
        50px;

    font-size:
        9px;

    font-weight:
        800;

}


.status.pending {

    color:
        #92400e;

    background:
        var(--warning-light);

}


/* =========================================================
   23. ORDER ITEMS
========================================================= */

.order-items {

    padding:
        8px 0;

}


.order-item {

    display:
        flex;

    align-items:
        center;

    gap:
        12px;

    padding:
        12px 0;

}


.item-icon {

    width:
        40px;

    height:
        40px;

    display:
        grid;

    place-items:
        center;

    flex-shrink:
        0;

    border-radius:
        10px;

    background:
        var(--background);

    font-size:
        19px;

}


.item-info {

    display:
        flex;

    flex-direction:
        column;

    flex:
        1;

    min-width:
        0;

}


.item-info strong {

    color:
        var(--dark);

    font-size:
        12px;

    font-weight:
        700;

}


.item-info span {

    margin-top:
        2px;

    color:
        var(--muted);

    font-size:
        10px;

}


/* =========================================================
   24. PROCUREMENT STATUS
========================================================= */

.procurement-status {

    padding-top:
        18px;

    border-top:
        1px solid
        var(--border);

}


.status-line {

    display:
        flex;

    align-items:
        center;

    width:
        100%;

}


.status-step {

    display:
        flex;

    align-items:
        center;

    gap:
        5px;

    color:
        var(--muted);

    font-size:
        9px;

    font-weight:
        600;

    white-space:
        nowrap;

}


.status-circle {

    width:
        8px;

    height:
        8px;

    flex-shrink:
        0;

    border-radius:
        50%;

    background:
        #cbd5e1;

}


.status-circle.active {

    background:
        var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(15, 118, 110, 0.10);

}


.line {

    height:
        1px;

    flex:
        1;

    min-width:
        12px;

    margin:
        0 7px;

    background:
        var(--border);

}


/* =========================================================
   25. FLOATING SUPPLIER CARD
========================================================= */

.floating-card {

    position:
        absolute;

    z-index:
        5;

    left:
        -30px;

    bottom:
        -25px;

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    min-width:
        190px;

    padding:
        12px 15px;

    border:
        1px solid
        var(--border);

    border-radius:
        14px;

    background:
        var(--white);

    box-shadow:
        var(--shadow-md);

}


.floating-icon {

    width:
        32px;

    height:
        32px;

    display:
        grid;

    place-items:
        center;

    flex-shrink:
        0;

    border-radius:
        50%;

    background:
        var(--success-light);

    color:
        var(--success);

    font-size:
        15px;

    font-weight:
        900;

}


.floating-card div:last-child {

    display:
        flex;

    flex-direction:
        column;

}


.floating-card strong {

    color:
        var(--dark);

    font-size:
        11px;

    font-weight:
        800;

}


.floating-card span {

    margin-top:
        2px;

    color:
        var(--muted);

    font-size:
        9px;

}


/* =========================================================
   26. GENERAL SECTIONS
========================================================= */

.business-section,
.categories-section,
.how-section,
.benefits-section {

    padding:
        100px 0;

}


/* =========================================================
   27. SECTION HEADINGS
========================================================= */

.section-heading {

    max-width:
        680px;

    margin-bottom:
        48px;

}


.section-heading.center {

    margin-left:
        auto;

    margin-right:
        auto;

    text-align:
        center;

}


.section-label {

    display:
        inline-block;

    color:
        var(--primary);

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        1.5px;

}


.section-heading h2 {

    margin-top:
        10px;

    color:
        var(--dark);

    font-size:
        clamp(
            30px,
            4vw,
            44px
        );

    line-height:
        1.12;

    letter-spacing:
        -1.4px;

    font-weight:
        800;

}


.section-heading p {

    max-width:
        650px;

    margin-top:
        15px;

    color:
        var(--muted);

    font-size:
        14px;

    line-height:
        1.8;

}


/* =========================================================
   28. BUSINESS SECTION
========================================================= */

.business-section {

    background:
        var(--white);

}


/* =========================================================
   29. BUSINESS GRID
========================================================= */

.business-grid {

    display:
        grid;

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

    gap:
        18px;

}


/* =========================================================
   30. BUSINESS CARD
========================================================= */

.business-card {

    padding:
        25px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    background:
        var(--white);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

}


.business-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(15, 118, 110, 0.25);

    box-shadow:
        var(--shadow-md);

}


.business-icon {

    width:
        50px;

    height:
        50px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        13px;

    background:
        var(--primary-light);

    font-size:
        23px;

}


.business-card h3 {

    margin-top:
        18px;

    color:
        var(--dark);

    font-size:
        17px;

    font-weight:
        800;

}


.business-card p {

    margin-top:
        7px;

    color:
        var(--muted);

    font-size:
        12px;

    line-height:
        1.7;

}


/* =========================================================
   31. CATEGORIES SECTION
========================================================= */

.categories-section {

    background:
        var(--background);

}


/* =========================================================
   32. CATEGORY GRID
========================================================= */

.category-grid {

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        15px;

}


/* =========================================================
   33. CATEGORY CARD
========================================================= */

.category-card {

    display:
        flex;

    align-items:
        center;

    gap:
        12px;

    min-height:
        78px;

    padding:
        18px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-md);

    background:
        var(--white);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


.category-card:hover {

    transform:
        translateY(-3px);

    border-color:
        var(--primary);

    box-shadow:
        var(--shadow-sm);

}


.category-card span {

    width:
        38px;

    height:
        38px;

    display:
        grid;

    place-items:
        center;

    flex-shrink:
        0;

    border-radius:
        9px;

    background:
        var(--primary-soft);

    font-size:
        19px;

}


.category-card strong {

    color:
        var(--dark);

    font-size:
        12px;

    font-weight:
        700;

}


/* =========================================================
   34. HOW IT WORKS
========================================================= */

.how-section {

    background:
        var(--white);

}


/* =========================================================
   35. STEPS GRID
========================================================= */

.steps-grid {

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        25px;

}


/* =========================================================
   36. STEP CARD
========================================================= */

.step-card {

    position:
        relative;

    padding:
        25px;

    border:
        1px solid
        var(--border);

    border-top:
        3px solid
        var(--primary);

    border-radius:
        0 0
        var(--radius-md)
        var(--radius-md);

    background:
        var(--white);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.step-card:hover {

    transform:
        translateY(-4px);

    box-shadow:
        var(--shadow-sm);

}


.step-number {

    color:
        var(--primary);

    font-size:
        11px;

    font-weight:
        900;

    letter-spacing:
        1px;

}


.step-card h3 {

    margin-top:
        15px;

    color:
        var(--dark);

    font-size:
        16px;

    line-height:
        1.35;

}


.step-card p {

    margin-top:
        9px;

    color:
        var(--muted);

    font-size:
        12px;

    line-height:
        1.7;

}


/* =========================================================
   37. BENEFITS SECTION
========================================================= */

.benefits-section {

    background:
        var(--background);

}


.benefits-grid {

    display:
        grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap:
        80px;

    align-items:
        center;

}


.benefits-content {

    max-width:
        550px;

}


.benefits-content h2 {

    margin-top:
        12px;

    color:
        var(--dark);

    font-size:
        clamp(
            30px,
            4vw,
            43px
        );

    line-height:
        1.1;

    letter-spacing:
        -1.3px;

}


.benefits-content p {

    margin-top:
        18px;

    color:
        var(--muted);

    font-size:
        14px;

    line-height:
        1.8;

}


.benefits-content .btn {

    margin-top:
        28px;

}


/* =========================================================
   38. BENEFIT LIST
========================================================= */

.benefits-list {

    display:
        flex;

    flex-direction:
        column;

    gap:
        15px;

}


.benefit-item {

    display:
        flex;

    align-items:
        flex-start;

    gap:
        15px;

    padding:
        20px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-md);

    background:
        var(--white);

    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;

}


.benefit-item:hover {

    transform:
        translateY(-2px);

    box-shadow:
        var(--shadow-sm);

}


.benefit-icon {

    width:
        36px;

    height:
        36px;

    display:
        grid;

    place-items:
        center;

    flex-shrink:
        0;

    border-radius:
        50%;

    background:
        var(--success-light);

    color:
        var(--success);

    font-size:
        13px;

    font-weight:
        900;

}


.benefit-item h3 {

    color:
        var(--dark);

    font-size:
        14px;

    font-weight:
        800;

}


.benefit-item p {

    margin-top:
        5px;

    color:
        var(--muted);

    font-size:
        12px;

    line-height:
        1.6;

}


/* =========================================================
   39. CTA SECTION
========================================================= */

.cta-section {

    padding:
        0 0
        100px;

    background:
        var(--white);

}


.cta-card {

    position:
        relative;

    overflow:
        hidden;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        40px;

    padding:
        58px;

    border-radius:
        var(--radius-xl);

    background:
        var(--primary);

    color:
        var(--white);

}


.cta-card::after {

    content:
        "";

    position:
        absolute;

    width:
        350px;

    height:
        350px;

    right:
        -130px;

    bottom:
        -230px;

    border-radius:
        50%;

    border:
        50px solid
        rgba(255,255,255,0.06);

    pointer-events:
        none;

}


.cta-card > div {

    position:
        relative;

    z-index:
        2;

}


.cta-card .section-label {

    color:
        #99f6e4;

}


.cta-card h2 {

    max-width:
        650px;

    margin-top:
        10px;

    color:
        var(--white);

    font-size:
        clamp(
            30px,
            4vw,
            42px
        );

    line-height:
        1.1;

    letter-spacing:
        -1.2px;

}


.cta-card p {

    max-width:
        580px;

    margin-top:
        13px;

    color:
        #ccfbf1;

    font-size:
        13px;

    line-height:
        1.7;

}


.cta-actions {

    display:
        flex;

    flex-direction:
        column;

    align-items:
        flex-start;

    gap:
        13px;

    flex-shrink:
        0;

}


.btn-white {

    background:
        var(--white);

    color:
        var(--primary-dark);

    box-shadow:
        0 8px 20px
        rgba(0,0,0,0.10);

}


.btn-white:hover {

    background:
        #f8fafc;

}


.cta-phone {

    color:
        #ccfbf1;

    font-size:
        12px;

    font-weight:
        600;

}


.cta-phone:hover {

    color:
        var(--white);

}


/* =========================================================
   40. FOOTER
========================================================= */

.site-footer {

    padding-top:
        65px;

    background:
        var(--background-dark);

    color:
        var(--white);

}


/* =========================================================
   41. FOOTER GRID
========================================================= */

.footer-grid {

    display:
        grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap:
        45px;

    padding-bottom:
        50px;

}


/* =========================================================
   42. FOOTER BRAND
========================================================= */

.footer-brand .logo-text strong {

    color:
        var(--white);

}


.footer-brand .logo-text span {

    color:
        #64748b;

}


.footer-brand p {

    max-width:
        300px;

    margin-top:
        18px;

    color:
        #94a3b8;

    font-size:
        12px;

    line-height:
        1.7;

}


/* =========================================================
   43. FOOTER COLUMNS
========================================================= */

.footer-column {

    display:
        flex;

    flex-direction:
        column;

    align-items:
        flex-start;

    gap:
        10px;

}


.footer-column h4 {

    margin-bottom:
        6px;

    color:
        var(--white);

    font-size:
        13px;

    font-weight:
        800;

}


.footer-column a {

    color:
        #94a3b8;

    font-size:
        11px;

    transition:
        color 0.2s ease;

}


.footer-column a:hover {

    color:
        var(--white);

}


/* =========================================================
   44. FOOTER BOTTOM
========================================================= */

.footer-bottom {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    padding:
        20px 0;

    border-top:
        1px solid
        var(--border-dark);

    color:
        #64748b;

    font-size:
        10px;

}


/* =========================================================
   45. TABLET
   1000px AND BELOW
========================================================= */

@media (max-width: 1000px) {


    /* Header */

    .main-nav {

        display:
            none;

    }


    .header-actions {

        margin-left:
            auto;

    }


    .mobile-menu-btn {

        display:
            flex;

    }


    /* Hero */

    .hero {

        padding:
            75px 0
            90px;

    }


    .hero-grid {

        grid-template-columns:
            1fr;

        gap:
            70px;

    }


    .hero-content {

        text-align:
            center;

    }


    .hero h1 {

        margin-left:
            auto;

        margin-right:
            auto;

    }


    .hero-description {

        margin-left:
            auto;

        margin-right:
            auto;

    }


    .hero-actions {

        justify-content:
            center;

    }


    .hero-trust {

        justify-content:
            center;

    }


    .hero-visual {

        width:
            min(100%, 680px);

        margin:
            0 auto;

    }


    /* Business */

    .business-grid {

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

    }


    /* Categories */

    .category-grid {

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

    }


    /* Steps */

    .steps-grid {

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

    }


    /* Benefits */

    .benefits-grid {

        grid-template-columns:
            1fr;

        gap:
            50px;

    }


    .benefits-content {

        max-width:
            700px;

        text-align:
            center;

        margin:
            0 auto;

    }


    /* CTA */

    .cta-card {

        flex-direction:
            column;

        align-items:
            flex-start;

    }


    .cta-actions {

        flex-direction:
            row;

        align-items:
            center;

        flex-wrap:
            wrap;

    }


    /* Footer */

    .footer-grid {

        grid-template-columns:
            2fr 1fr 1fr;

    }

}


/* =========================================================
   46. TABLET SMALL
   768px AND BELOW
========================================================= */

@media (max-width: 768px) {


    .container {

        width:
            90%;

    }


    /* Header */

    .navbar {

        min-height:
            70px;

    }


    .header-actions {

        display:
            none;

    }


    /* Hero */

    .hero {

        padding:
            65px 0
            80px;

    }


    .hero-grid {

        gap:
            60px;

    }


    .hero h1 {

        font-size:
            clamp(
                38px,
                8vw,
                54px
            );

        letter-spacing:
            -2px;

    }


    .hero-description {

        font-size:
            15px;

    }


    /* Sections */

    .business-section,
    .categories-section,
    .how-section,
    .benefits-section {

        padding:
            80px 0;

    }


    .section-heading {

        margin-bottom:
            38px;

    }


    /* Footer */

    .footer-grid {

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

        gap:
            35px;

    }


    .footer-brand {

        grid-column:
            1 / -1;

    }

}


/* =========================================================
   47. MOBILE
   650px AND BELOW
========================================================= */

@media (max-width: 650px) {


    /* Container */

    .container {

        width:
            90%;

    }


    /* Header */

    .navbar {

        min-height:
            66px;

    }


    .logo-icon {

        width:
            38px;

        height:
            38px;

        font-size:
            19px;

    }


    .logo-text strong {

        font-size:
            15px;

    }


    .mobile-menu-btn {

        width:
            40px;

        height:
            40px;

    }


    /* Hero */

    .hero {

        padding:
            55px 0
            75px;

    }


    .hero-grid {

        gap:
            55px;

    }


    .hero-badge {

        font-size:
            10px;

    }


    .hero h1 {

        margin-top:
            18px;

        font-size:
            39px;

        line-height:
            1.07;

        letter-spacing:
            -1.8px;

    }


    .hero-description {

        margin-top:
            20px;

        font-size:
            14px;

        line-height:
            1.7;

    }


    /* Hero buttons */

    .hero-actions {

        flex-direction:
            column;

        width:
            100%;

    }


    .hero-actions .btn {

        width:
            100%;

    }


    /* Trust */

    .hero-trust {

        justify-content:
            center;

        margin-top:
            30px;

    }


    /* Hero visual */

    .hero-visual {

        padding:
            8px;

    }


    .procurement-card {

        padding:
            18px;

        border-radius:
            18px;

    }


    .card-header {

        gap:
            10px;

    }


    .card-header h3 {

        font-size:
            15px;

    }


    .small-label {

        font-size:
            8px;

    }


    .status {

        padding:
            5px 8px;

        font-size:
            8px;

    }


    .item-icon {

        width:
            36px;

        height:
            36px;

        font-size:
            17px;

    }


    .item-info strong {

        font-size:
            11px;

    }


    .item-info span {

        font-size:
            9px;

    }


    .status-step {

        font-size:
            8px;

    }


    .floating-card {

        left:
            5px;

        bottom:
            -28px;

        min-width:
            175px;

        padding:
            10px 12px;

    }


    /* Sections */

    .business-section,
    .categories-section,
    .how-section,
    .benefits-section {

        padding:
            70px 0;

    }


    .section-heading {

        margin-bottom:
            35px;

    }


    .section-heading h2 {

        font-size:
            31px;

        letter-spacing:
            -1px;

    }


    .section-heading p {

        font-size:
            13px;

    }


    /* Business */

    .business-grid {

        grid-template-columns:
            1fr;

        gap:
            14px;

    }


    .business-card {

        padding:
            21px;

    }


    /* Categories */

    .category-grid {

        grid-template-columns:
            1fr;

        gap:
            12px;

    }


    .category-card {

        min-height:
            68px;

    }


    /* Steps */

    .steps-grid {

        grid-template-columns:
            1fr;

        gap:
            14px;

    }


    .step-card {

        padding:
            22px;

    }


    /* Benefits */

    .benefits-grid {

        gap:
            40px;

    }


    .benefits-content h2 {

        font-size:
            31px;

    }


    .benefits-content p {

        font-size:
            13px;

    }


    .benefit-item {

        padding:
            17px;

    }


    /* CTA */

    .cta-section {

        padding-bottom:
            70px;

    }


    .cta-card {

        padding:
            35px 25px;

        border-radius:
            18px;

    }


    .cta-card h2 {

        font-size:
            30px;

    }


    .cta-card p {

        font-size:
            12px;

    }


    .cta-actions {

        flex-direction:
            column;

        align-items:
            flex-start;

    }


    /* Footer */

    .site-footer {

        padding-top:
            55px;

    }


    .footer-grid {

        grid-template-columns:
            1fr 1fr;

        gap:
            35px 20px;

    }


    .footer-brand {

        grid-column:
            1 / -1;

    }


    .footer-bottom {

        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            8px;

    }

}


/* =========================================================
   48. SMALL MOBILE
   420px AND BELOW
========================================================= */

@media (max-width: 420px) {


    .container {

        width:
            91%;

    }


    .logo-text span {

        display:
            none;

    }


    .hero h1 {

        font-size:
            35px;

    }


    .hero-description {

        font-size:
            13px;

    }


    .hero-badge {

        padding:
            6px 10px;

    }


    .procurement-card {

        padding:
            15px;

    }


    .card-header {

        align-items:
            center;

    }


    .card-header h3 {

        font-size:
            14px;

    }


    .order-item {

        padding:
            10px 0;

    }


    .status-line {

        align-items:
            flex-start;

    }


    .status-step {

        white-space:
            normal;

    }


    .line {

        min-width:
            8px;

        margin-left:
            4px;

        margin-right:
            4px;

    }


    .floating-card {

        position:
            relative;

        left:
            10px;

        bottom:
            auto;

        margin-top:
            10px;

        width:
            calc(100% - 20px);

    }


    .section-heading h2 {

        font-size:
            28px;

    }


    .benefits-content h2 {

        font-size:
            28px;

    }


    .cta-card {

        padding:
            30px 20px;

    }


    .cta-card h2 {

        font-size:
            27px;

    }


    .footer-grid {

        grid-template-columns:
            1fr;

    }


    .footer-brand {

        grid-column:
            auto;

    }

}


/* =========================================================
   49. ACCESSIBILITY / FOCUS
========================================================= */

a:focus-visible,
button:focus-visible {

    outline:
        3px solid
        rgba(15, 118, 110, 0.30);

    outline-offset:
        3px;

}


/* =========================================================
   50. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior:
            auto !important;

        transition:
            none !important;

        animation:
            none !important;

    }

}
/* =====================================================
   AUTHENTICATION PAGES
===================================================== */

.auth-page {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px 20px;

    background: #f5f7fb;

}


.auth-card {

    width: 100%;

    max-width: 520px;

    background: #ffffff;

    padding: 35px;

    border-radius: 16px;

    box-shadow:
        0 10px 35px
        rgba(0, 0, 0, 0.08);

}


.auth-header {

    text-align: center;

    margin-bottom: 30px;

}


.auth-header h1 {

    margin-bottom: 10px;

}


.auth-header p {

    color: #666;

}


.form-group {

    margin-bottom: 18px;

}


.form-group label {

    display: block;

    margin-bottom: 7px;

    font-weight: 600;

}


.form-group input,
.form-group select {

    width: 100%;

    padding: 13px 14px;

    border: 1px solid #d7dce5;

    border-radius: 8px;

    font-size: 15px;

    box-sizing: border-box;

}


.form-group input:focus,
.form-group select:focus {

    outline: none;

    border-color: #1769aa;

}


.auth-card .submit-btn {

    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 8px;

    cursor: pointer;

    font-size: 16px;

    font-weight: 600;

}


.auth-message {

    margin-top: 15px;

    text-align: center;

    font-size: 14px;

}


.auth-footer {

    text-align: center;

    margin-top: 22px;

}


.auth-footer a {

    font-weight: 600;

    text-decoration: none;

}


@media (max-width: 600px) {

    .auth-card {

        padding: 25px 20px;

    }

}
/* =====================================================
   CUSTOMER DASHBOARD
===================================================== */

.dashboard-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px 5%;

    background: #ffffff;

    border-bottom: 1px solid #e5e7eb;

}


.dashboard-header h1 {

    margin: 0;

}


.dashboard-header p {

    margin: 5px 0 0;

    color: #666;

}


.dashboard-container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 40px 20px;

}


.dashboard-welcome {

    margin-bottom: 30px;

}


.dashboard-welcome h2 {

    margin-bottom: 8px;

}


.dashboard-welcome p {

    color: #666;

}


.dashboard-grid {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 20px;

    margin-bottom: 35px;

}


.dashboard-card {

    display: block;

    padding: 25px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 14px;

    text-decoration: none;

    color: inherit;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.dashboard-card:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 10px 30px
        rgba(
            0,
            0,
            0,
            0.08
        );

}


.dashboard-card-icon {

    font-size: 30px;

    margin-bottom: 15px;

}


.dashboard-card h3 {

    margin-bottom: 10px;

}


.dashboard-card p {

    color: #666;

    line-height: 1.5;

}


.customer-info-card {

    background: #ffffff;

    padding: 30px;

    border-radius: 14px;

    border: 1px solid #e5e7eb;

}


.customer-info-grid {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 25px;

    margin-top: 20px;

}


.customer-info-grid div {

    display: flex;

    flex-direction: column;

    gap: 7px;

}


.customer-info-grid span {

    color: #777;

    font-size: 14px;

}


.customer-info-grid strong {

    font-size: 16px;

}


@media (
    max-width: 900px
) {

    .dashboard-grid {

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

    }


    .customer-info-grid {

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

    }

}


@media (
    max-width: 600px
) {

    .dashboard-header {

        padding: 15px;

    }


    .dashboard-container {

        padding:
            25px 15px;

    }


    .dashboard-grid {

        grid-template-columns:
            1fr;

    }


    .customer-info-grid {

        grid-template-columns:
            1fr;

    }

}
/* =========================================================
   PROCUREHUB - MY ORDERS
========================================================= */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    opacity: 0.7;
}

.page-header h1 {
    margin: 0 0 8px;
}

.page-header p {
    margin: 0;
    opacity: 0.7;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 700;
    cursor: pointer;
}


/* =========================================================
   TOOLBAR
========================================================= */

.orders-toolbar {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.search-box {
    flex: 1;
}

.search-box input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

.status-filter {
    min-width: 180px;
    padding: 13px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}


/* =========================================================
   STATISTICS
========================================================= */

.order-statistics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
}

.stat-card span {
    display: block;
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.stat-card strong {
    font-size: 28px;
}


/* =========================================================
   ORDER CARD
========================================================= */

.orders-container {
    display: grid;
    gap: 18px;
}

.order-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.order-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.6;
    margin-bottom: 6px;
}

.order-card-header h3 {
    margin: 0;
    font-size: 18px;
}

.order-status {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.status-pending {
    background: #fff3cd;
}

.status-processing {
    background: #dbeafe;
}

.status-confirmed {
    background: #e0e7ff;
}

.status-delivered {
    background: #dcfce7;
}

.status-cancelled {
    background: #fee2e2;
}

.order-card-body {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

.order-detail span {
    display: block;
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 6px;
}

.order-detail strong {
    display: block;
    font-size: 14px;
}

.order-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.view-order-btn {
    border: 0;
    background: transparent;
    font-weight: 700;
    cursor: pointer;
    padding: 8px 12px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.no-orders {
    text-align: center;
    padding: 70px 20px;
}

.empty-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.no-orders h2 {
    margin-bottom: 10px;
}

.no-orders p {
    opacity: 0.7;
    margin-bottom: 25px;
}


/* =========================================================
   LOADING
========================================================= */

.orders-loading {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #ddd;
    border-top-color: #333;
    border-radius: 50%;
    animation: procurehub-spin 0.8s linear infinite;
    margin: 0 auto 15px;
}

@keyframes procurehub-spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   ERROR
========================================================= */

.error-message {
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    background: #fff0f0;
}


/* =========================================================
   ORDER DETAILS MODAL
========================================================= */

.order-details-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.order-details-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.order-details-content {
    position: relative;
    width: min(700px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 14px;
    padding: 30px;
}

.close-order-details {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
}

.order-details-content h2 {
    margin-top: 0;
}

.order-details-content hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 25px 0;
}

.order-products-list {
    display: grid;
    gap: 10px;
}

.order-product-detail {
    display: grid;
    grid-template-columns: 35px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.order-product-detail span {
    font-weight: 700;
}

.order-product-detail small {
    opacity: 0.7;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.details-grid span {
    display: block;
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 5px;
}

.details-grid strong {
    font-size: 14px;
}


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

@media (max-width: 900px) {

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

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

}


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

@media (max-width: 600px) {

    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .page-header .primary-btn {
        width: 100%;
    }

    .orders-toolbar {
        flex-direction: column;
    }

    .status-filter {
        width: 100%;
    }

    .order-statistics {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-card strong {
        font-size: 22px;
    }

    .order-card-header {
        align-items: flex-start;
        gap: 15px;
    }

    .order-card-body {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

    .order-details-content {
        padding: 22px;
    }

}
/* =========================================================
   ADMIN PROCUREMENT DASHBOARD
========================================================= */

.admin-requests-container {
    display: grid;
    gap: 18px;
}

.admin-request-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
}

.admin-request-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.admin-request-main h3 {
    margin: 0;
}

.admin-request-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.admin-request-details span,
.admin-info-grid span {
    display: block;
    font-size: 12px;
    opacity: .6;
    margin-bottom: 6px;
}

.admin-request-details strong,
.admin-info-grid strong {
    display: block;
    font-size: 14px;
}

.admin-request-actions {
    display: flex;
    justify-content: flex-end;
    padding: 15px 20px;
    border-top: 1px solid #eee;
}

.admin-view-btn {
    border: 0;
    border-radius: 7px;
    padding: 10px 18px;
    font-weight: 700;
    cursor: pointer;
}


/* =========================================================
   ADMIN MODAL
========================================================= */

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.admin-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-modal-content {
    position: relative;
    width: min(800px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 14px;
    padding: 30px;
}

.admin-close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
}

.admin-modal-content h2 {
    margin-top: 0;
}

.admin-modal-content hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 25px 0;
}

.admin-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.admin-products-list {
    display: grid;
    gap: 8px;
}

.admin-product-row {
    display: grid;
    grid-template-columns: 35px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.admin-product-row span {
    font-weight: 700;
}

.admin-product-row small {
    opacity: .7;
}

.admin-next-step {
    margin-top: 25px;
    padding: 20px;
    border-radius: 10px;
    border: 1px dashed #ccc;
}

.admin-next-step h3 {
    margin-top: 0;
}

.admin-next-step p {
    opacity: .7;
}


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

@media (max-width: 700px) {

    .admin-request-main {
        align-items: flex-start;
        gap: 15px;
    }

    .admin-request-details {
        grid-template-columns: 1fr 1fr;
    }

    .admin-info-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 500px) {

    .admin-request-main {
        flex-direction: column;
    }

    .admin-request-details {
        grid-template-columns: 1fr;
    }

    .admin-request-actions {
        justify-content: stretch;
    }

    .admin-view-btn {
        width: 100%;
    }

}
/* =========================================================
   SUPPLIER MANAGEMENT
========================================================= */

.supplier-list {
    display: grid;
    gap: 18px;
}

.supplier-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
}

.supplier-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.supplier-card-header h3 {
    margin: 5px 0 0;
}

.supplier-card-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

.supplier-card-details span {
    display: block;
    font-size: 12px;
    opacity: .6;
    margin-bottom: 6px;
}

.supplier-card-details strong {
    font-size: 14px;
}

.supplier-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid #eee;
    font-size: 13px;
}

.supplier-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1px solid #d7d7d7;
    border-radius: 7px;
    font: inherit;
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    justify-content: center;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-group input {
    width: auto;
}

.supplier-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 10px;
}

.admin-close-form {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 7px;
    padding: 10px 18px;
    cursor: pointer;
}


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

@media (max-width: 800px) {

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

    .supplier-form-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 500px) {

    .supplier-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .supplier-card-details {
        grid-template-columns: 1fr;
    }

    .supplier-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .supplier-card-footer button {
        width: 100%;
    }

    .supplier-form-actions {
        flex-direction: column;
    }

    .supplier-form-actions button {
        width: 100%;
    }

}
/* =========================================================
   SUPPLIER ACTIONS
========================================================= */

.supplier-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.supplier-actions button {
    border: 1px solid #ddd;
    background: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.supplier-actions button:hover {
    opacity: 0.8;
}

.admin-edit-btn {
    font-weight: 600;
}

.admin-toggle-btn {
    font-weight: 600;
}

@media (max-width: 600px) {

    .supplier-actions {
        width: 100%;
    }

    .supplier-actions button {
        flex: 1;
    }

}
/* =========================================================
   PRODUCT MANAGEMENT
========================================================= */

.hidden {
    display: none !important;
}


.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}


.admin-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    overflow-y: auto;
}


.admin-modal-content {
    position: relative;

    width: 100%;
    max-width: 720px;

    max-height: 90vh;

    overflow-y: auto;

    background: #ffffff;

    border-radius: 14px;

    padding: 30px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);
}


.admin-modal-content h2 {
    margin-top: 8px;
    margin-bottom: 8px;
}


.admin-modal-content > p {
    margin-bottom: 25px;
    color: #666;
}


.admin-close-modal {
    position: absolute;

    top: 15px;
    right: 18px;

    width: 36px;
    height: 36px;

    border: none;

    background: transparent;

    font-size: 28px;

    cursor: pointer;
}


.product-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


.checkbox-group {
    display: flex;
    align-items: center;
}


.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;

    cursor: pointer;
}


.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
}


.supplier-form-actions {
    display: flex;
    justify-content: flex-end;

    gap: 12px;

    margin-top: 25px;
}


.secondary-btn {
    border: 1px solid #ddd;

    background: #ffffff;

    padding: 11px 18px;

    border-radius: 7px;

    cursor: pointer;
}


.secondary-btn:hover {
    background: #f5f5f5;
}


@media (max-width: 700px) {

    .admin-modal-overlay {
        padding: 10px;
    }


    .admin-modal-content {
        padding: 22px;

        max-height: 95vh;
    }


    .product-form-grid {
        grid-template-columns: 1fr;
    }


    .supplier-form-actions {
        flex-direction: column;
    }


    .supplier-form-actions button {
        width: 100%;
    }

}
/* =========================================================
   SUPPLIER ORDER MODAL
========================================================= */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.45);
}

.modal-content {
    width: min(900px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 12px;
    padding: 24px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.modal-close {
    border: none;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}
/* =========================================================
   SUPPLIER ORDER PAGE
========================================================= */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    font-size: 15px;
    box-sizing: border-box;
}

.form-group select:focus {
    outline: none;
    border-color: #2563eb;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.system-message {
    display: none;
    margin-top: 15px;
    padding: 13px 16px;
    border-radius: 8px;
}

.system-message:not(:empty) {
    display: block;
}

.system-message.success {
    background: #dcfce7;
    color: #166534;
}

.system-message.error {
    background: #fee2e2;
    color: #991b1b;
}

.system-message.warning {
    background: #fef3c7;
    color: #92400e;
}

@media (max-width: 768px) {

    .form-actions {
        justify-content: stretch;
    }

    .form-actions button {
        width: 100%;
    }

}