﻿/* =============================================================================
   APP STYLESHEET (Production-ready / Clean Architecture)
   - Uses design tokens (CSS variables)
   - Removes duplicates / old commented blocks
   - Fixes overflow (no unwanted scrolling)
   - Keeps ALL your existing selectors (so no HTML change required)
============================================================================= */

/* -----------------------------------------------------------------------------
   01) DESIGN TOKENS
----------------------------------------------------------------------------- */
:root {
    --font-system: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --sidebar-width: 300px;
    --color-text: #333;
    --color-muted: #777777;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-bg: #f5f6fa;
    --color-primary: #7f55cf;
    --color-primary-dark: #6846aa;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 18px;
    --shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.10);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.25);
    --transition-fast: 0.2s ease-in-out;
    --transition: 0.35s ease;
}

/* -----------------------------------------------------------------------------
   02) BASE / RESET
----------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
    font-family: var(--font-system);
    color: var(--color-text);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::placeholder {
    color: var(--color-black);
    opacity: 0.5;
}

/* -----------------------------------------------------------------------------
   03) TYPOGRAPHY
----------------------------------------------------------------------------- */
h2 {
    color: #333;
}

/* -----------------------------------------------------------------------------
   04) FORM ELEMENTS (minimal + safe)
----------------------------------------------------------------------------- */
label {
    font-size: 15px;
}

textarea {
    resize: vertical;
}

input[type="checkbox"] {
    margin-right: 5px;
}

/* -----------------------------------------------------------------------------
   05) COMMON BUTTONS
----------------------------------------------------------------------------- */
.btn_save {
    background-color: #4CAF50;
    color: #fff;
    padding: 8px 20px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-left: 341px;
    margin-top: 20px;
    transition: transform var(--transition-fast);
}

    .btn_save:hover {
        transform: scale(1.1);
    }

.gst_12 {
    margin: 5px 10px;
}

.btn_Clr {
    background-color: #c0dde7;
    color: #000000;
    padding: 8px 20px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-left: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .btn_Clr:hover {
        transform: translateY(-5px);
    }

/* -----------------------------------------------------------------------------
   06) LOGIN
----------------------------------------------------------------------------- */
.logbody {
    background-color: #ded3e1;
}

/* Centered + responsive instead of fixed left margin */
.maincontainer {
    max-width: 1000px;
    width: 100%;
    min-height: 530px; /* was height: 530px */
    border-radius: 27.5px;
    box-shadow: 0 10px 30px 0 rgba(172, 168, 168, 0.43);
    word-wrap: break-word;
    background-color: #fff;
    margin: 90px auto 0;
    overflow: hidden;
}

.subcontainer {
    display: flex;
    flex-wrap: wrap;
}

.log_con {
    margin: 101px 0 0 40px;
}

.form_grp {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

    .form_grp label,
    .form_grp input {
        width: 100%;
        max-width: 300px;
        box-sizing: border-box;
        margin-bottom: 8px;
    }

    .form_grp select {
        width: 100%;
        max-width: 400px;
        box-sizing: border-box;
        margin-bottom: 8px;
        height: 36px;
    }

    .form_grp input,
    .form_grp select {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: var(--radius-sm);
    }

.log_description {
    font-size: 25px;
    color: #000;
    font-weight: normal;
    margin-bottom: 23px;
    font-family: var(--font-system);
}

.login_btn {
    padding: 10px 127px 11px;
    background-color: var(--color-primary);
    border-radius: var(--radius-sm);
    font-size: 17px;
    font-weight: bold;
    line-height: 20px;
    color: #fff;
    margin-bottom: 24px;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease, color 0.2s ease, border 0.2s ease;
}

    .login_btn:hover {
        border: 1px solid #000;
        background-color: transparent;
        color: #000;
    }

.imglog {
    margin: -30px 0 0 -14px;
}

.rounded_left {
    border-top-left-radius: 27px;
    border-bottom-left-radius: 27px;
}

.ft_sign {
    margin: -15px 0 0 60px;
    font-size: 13px;
    font-family: system-ui;
    font-weight: 400;
}

/* -----------------------------------------------------------------------------
   07) LAYOUT (SIDEBAR + CONTENT)
----------------------------------------------------------------------------- */
/* ===============================
   SMART SIDEBAR (SCROLL ONLY WHEN NEEDED)
================================ */

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1e1e2f, #2c2c54);
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    z-index: 1000;
    overflow-y: auto; /* scroll only if needed */
    overflow-x: hidden; /* prevent horizontal scroll */
}

    /* Hide scrollbar but allow scroll */
    .side-menu::-webkit-scrollbar {
        width: 6px;
    }

    .side-menu::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.2);
        border-radius: 10px;
    }

    .side-menu::-webkit-scrollbar-track {
        background: transparent;
    }

/* Firefox */
.side-menu {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

    /* Logo */
    .side-menu > div {
        text-align: center;
        margin-bottom: 20px;
    }

    .side-menu img {
        width: 140px;
    }

    /* Navigation */
    .side-menu nav {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

        /* Menu links */
        .side-menu nav a,
        .dropdown-btn {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 14px;
            border-radius: 10px;
            color: #e4e4e4;
            font-size: 14px;
            transition: 0.3s ease;
            white-space: nowrap;
        }

            /* Hover */
            .side-menu nav a:hover,
            .dropdown-btn:hover {
                background: linear-gradient(135deg, #7f55cf, #a252d7);
                transform: translateX(4px);
                color: #fff;
            }

/* Dropdown */
.dropdown {
    display: flex;
    flex-direction: column;
}

.dropdown-content {
    display: none;
    flex-direction: column;
    margin-left: 10px;
    margin-top: 4px;
    gap: 4px;
}

    .dropdown-content a {
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 6px;
        background: rgba(255,255,255,0.05);
    }

.dropdown:hover .dropdown-content {
    display: flex;
}

/* Body shift */
.body-content {
    margin-left: 260px;
    padding: 30px;
    min-height: 100vh;
}

/* Responsive */
@media (max-width: 992px) {
    .side-menu {
        transform: translateX(-100%);
        transition: 0.4s ease;
    }

    #side-menu-switch:checked + .side-menu {
        transform: translateX(0);
    }

    .body-content {
        margin-left: 0;
    }
}

/* -----------------------------------------------------------------------------
   08) NAV LINKS
----------------------------------------------------------------------------- */
nav a {
    display: block;
    padding: 18px;
    color: #fff;
    text-decoration: none !important;
    position: relative;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 17px;
}

    nav a:hover {
        color: #d8c4fd !important;
    }

    nav a + a::before {
        content: '';
        position: absolute;
        border-top: 1px solid #9a9a9a;
        left: 10px;
        right: 10px;
        top: 0;
    }

    nav a .fas {
        margin-right: -1.1em;
        transform: scale(0);
        transition: 0.5s;
    }

    nav a:hover .fas {
        margin-right: 0.3em;
        transform: scale(1);
    }

/* Dropdown */
.side-menu .dropdown {
    position: relative;
}

.side-menu .dropdown-btn {
    display: flex;
    justify-content: space-between;
    padding: 20px 25px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

    .side-menu .dropdown-btn::before {
        content: '';
        position: absolute;
        left: 10px;
        right: 10px;
        top: 0;
        border-top: 1px solid #9a9a9a;
    }

    .side-menu .dropdown-btn::after {
        content: '';
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 0;
        border-bottom: 1px solid #9a9a9a;
    }

.side-menu .dropdown-content {
    display: block;
    opacity: 0;
    position: absolute;
    left: 5px;
    background-color: var(--color-primary-dark);
    min-width: 285px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

    .side-menu .dropdown-content a {
        padding: 15px;
        color: #fff;
        text-decoration: none;
        display: block;
    }

.side-menu .dropdown:hover .dropdown-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.side-menu .dropdown-btn .arrow-icon {
    margin-left: auto;
    font-size: 14px;
}

/* -----------------------------------------------------------------------------
   09) PURCHASE REQUEST
----------------------------------------------------------------------------- */
.pr_rqt {
    text-align: center;
    display: block;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 25px;
    color: #5a29b4;
}

/* Centered + responsive instead of fixed left margin */
.sub_divcon {
    max-width: 1000px;
    width: 100%;
    padding: 20px;
    margin: 10px auto 20px;
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
    background-color: #fff;
}

.common_row {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

    .common_row label,
    .common_row input {
        width: 100%;
        max-width: 415px;
        box-sizing: border-box;
        margin-bottom: 5px;
    }

    .common_row label {
        color: var(--color-muted);
    }

    .common_row select {
        width: 100%;
        max-width: 415px;
        box-sizing: border-box;
        margin-bottom: 0;
        height: 36px;
    }

    .common_row input,
    .common_row select {
        padding: 8px;
        border: 1px solid #e2e2e2;
        border-radius: var(--radius-sm);
    }

.row_flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.btnn {
    width: 279px;
    height: 32px;
}

/* Shine button (fix: position relative required for ::before) */
.button_newadd {
    position: relative;
    transition: all 0.3s ease-in-out;
    padding-block: 0.5rem;
    padding-inline: 1.25rem;
    background-color: #8359d5;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffff;
    font-weight: bold;
    border: 1px solid #ffffff4d;
    outline: none;
    overflow: hidden;
    font-size: 15px;
    margin-top: 20px;
    width: 80px;
    cursor: pointer;
}

    .button_newadd:hover {
        transform: scale(1.05);
        border-color: #fff9;
    }

        .button_newadd:hover::before {
            animation: shine 1.5s ease-out infinite;
        }

    .button_newadd::before {
        content: "";
        position: absolute;
        width: 100px;
        height: 100%;
        background-image: linear-gradient( 120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70% );
        top: 0;
        left: -100px;
        opacity: 0.6;
    }

@keyframes shine {
    0% {
        left: -100px;
    }

    60% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Scope Bootstrap class customizations to avoid breaking everywhere */
.sub_divcon .btn-success {
    margin-left: auto;
}

.regdtlcontainer1 table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.regdtlcontainer1 th {
    background-color: #427ea3;
    color: white;
    padding: 12px !important;
    text-align: left;
    border: 1px solid #ddd;
}

.regdtlcontainer1 tr {
    border-bottom: 1px solid #dee2e6;
}

.regdtlcontainer1 {
    background-color: #f8f9fa;
    width: 100%;
    margin: 0 0 20px;
    overflow: auto;
}

    .regdtlcontainer1 td {
        padding: 10px;
        border: 1px solid #ddd;
        text-align: left;
    }

    .regdtlcontainer1 tr:hover {
        background-color: #e2e6ea;
    }

.body_container {
    margin: 45px 0 10px 25px;
}

/* Make big inputs responsive */
#reqst_txtara,
#remark,
#item-txt,
#Subject,
#delivery_address {
    width: 100%;
    max-width: 900px;
    height: 50px;
}

.sub_divcon h3 {
    font-size: 25px;
    color: #454749;
    font-family: 'Times New Roman', Times, serif;
}

#qty-txt {
    width: 300px;
    max-width: 100%;
    height: 40px;
}

.small_font {
    font-size: 13px;
    color: #5b5b60;
}

.btn_add {
    margin-left: auto;
    margin-bottom: 15px;
    display: block;
}

.flex_upload {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: 0;
}

/* -----------------------------------------------------------------------------
   10) ADD VENDOR / ALIGNMENTS
----------------------------------------------------------------------------- */
.btn_align {
    margin-left: 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn_align1 {
    margin-left: 315px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn_align_update {
    margin-left: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* -----------------------------------------------------------------------------
   11) PURCHASE REQUEST DETAILS
----------------------------------------------------------------------------- */
.div_container {
    background-color: #fff;
    width: 100%;
    max-width: 1000px; /* was min-width: 1000px */
    min-height: 228px;
    margin: 0 auto;
    padding: 20px 5px;
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
    overflow: auto;
}

.regdtlcontainer table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.regdtlcontainer th {
    background-color: #fff;
    color: #000;
    padding: 8px !important;
    text-align: left;
    border-bottom: 2px solid #777474 !important;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.regdtlcontainer {
    background-color: #f8f9fa;
    margin-left: 10px;
    margin-bottom: 20px;
}

    .regdtlcontainer td {
        padding: 10px;
        text-align: left;
        border: none !important;
    }

    .regdtlcontainer tr {
        border: none;
    }

        .regdtlcontainer tr:hover {
            background-color: #e2e6ea !important;
            cursor: pointer;
        }

        .regdtlcontainer tr:nth-child(even) {
            background-color: #fff;
        }

        .regdtlcontainer tr:nth-child(odd) {
            background-color: #f4f4f4;
        }

/* -----------------------------------------------------------------------------
   12) FEEDBACK
----------------------------------------------------------------------------- */
#submit {
    margin: 15px auto 0;
    display: block;
}

.feedback_container {
    background-color: #fff;
    width: 100%;
    max-width: 1135px; /* was min-width */
    min-height: 228px;
    margin: 0 auto;
    padding: 20px 15px;
    border-radius: 5px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    overflow: auto;
}

/* -----------------------------------------------------------------------------
   13) PURCHASE ORDER CONFIRM
----------------------------------------------------------------------------- */
#poc_cnfrm_btn {
    margin: 15px auto 0;
    display: block;
}

/* -----------------------------------------------------------------------------
   14) COST NEGOTIATION
----------------------------------------------------------------------------- */
.main_box {
    width: 100%; /* was 119% (causes horizontal scroll) */
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 1px -1px rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 1px 3px 0 rgba(0,0,0,.12);
    background-color: #fff;
}

#Neg_confirm_btn,
#cost_neg_add_btn {
    margin: 10px auto;
    display: block;
}

/* -----------------------------------------------------------------------------
   15) SIGNUP
----------------------------------------------------------------------------- */
.subrow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mainrow {
    max-width: 1000px;
    width: 100%;
    margin: 70px auto 0;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    background-color: #fff;
}

.snrow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 10px;
}

.label_row {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    margin-left: 20px;
    justify-content: space-between;
}

    .label_row label,
    .label_row input {
        width: 100%;
        max-width: 215px;
        box-sizing: border-box;
        margin-bottom: 8px;
    }

    .label_row label {
        font-size: 14px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        color: #626060;
    }

    .label_row select {
        width: 100%;
        max-width: 214px;
        box-sizing: border-box;
        margin-bottom: 8px;
        height: 36px;
    }

    .label_row input,
    .label_row select {
        font-size: 15px;
        padding: 6px;
        border: 2px solid #ffcbcb94;
        border-radius: var(--radius-sm);
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

.form1 {
    margin: 70px 0 0 50px;
}

.signhd {
    margin-top: -180px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn_signup {
    font-size: 17px;
    padding: 0.5em 2em;
    border: transparent;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    background: #dd4f67;
    color: white;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin: 20px auto 0;
    display: block;
}

    .btn_signup:hover {
        background: linear-gradient(90deg, rgb(105 24 248) 0%, rgb(246 118 119) 100%);
    }

    .btn_signup:active {
        transform: translate(0em, 0.2em);
    }

.ft_login {
    margin: 18px 0 0 200px;
    font-size: 13px;
    font-family: system-ui;
    font-weight: 400;
}

.signbody {
    background: linear-gradient(90deg, #ded3e1 0%, #ded3e1 100%);
}

.title_head {
    color: #fff;
    font-size: 24px;
    font-family: system-ui;
    width: 300px;
    margin: 70px 0 0 0; /* removed huge negative margin for production */
    letter-spacing: 1px;
}

#negotiatebutton {
    margin: 20px auto 30px;
    display: block;
}

/* Avoid overriding Bootstrap .row with negative margins */
.row {
    margin: 6px 0 0 0;
}

    .row img {
        width: 100%;
    }

.tooltip-icon {
    cursor: pointer;
    margin-left: 5px;
    color: red;
}

#tooltip {
    display: none;
    position: absolute;
    background-color: #8ec3ffbd;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    margin: 6px 0 0 3px;
    width: 280px;
    max-width: 100%;
}

.mandatory-symbol {
    color: red;
    font-size: 18px;
}

.tran_remk {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* -----------------------------------------------------------------------------
   16) VENDOR REPORT
----------------------------------------------------------------------------- */
.vendor_divcon {
    width: 100%;
    max-width: 1150px;
    padding: 20px;
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    background-color: #fff;
}

.vendor_table {
    overflow: auto;
}

/* -----------------------------------------------------------------------------
   17) ADD BUDGET
----------------------------------------------------------------------------- */
.add_btn_1 {
    margin: 40px 0 0;
}

.add_btn_2 {
    margin-left: auto;
}

.btn_cnfm_1 {
    margin: 0 auto;
}

.budget_newadd {
    padding: 2px 8px;
    background-color: #ef321d;
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
}

    .budget_newadd:hover {
        background-color: #c31f0d;
    }

/* -----------------------------------------------------------------------------
   18) FILE PICKER BUTTON
----------------------------------------------------------------------------- */
.open-file {
    background: #8359d5;
    width: 120px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgb(217, 217, 217);
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 5px;
    margin-bottom: 10px;
}

.file-wrapper {
    width: 15px;
    height: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

    .file-wrapper svg {
        width: 100%;
    }

.file-front {
    position: absolute;
    width: 100%;
    height: 70%;
    border: 2px solid rgb(0, 0, 0);
    border-bottom: 1px solid black;
    transform: skewX(-40deg);
    transform-origin: bottom right;
    background-color: white;
    transition: all 0.5s;
    bottom: 0;
}

.open-file:hover .file-front {
    height: 50%;
    transform-origin: bottom right;
    transform: skewX(-55deg);
}

.open-file:hover {
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.048);
}

/* -----------------------------------------------------------------------------
   19) DOWNLOAD BUTTON
----------------------------------------------------------------------------- */
.Download-button {
    display: flex;
    align-items: center;
    font-family: inherit;
    font-weight: 700;
    font-size: 12px;
    padding: 5px 10px;
    color: white;
    background: rgb(75 104 196);
    border: none;
    box-shadow: 0 0.7em 1.5em -0.5em rgba(59, 48, 78, 0.527);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}

    .Download-button svg {
        margin-right: 8px;
        width: 25px;
    }

    .Download-button:hover {
        box-shadow: 0 0.5em 1.5em -0.5em rgba(88, 71, 116, 0.627);
    }

    .Download-button:active {
        box-shadow: 0 0.3em 1em -0.5em rgba(88, 71, 116, 0.627);
    }

    .Download-button::before,
    .Download-button::after {
        content: "";
        width: 4px;
        height: 40%;
        background-color: white;
        position: absolute;
        transition: all 0.2s;
    }

    .Download-button::before {
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        left: 0;
    }

    .Download-button::after {
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        right: 0;
    }

    .Download-button:hover::before,
    .Download-button:hover::after {
        height: 60%;
    }

/* -----------------------------------------------------------------------------
   20) SUGGESTIONS
----------------------------------------------------------------------------- */
.suggestions {
    position: absolute;
    width: 900px;
    max-width: 100%;
    max-height: 450px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    background-color: #b7d0ff;
    z-index: 1000;
    font-size: 14px;
    margin-top: 0;
}

.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .suggestions-list li {
        padding: 8px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .suggestions-list li:hover {
            background-color: #f0f0f0;
        }

/* If you use .sugg_align wrapper, make it a proper positioning anchor */
.sugg_align {
    position: relative;
    margin: 0; /* removed -970px hack */
}

/* -----------------------------------------------------------------------------
   21) ACTION BUTTONS
----------------------------------------------------------------------------- */
.reject_btn {
    font-size: 14px;
    padding: 6px 15px;
    border: transparent;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    background: #FF4136;
    color: #fff;
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

    .reject_btn:hover {
        background: #D32F2F;
    }

    .reject_btn:active {
        transform: translateY(0.2em);
    }

    .reject_btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(255, 65, 54, 0.4);
    }

.return_btn {
    font-size: 14px;
    padding: 6px 15px;
    border: transparent;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    background: #007BFF;
    color: #fff;
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

    .return_btn:hover {
        background: #0056b3;
    }

    .return_btn:active {
        transform: translateY(0.2em);
    }

    .return_btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.4);
    }

/* -----------------------------------------------------------------------------
   22) DASHBOARD TITLE / HELPERS
----------------------------------------------------------------------------- */
.bud_flex {
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.dash_board {
    font-size: 24px;
    font-weight: bold;
    color: #754ebe;
    text-align: center;
    margin: 0 auto;
    padding: 15px;
    border-radius: 8px;
}

.btn_odr_cn {
    margin-left: 60px;
}

.table_pur_cn {
    overflow: auto;
}

/* -----------------------------------------------------------------------------
   23) LOADING OVERLAY
----------------------------------------------------------------------------- */
.loading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.dot-spinner {
    --uib-size: 5.0rem;
    --uib-speed: .9s;
    --uib-color: #183153;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: var(--uib-size);
    width: var(--uib-size);
}

.dot-spinner__dot {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
}

    .dot-spinner__dot::before {
        content: '';
        height: 20%;
        width: 20%;
        border-radius: 50%;
        background-color: #fff;
        transform: scale(0);
        opacity: 0.5;
        animation: pulse0112 calc(var(--uib-speed) * 1.111) ease-in-out infinite;
        box-shadow: 0 0 20px rgba(18, 31, 53, 0.3);
    }

    .dot-spinner__dot:nth-child(2) {
        transform: rotate(45deg);
    }

        .dot-spinner__dot:nth-child(2)::before {
            animation-delay: calc(var(--uib-speed) * -0.875);
        }

    .dot-spinner__dot:nth-child(3) {
        transform: rotate(90deg);
    }

        .dot-spinner__dot:nth-child(3)::before {
            animation-delay: calc(var(--uib-speed) * -0.75);
        }

    .dot-spinner__dot:nth-child(4) {
        transform: rotate(135deg);
    }

        .dot-spinner__dot:nth-child(4)::before {
            animation-delay: calc(var(--uib-speed) * -0.625);
        }

    .dot-spinner__dot:nth-child(5) {
        transform: rotate(180deg);
    }

        .dot-spinner__dot:nth-child(5)::before {
            animation-delay: calc(var(--uib-speed) * -0.5);
        }

    .dot-spinner__dot:nth-child(6) {
        transform: rotate(225deg);
    }

        .dot-spinner__dot:nth-child(6)::before {
            animation-delay: calc(var(--uib-speed) * -0.375);
        }

    .dot-spinner__dot:nth-child(7) {
        transform: rotate(270deg);
    }

        .dot-spinner__dot:nth-child(7)::before {
            animation-delay: calc(var(--uib-speed) * -0.25);
        }

    .dot-spinner__dot:nth-child(8) {
        transform: rotate(315deg);
    }

        .dot-spinner__dot:nth-child(8)::before {
            animation-delay: calc(var(--uib-speed) * -0.125);
        }

@keyframes pulse0112 {
    0%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}

/* -----------------------------------------------------------------------------
   24) SESSION TIMEOUT PAGE
----------------------------------------------------------------------------- */
.top {
    margin-top: 30px;
}

.container1 {
    margin: 0 auto;
    position: relative;
    width: 250px;
    height: 250px;
    margin-top: -40px;
}

.ghost,
.ghost-copy {
    width: 50%;
    height: 53%;
    left: 25%;
    top: 10%;
    position: absolute;
    border-radius: 50% 50% 0 0;
    background: #ededed;
    border: 1px solid #bfc0c0;
    border-bottom: none;
    animation: float 2s ease-out infinite;
}

.ghost-copy {
    z-index: 0;
}

.face {
    position: absolute;
    width: 100%;
    height: 60%;
    top: 20%;
}

.eye,
.eye-right {
    position: absolute;
    background: #585959;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    top: 40%;
}

.eye {
    left: 25%;
}

.eye-right {
    right: 25%;
}

.mouth {
    position: absolute;
    top: 50%;
    left: 45%;
    width: 10px;
    height: 10px;
    border: 3px solid;
    border-radius: 50%;
    border-color: transparent #585959 #585959 transparent;
    transform: rotate(45deg);
}

.one,
.two,
.three,
.four {
    position: absolute;
    background: #ededed;
    top: 85%;
    width: 25%;
    height: 23%;
    border: 1px solid #bfc0c0;
    z-index: 0;
}

.one {
    border-radius: 0 0 100% 30%;
    left: -1px;
}

.two {
    left: 23%;
    border-radius: 0 0 50% 50%;
}

.three {
    left: 50%;
    border-radius: 0 0 50% 50%;
}

.four {
    left: 74.5%;
    border-radius: 0 0 30% 100%;
}

.shadow {
    position: absolute;
    width: 30%;
    height: 7%;
    background: #bfc0c0;
    left: 35%;
    top: 80%;
    border-radius: 50%;
    animation: scale 2s infinite;
}

@keyframes scale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes float {
    50% {
        transform: translateY(15px);
    }
}

.bottom {
    margin-top: 10px;
}

.top h1 {
    font-family: "Abril Fatface", serif;
    color: #ededed;
    text-align: center;
    font-size: 9em;
    margin: 0;
    text-shadow: -1px 0 #bfc0c0, 0 1px #bfc0c0, 1px 0 #bfc0c0, 0 -1px #bfc0c0;
}

.top h3 {
    font-family: "Lato", sans-serif;
    font-size: 2em;
    text-transform: uppercase;
    text-align: center;
    color: #bfc0c0;
    margin-top: -20px;
    font-weight: 900;
}

.bottom p {
    text-align: center;
    font-family: "Lato", sans-serif;
    color: #585959;
    font-size: 0.9em;
    margin-top: -20px;
    text-transform: uppercase;
}

.search {
    text-align: center;
}

.buttons1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

/* search style */
.search-bar {
    border: 1px solid #bfc0c0;
    padding: 5px;
    height: 20px;
    width: 200px;
    outline: none;
}

    .search-bar:focus {
        border: 1px solid #d3deea;
    }

.search-btn {
    position: absolute;
    width: 30px;
    height: 32px;
    border: 1px solid #bfc0c0;
    background: #bfc0c0;
    text-align: center;
    color: #ededed;
    cursor: pointer;
    font-size: 1em;
    outline: none;
}

    .search-btn:hover {
        background: #ededed;
        border: 1px solid #ededed;
        color: #bfc0c0;
        transition: all 0.2s ease;
    }

/* IMPORTANT: scope .btn styling so it doesn't override Bootstrap globally */
.buttons1 .btn {
    background: #ff3737;
    padding: 8px 12px;
    margin: 5px;
    color: #fff;
    font-family: "Lato", sans-serif;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 1px;
    border: 0;
    cursor: pointer;
}

    .buttons1 .btn:hover {
        background: #c64646;
        transition: all 0.4s ease-out;
    }

#background {
    background-color: #ded3e1;
    min-height: 727px;
    width: 100%;
    padding-top: 50px;
}

.pop_flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* -----------------------------------------------------------------------------
   25) CONFIRM BUTTON (CRF tracker)
----------------------------------------------------------------------------- */
.confirm_btn {
    font-size: 14px;
    padding: 6px 15px;
    border: transparent;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    background: #0fa832;
    color: white;
    border-radius: var(--radius-sm);
    transition: transform var(--transition-fast);
}

    .confirm_btn:hover {
        transform: scale(1.1);
    }

    .confirm_btn:active {
        transform: translate(0em, 0.2em);
    }

.btn_confirm {
    margin: 10px auto 0;
    display: block;
}

/* -----------------------------------------------------------------------------
   26) SEARCH CONTAINER
----------------------------------------------------------------------------- */
.search-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

    .search-container label {
        font-size: 16px;
        color: #333;
    }

    .search-container input[type="text"] {
        font-size: 14px;
        padding: 8px 12px;
        border: 1px solid #ccc;
        border-radius: var(--radius-sm);
        width: 100%;
        max-width: 250px;
        box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .search-container input[type="text"]:focus {
            border-color: #8b60dd;
            box-shadow: 0 0 5px rgba(122, 66, 244, 0.5);
            outline: none;
        }

.btn_posc,
.edit_btn_align,
.btn_add_align1 {
    margin-left: auto;
}

/* -----------------------------------------------------------------------------
   27) MODAL (Popup in Edit PO Request)
----------------------------------------------------------------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 25px;
    border-radius: 8px;
    width: 65%;
    max-width: 900px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
}

.close {
    color: #444141;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
    }

.modal-content label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: #747373;
}

.modal-content input {
    width: 420px;
    max-width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: var(--radius-sm);
    font-size: 14px;
    box-sizing: border-box;
}

    .modal-content input:focus {
        border-color: #007bff;
        outline: none;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.align_flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.responsive_img {
    width: 180px;
    height: 120px;
    margin-left: 55px;
    margin-top: 0;
}

.heading_con {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 30px;
    background: linear-gradient(to right, #f3eeff 0%, #faf7ff 50%, #ffffff 100%);
    border-radius: 5px;
    height: 55px;
}

    .heading_con img {
        width: 35px;
        height: 35px;
    }

/* -----------------------------------------------------------------------------
   28) DASHBOARD CARDS
----------------------------------------------------------------------------- */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px;
}

.card {
    position: relative;
    width: 260px;
    min-height: 130px;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1e9e92, #47c9c0);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all var(--transition);
    overflow: hidden;
}

    .card:nth-child(2) {
        background: linear-gradient(135deg, #376dd6, #57a0ef);
    }

    .card:nth-child(3) {
        background: linear-gradient(135deg, #a252d7, #bc80e8);
    }

    .card:nth-child(4) {
        background: linear-gradient(135deg, #ff7b54, #ffb26b);
    }

    .card:nth-child(5) {
        background: linear-gradient(135deg, #28a745, #5dd39e);
    }

    .card:nth-child(6) {
        background: linear-gradient(135deg, #dc3545, #ff6b6b);
    }

    .card:nth-child(7) {
        background: linear-gradient(135deg, #ff9800, #ffc107);
    }

    .card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

.card-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
}

.card-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .card-icon i {
        color: #ffffff;
        font-size: 20px;
    }

.card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.card-value {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.card-label {
    font-size: 14px;
    color: #ffffff;
    margin-top: 4px;
    opacity: 0.95;
    line-height: 1.3;
    word-break: break-word;
}

/* Coming Soon */
.card.coming-soon {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
    pointer-events: none;
    opacity: 0.9;
}

    .card.coming-soon::after {
        content: "Coming Soon";
        position: absolute;
        top: 10px;
        right: 12px;
        font-size: 11px;
        background: #ff5722;
        color: #fff;
        padding: 3px 8px;
        border-radius: 12px;
    }

/* -----------------------------------------------------------------------------
   29) RESPONSIVE
----------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .body-content {
        margin-left: 0;
        padding: 20px;
    }

    .side-menu {
        transform: translateX(-100%);
    }

    #side-menu-switch:checked + .side-menu {
        transform: translateX(0);
    }

    .btn_save {
        margin-left: 0;
    }

    .btn_align1,
    .btn_align_update {
        margin-left: 0;
    }

    .ft_login {
        margin-left: 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .card {
        width: 90%;
        max-width: 350px;
        margin-left: 20px;
    }

    .log_con {
        margin: 40px 20px 0;
    }

    .form1 {
        margin: 40px 20px 0;
    }

    .responsive_img {
        margin-left: 50px;
    }

}
/* =========================================
   MODERN REPORT PAGE
========================================= */

.report-wrapper {
    padding: 30px;
}

/* Header */
.report-header {
    margin-bottom: 25px;
}

.report-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .report-title img {
        width: 45px;
    }

    .report-title h2 {
        margin: 0;
        font-weight: 600;
        font-size: 24px;
    }

    .report-title p {
        margin: 2px 0 0;
        font-size: 13px;
        color: #777;
    }

/* Filter Card */
.filter-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

/* Grid Layout */
.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

    .filter-group label {
        font-size: 13px;
        margin-bottom: 6px;
        color: #555;
    }

    .filter-group input,
    .filter-group select {
        padding: 10px;
        border-radius: 8px;
        border: 1px solid #ddd;
        font-size: 14px;
        transition: 0.3s;
    }

        .filter-group input:focus,
        .filter-group select:focus {
            border-color: #7f55cf;
            box-shadow: 0 0 5px rgba(127,85,207,0.4);
            outline: none;
        }

/* Buttons */
.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-load {
    background: linear-gradient(135deg, #376dd6, #57a0ef);
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s ease;
}

    .btn-load:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(55,109,214,0.4);
    }

.btn-export {
    background: linear-gradient(135deg, #28a745, #5dd39e);
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s ease;
}

    .btn-export:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(40,167,69,0.4);
    }

/* Table Card */
.table-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Table */
.table-responsive {
    overflow-x: auto;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

    .modern-table thead {
        background: linear-gradient(135deg, #7f55cf, #a252d7);
        color: #fff;
    }

    .modern-table th {
        padding: 12px 10px;
        text-align: left;
        white-space: nowrap;
    }

    .modern-table td {
        padding: 10px;
        border-bottom: 1px solid #eee;
        white-space: nowrap;
    }

    .modern-table tbody tr:hover {
        background: #f5f3ff;
    }

.empty-row {
    text-align: center;
    padding: 25px !important;
    font-size: 14px;
    color: #777;
}

/* Responsive */
@media (max-width: 768px) {
    .report-wrapper {
        padding: 15px;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        justify-content: flex-start;
    }
}

/* =====================================================
   GLOBAL PAGE LAYOUT (COMMON FOR ALL SCREENS)
===================================================== */

/* Page Wrapper */
.page-wrapper {
    padding: 30px;
}

/* Header */
.page-header {
    margin-bottom: 25px;
}

.page-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .page-title img {
        width: 45px;
    }

    .page-title h2 {
        margin: 0;
        font-size: 22px;
        font-weight: 600;
    }

    .page-title p {
        margin: 3px 0 0;
        font-size: 13px;
        color: #777;
    }

/* Card Container */
.card-container {
    margin-right: 0px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}


/* =====================================================
   COMMON TABLE DESIGN (COMPACT VERSION)
===================================================== */

.table-responsive {
    overflow-x: auto;
}

.app-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px; /* Slightly smaller */
    table-layout: auto;
}

    .app-table thead {
        background: linear-gradient(135deg, #7f55cf, #a252d7);
        color: #ffffff;
    }

    .app-table th,
    .app-table td {
        padding: 6px 8px; /* 🔥 Reduced from 10px */
        text-align: left;
        border-bottom: 1px solid #eee;
        /*white-space: nowrap;*/ /* 🔥 Prevent extra wrapping space */
    }

    /* Hover */
    .app-table tbody tr:hover {
        background: #f5f3ff;
        transition: 0.2s ease;
    }

    /* Sl No small width */
    .app-table th:nth-child(1),
    .app-table td:nth-child(1) {
        width: 45px; /* Reduced */
        text-align: center;
    }

/* =====================================================
   COMMON BUTTON STYLE
===================================================== */

.app-btn {
    padding: 8px 14px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary-app {
    background: linear-gradient(135deg, #376dd6, #57a0ef);
    color: #fff;
}

.btn-success-app {
    background: linear-gradient(135deg, #28a745, #5dd39e);
    color: #fff;
}

.btn-danger-app {
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    color: #fff;
}

.app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* =====================================================
   COMMON STATUS BADGES
===================================================== */

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-approved {
    background: #e6f7ed;
    color: #28a745;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

/* =====================================================
   LOADING OVERLAY
===================================================== */

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {
    .page-wrapper {
        padding: 15px;
    }

    .page-title h2 {
        font-size: 18px;
    }

    .card-container {
        padding: 15px;
    }
}

/* =========================================
   COMMON FORM GRID (CLEAN ALIGNMENT)
========================================= */

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    align-items: start;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
        color: #555;
        font-weight: 500;
    }

    .form-group input,
    .form-group select {
        padding: 9px 10px;
        border-radius: 8px;
        border: 1px solid #ddd;
        font-size: 14px;
        transition: 0.3s ease;
    }

        .form-group input:focus,
        .form-group select:focus {
            border-color: #7f55cf;
            box-shadow: 0 0 5px rgba(127,85,207,0.4);
            outline: none;
        }


/* ===============================
   MOBILE TOGGLE BUTTON
================================ */

#side-menu-switch {
    display: none;
}

.menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    background: #4f94e9;
    color: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1100;
    margin-left: -10px;
}

/* Mobile View */
@media (max-width: 992px) {

    .menu-toggle {
        display: block;
    }

    .side-menu {
        transform: translateX(-100%);
        transition: 0.4s ease;
    }

    #side-menu-switch:checked ~ .side-menu {
        transform: translateX(0);
    }

    /* Optional overlay effect */
    #side-menu-switch:checked ~ .body-content {
        filter: brightness(0.7);
    }
}

/*=====================================
From: Rahul (MF-HO-LT-152847/10.215.0.58/user-<c03945f3606d3fc2>)
at Thu Mar 05 08:35:07 2026
-------------------------------------*/
/* ================== Purchase_Request_Refill_For_Department Screen =====================*/
/* ===============================
   MOBILE VIEW FOR BASI C DETAILS
================================ */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

SA
/* Make inputs responsive */
.form-group input,
.form-group select {
    width: 100%;
    box-sizing: border-box;
}

/* Mobile View */
@media (max-width: 768px) {

    .form-grid {
        grid-template-columns: 1fr; /* single column */
        gap: 15px;
    }

    .form-group {
        grid-column: span 1 !important; /* remove 2-column span */
    }
}

/* Mobile Fix */
@media (max-width:768px) {

    .side-menu .dropdown-content {
        position: relative;
        left: 0;
        min-width: 100%;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        display: none;
        box-shadow: none;
    }

    .side-menu .dropdown-content {
        display: none;
    }

    /* show when active */
    .side-menu .dropdown.active .dropdown-content {
        display: block;
    }
}