* {
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}

body {
    padding: 0;
    margin: 0;
    height: auto;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1140px;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

.wrapper {
    overflow-x: hidden;
}



/* preloader-css-start */

/* FULL SCREEN */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #013068, #0056b3, #00b4ff);
    background-size: 300% 300%;
    animation: gradientMove 6s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* GRADIENT ANIMATION */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* CENTER BOX */
.loader-container {
    text-align: center;
}

/* LOGO TEXT */
.logo-text {
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 25px;
    font-weight: 600;
    animation: fadeText 1.5s infinite ease-in-out;
}

/* BALL WRAPPER */
.balls {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* BALL STYLE */
.balls span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: block;
    animation: bounce 0.6s infinite alternate ease-in-out;
}

/* DIFFERENT COLORS */
.balls span:nth-child(1) {
    background: #ffffff;
    animation-delay: 0s;
}

.balls span:nth-child(2) {
    background: #00ffcc;
    animation-delay: 0.1s;
}

.balls span:nth-child(3) {
    background: #ffcc00;
    animation-delay: 0.2s;
}

.balls span:nth-child(4) {
    background: #ff4d6d;
    animation-delay: 0.3s;
}

.balls span:nth-child(5) {
    background: #a78bfa;
    animation-delay: 0.4s;
}

/* BOUNCE */
@keyframes bounce {
    0% {
        transform: translateY(0);
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    }

    100% {
        transform: translateY(-25px);
        box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
    }
}

/* TEXT FADE */
@keyframes fadeText {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* RESPONSIVE */
@media (max-width: 576px) {
    .logo-text {
        font-size: 18px;
    }

    .balls span {
        width: 10px;
        height: 10px;
    }
}

/* preloader-css-end */



/* login-css-start */

/* FULL WRAPPER */
.login-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* LEFT SIDE (CRM COLOR BOX) */
.login-left {
    flex: 1;
    background: linear-gradient(135deg, #013068, #0056b3, #00b4ff);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;

    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;

    /* smooth shadow */
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.2);
}

.login-left {
    position: relative;
    overflow: hidden;
}

/* LEFT CONTENT */
.left-content {
    max-width: 500px;
    width: 100%;
    border: 3px solid #fff;
    padding: 35px 40px;
}

.left-content {
    position: relative;
    z-index: 2;
}

.left-content img {
    width: 140px;
    margin-bottom: 20px;
}

.left-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.left-content p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 500;
}

.left-content ul {
    margin: 0;
    padding: 0;
}

.left-content li {
    list-style: none;
    margin-bottom: 8px;
    font-size: 14px;
    color: #fff;
}

/* RIGHT SIDE (WHITE AREA) */
.login-right {
    flex: 1;
    background: #f4f7fb;

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

/* FORM BOX */
.form-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 350px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* TITLE */
.form-box h3 {
    font-size: 28px;
    color: #013068;
    font-weight: 600;
    text-align: center;
}

.sub-text {
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
    color: #000;
}

/* INPUT */
.form-box input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* BUTTON */
.btn-custom {
    background: #013068;
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    border: none;
    margin-top: 10px;
    width: 100%;
}

.btn-custom:hover {
    background: #0056b3;
}

/* LINK */
.extra-link {
    text-align: center;
    margin-top: 10px;
}

.extra-link a {
    text-decoration: none;
    color: #013068;
    font-size: 13px;
}

/* ---------------- RESPONSIVE ---------------- */

/* TABLET */
@media (max-width: 992px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-left {
        border-radius: 0;
        padding: 30px;
    }

    .login-right {
        padding: 20px;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .form-box {
        padding: 20px;
    }
}



/* STAR BACKGROUND */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 0;
}

/* INDIVIDUAL STAR */
.stars span {
    position: absolute;
    display: block;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    animation: sparkle 3s linear infinite;
}

/* TWINKLE ANIMATION */
@keyframes sparkle {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}







/* login-css-end */


/* dashboard-area-css-start */


/* deshboard-left-start */


/* Sidebar */
.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: #013068;
    color: #fff;
    transition: 0.3s;
    overflow-y: auto;
    scrollbar-width: thin;
    display: flex;
    /* 🔥 IMPORTANT */
    flex-direction: column;
    z-index: 99;
}

.sidebar::-webkit-scrollbar {
    width: 2px;
    padding-left: 5px;
    background-color: #888;
    border-radius: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.dashboard-box {
    flex: 1;
    overflow-y: auto;
    padding-top: 5px;
    padding-bottom: 10px;
    /* 🔥 little extra for bottom */
    padding: 15px;
}

.logo-box {
    /* margin-bottom: 5px; */
    padding: 10px 15px;
}

.icon-box {
    background: #0d1b2a;
    border-radius-top: 10px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    display: flex;
    justify-content: space-around;
    padding: 8px 5px;
    position: sticky;
    bottom: 0;
}

.icon-box a {
    text-decoration: none;
    padding: 5px;
}

.icon-item {
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.icon-item span {
    font-size: 13px;
    color: #fff;
}

.icon-item i {
    display: block;
    font-size: 16px;
    margin-bottom: 0px;
}

.icon-item:hover {
    color: #00b4ff;
}

.active-text {
    color: #0d1b2a;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    background-color: #fff;
    display: block;
    border-radius: 6px;
    margin-top: 0px;
}

/* DROPDOWN BUTTON */
.dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 8px; */
    border-radius: 6px;
    background: transparent;
    margin-top: 10px;
    color: #fff;
}

/* TEXT LINK */
.menu-link {
    flex: 1;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

/* ICON AREA */
.toggle-icon {
    cursor: pointer;
    padding: 5px;
}

/* ROTATE ICON */
.dropdown-btn.active i {
    transform: rotate(180deg);
    transition: 0.3s;
}

.dropdown-btn:hover {
    background: #fff;
    color: #013068;
}

.dropdown-btn:hover .menu-link {
    color: #d71616 !important;
    padding-left: 8px !important;
}

/* ICON ROTATE */
.dropdown-btn i {
    transition: 0.3s;
}

/* ACTIVE STATE */
/* .dropdown-btn.active i {
    transform: rotate(180deg);
    color: #f00;
} */

/* DROPDOWN CONTENT */
.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    padding-left: 5px;
}

/* SHOW DROPDOWN */
.dropdown-content.show {
    max-height: 500px;
    background-color: #da0b0d2b;
    border-radius: 8px;
}

/* LINKS */
.dropdown-content a {
    display: block !important;
    padding: 5px !important;
    font-size: 13px !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
}

.dropdown-content a:hover {
    /* background: #fff; */
    color: #013068;
    padding-left: 8px;
}

.text-side a {
    display: block;
    color: #dbd8d8;
    text-decoration: none;
    padding: 2px;
    border-radius: 6px;
    margin-bottom: 1px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    margin-top: 20px;
}

.text-side a:hover {
    color: #f51b18 !important;
    background-color: #ffffff;
    padding-left: 10px 8px;
    transform: skewX(1deg);
    transition: 0.3s;
}

.header-text {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.5px;
    margin: 15px 0px 5px 0px;
    text-decoration: none;
}

.header-text a {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.5px;
    margin: 15px 0px 5px 0px;
    text-decoration: none;
}

/* ⭐ SIDEBAR BUTTON */
.star-chat-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    margin: 10px;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    color: #013068;
    font-weight: 600;
    transition: 0.3s;
}

.star-chat-trigger:hover {
    background: #00a86b;
    color: #fff;
    transition: 0.3s;
}

/* ⭐ POPUP BACKGROUND */
.chat-popup {
    position: fixed;
    top: 20%;
    left: 30%;
    display: none;
    z-index: 999;
    width: 40%;
    height: 60%;
}

/* CHAT BOX */
.chat-box {
    width: 100%;
    height: 100%;
    background: #0d1b2a;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* HEADER */
.chat-header {
    padding: 10px;
    background: linear-gradient(135deg, #00b4ff, #013068);
    /* gradient from light blue to dark blue */
    color: #fff;
    /* make text white for contrast */
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    transition: background 0.3s ease;
}

.close-chat {
    cursor: pointer;
}

/* BODY */
.chat-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    font-size: 13px;

    /* Smooth gradient background */
    background: linear-gradient(120deg, #ffffff, #e0f0ff, #ffffff);
    background-size: 400% 400%;
    /* for animation effect */
    animation: gradientBG 15s ease infinite;
}

/* Optional: subtle moving gradient */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* MESSAGE */
.chat-msg {
    margin-bottom: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    max-width: 80%;
}

.chat-msg.other {
    background: #1e2d3d;
    color: #fff;
}

.chat-msg.me {
    background: #00b4ff;
    color: #000;
    margin-left: auto;
}

/* INPUT */
.chat-input {
    display: flex;
    border-top: 1px solid #1e2d3d;
}

.chat-input input {
    flex: 1;
    padding: 8px;
    border: none;
    outline: none;
}

.chat-input button {
    background: linear-gradient(135deg, #00b4ff, #013068);
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}

/* MAIN SPLIT */
.chat-main {
    display: flex;
    height: 100%;
}

/* LEFT SIDE */
.chat-contacts {
    width: 35%;
    background: #01427d;
    overflow-y: auto;
    border-right: 1px solid #000;
}

.contact {
    padding: 10px;
    cursor: pointer;
    color: #fff;
    border-bottom: 1px solid #f2f9ff38;
}

.contact:hover {
    background: #00b4ff;
    color: #000;
}

.contact.active {
    background: #00b4ff;
    color: #000;
}

/* RIGHT SIDE */
.chat-area {
    width: 65%;
    display: flex;
    flex-direction: column;
}

/* BODY */
.chat-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}

/* MESSAGE */
.chat-msg {
    margin-bottom: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    max-width: 80%;
}

.chat-msg.other {
    background: #01427d;
    color: #fff;
}

.chat-msg.me {
    background: #00b4ff;
    color: #000;
    margin-left: auto;
}


@media(max-width: 768px) {

    .chat-popup {
        position: fixed;
        top: 20%;
        left: 16%;
        display: none;
        z-index: 999;
        width: 68%;
        height: 60%;
    }




}

/* deshboard-left-end */

/* deshboard-right-start */


/* Content */
.content {
    margin-left: 250px;
    padding: 20px;
    background: #eef3ff;
}

/* Mobile */
.menu-btn {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    background: #0d1b2a;
    color: #fff;
    border: none;
    padding: 8px 12px;
    z-index: 1000;
}

/* Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dashboard-header h4 {
    font-weight: 700;
    color: #000;
    font-size: 24px;
}

.dashboard-header h5 {
    color: #111;
    font-size: 18px;
    font-weight: 600;
}

/* Cards */
.dash-card {
    background: #013068;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    height: 100%;
}

.dash-card h6 {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
}

.dash-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.dash-card p {
    font-size: 12px;
    color: #fff !important;
    font-weight: 400;
}

.dash-card:hover {
    transform: translateY(-5px);
}

/* Mini Cards */
.mini-card {
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.mini-card:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

.mini-card p {
    font-size: 13px;
    margin: 0;
    color: #000;
    font-weight: 500;
}

.mini-card h4 {
    margin: 5px 0;
    font-weight: bold;
    color: #000;
}

.mini-card i {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 20px;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #013068;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Colors */
.mini-card.blue {
    border-left: 4px solid #013068;
    background: #fff;
}

.mini-card.green {
    border-left: 4px solid #4caf50;
    background: #fff;
}

.mini-card.red {
    border-left: 4px solid #f44336;
    background: #fff;
}

.mini-card.orange {
    border-left: 4px solid #ff9800;
    background: #fff;
}

/* Box */
.dash-box {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.dash-box h6 {
    font-size: 18px;
    color: #000;
    font-weight: 600;
}

.chart-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Y Axis */
.y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 200px;
    font-size: 12px;
    color: #777;
}

/* Chart Area */
.chart-area {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    width: 100%;
}

/* Month Block */
.month {
    text-align: center;
    flex: 1;
}

.month p {
    font-size: 11px;
    margin-top: 8px;
    color: #777;
}

/* Bar Group */
.bar-group {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    height: 200px;
}

/* Bars */
.bar {
    width: 14px;
    border-radius: 10px;
}

/* Colors */
.bar.orange {
    background: linear-gradient(to top, orange, gold);
}

.bar.blue {
    background: linear-gradient(to top, #2196f3, #64b5f6);
}

/* Legend */
.chart-legend {
    display: flex;
    gap: 15px;
    font-size: 13px;
    margin-top: 10px;
}

.chart-legend .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.dot.orange {
    background: orange;
}

.dot.blue {
    background: #2196f3;
}

/* Donut */
.donut {
    width: 150px;
    height: 150px;
    margin: 15px auto;
    border-radius: 50%;
    background: conic-gradient(orange 0% 60%,
            blue 60% 80%,
            red 80% 90%,
            green 90% 100%);
}

/* Trend List */
.trend-list div {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 14px;
    color: #000;
    font-weight: 500;
}

.trend-list span {
    background: #4caf50;
    color: #fff;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
}






/* Mobile Responsive */
@media(max-width: 768px) {

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .dashboard-header h4 {
        font-size: 18px;
    }

    .dashboard-header h5 {
        font-size: 14px;
    }

    .dash-card h3 {
        font-size: 18px;
    }

}


/* deshboard-right-end */



/* Responsive */
@media(max-width: 768px) {
    .sidebar {
        left: -250px;
    }

    .sidebar.active {
        left: 0;
    }

    .content {
        margin-left: 0;
    }

    .menu-btn {
        display: block;
    }

}


/* dashboard-area-css-end */

/* lead-management-css-start */


/* HEADER */
.crm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.crm-header h4 {
    font-weight: 500;
    font-size: 30px;
    color: #013068;
}

/* ACTIONS */
.crm-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.tab-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu .dropdown-item:hover {
    background: #00b4ff;
}

.tab {
    background: #013068;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
}

.tab:hover {
    background: #024a9c;
}

/* Dropdown styling */
.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

/* Dropdown hidden */
.tab-dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: #fff;
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
}

/* Show on hover */
.tab-dropdown:hover .tab-dropdown-menu {
    display: block;
}

.tab-dropdown-menu a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.tab-dropdown-menu a:hover {
    background: #f1f3f5;
}


/* ACTION WRAPPER */
/* .crm-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
} */

/* BUTTON COMMON */
.crm-actions button {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ICON STYLE */
.crm-actions i {
    font-size: 14px;
}

/* SEARCH BOX WITH ICON */
.search-box {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 4px 8px;
}

.search-box i {
    color: #777;
}

.search-box input {
    border: none;
    outline: none;
    font-size: 13px;
}

/* HOVER EFFECT (SMOOTH) */
.crm-actions button:hover {
    transform: translateY(-2px);
    transition: 0.3s;
}

/* BUTTONS */
.tab {
    background: #013068;
    border: none;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: #fff;
}

.tab.active {
    background: #013068;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.btn-add {
    background: #fd7e14;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
}

.btn-import {
    background: #198754;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
}

.btn-custom {
    background: #013068;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
}

/* ================= POPUP BACKDROP ================= */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

/* ================= POPUP BOX ================= */
.popup-box {
    background: #fff;
    width: 600px;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: popupFade 0.25s ease-in-out;
}

/* Large version */
.large-popup {
    width: 900px;
    max-width: 100%;
}

/* ================= HEADER ================= */
.popup-header {
    background: #dedede;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.popup-header h5 {
    margin: 0;
    font-size: 25px;
    font-weight: 500;
    color: #00085e;
}

/* CLOSE BUTTON */
.close-btn-two {
    font-size: 35px;
    cursor: pointer;
    color: #928e8e;
    transition: 0.2s;
}

.close-btn-two:hover {
    color: #f87171;
}

.form-label {
    font-size: 12px;
}

/* ================= BODY ================= */
.popup-body {
    padding: 18px;
    max-height: 70vh;
    overflow-y: auto;
}

/* INPUT FIELDS */
.popup-body .form-control {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    padding: 10px 12px;
    transition: 0.2s;
    box-shadow: none;
}

.popup-body .form-control:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* ROW spacing */
.popup-body .row {
    margin-bottom: 5px;
}

/* ================= FOOTER ================= */
.popup-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
}

/* BUTTONS */
.popup-footer .btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
}

.btn-secondary {
    background: #e5e7eb;
    color: #111827;
}

/*.btn-secondary:hover {*/
/*    background: #d1d5db;*/
/*}*/

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
}

/* ================= ANIMATION ================= */
@keyframes popupFade {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 768px) {
    .large-popup {
        width: 95%;
    }

    .popup-body {
        max-height: 65vh;
    }

    .popup-body .row {
        flex-direction: column;
    }

    .col-md-4,
    .col-md-6 {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .popup-box {
        width: 100%;
        border-radius: 10px;
    }

    .popup-header h5 {
        font-size: 15px;
    }

    .popup-footer {
        flex-direction: column;
    }

    .popup-footer .btn {
        width: 100%;
    }
}

/* SEARCH */

.crm-actions input {
    border-radius: 6px;
}

/* TABS */
.crm-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.chip {
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    background: #fff;
    transition: 0.3s;
    text-decoration: none;
    color: #000;
}

.chip.active {
    background: #013068;
    color: #fff;
    transition: 0.3s;
}

.chip:hover {

    background: #013068;
    color: #fff;
    transition: 0.3s;

}



/* TABLE */
.crm-table {
    overflow-x: auto;
    background: #fff;
    border-radius: 10px;
}

.crm-table table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #f4e9e9;
}

thead {
    background: #8bb9e7;
}

th,
td {
    padding: 10px;
    font-size: 13px;
    text-align: left;
}

/* ROW */
tbody tr {
    border-bottom: 1px solid #eee;
    transition: 0.3s;
    /* background-color: #fedec2; */
}

tbody tr:hover {
    background: #9bc8f5;
}

tbody .colour-tbody {
    border-bottom: 1px solid #eee;
    transition: 0.3s;
    background-color: #edf6ff;
}

tbody .colour-tbody:hover {
    border-bottom: 1px solid #eee;
    transition: 0.3s;
    background-color: #9bc8f5;
}

/* STAGE BADGE */
.stage {
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11px;
    color: #fff;
}

.stage.new {
    background: #0d6efd;
}

.stage.proposal {
    background: #fd7e14;
}

.stage.closed {
    background: #198754;
}

/* ACTION */
.action {
    display: flex;
    gap: 5px;
}

.action button {
    border: none;
    padding: 5px 7px;
    border-radius: 6px;
    cursor: pointer;
}

.edit {
    background: #fd7e14;
    color: #fff;
}


.quotes {
    background: #004fa9;
    color: #fff;
    border-radius: 8px;
    padding: 10px;
}

.view {
    background: #0d6b00;
    color: #fff;
    border-radius: 8px;
    padding: 10px;
}

/* OVERLAY */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

/* SHOW MODAL */
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* MODAL BOX */
.modal-box {
    background: #fff;
    width: 400px;
    max-width: 95%;
    border-radius: 12px;
    overflow: hidden;

    transform: translateY(-30px) scale(0.95);
    transition: 0.3s ease;
}

/* ANIMATION */
/* OVERLAY */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 75%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
    transform: scale(0.95);
    transition: 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* LARGE MODAL */
.modal-box.large {
    width: 900px;
    max-width: 95%;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.95);
    transition: 0.3s;
    padding: 30px;
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

/* HEADER */
.crm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* BUTTONS */
.btn-modify {
    background: orange;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
}

.btn-delete {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
}

.close-btn {
    cursor: pointer;
    font-size: 31px;
    position: absolute;
    top: -4px;
    right: 11px;
}

/* BODY LAYOUT */
.crm-body {
    display: flex;
    gap: 15px;
    padding: 15px;
}

/* LEFT RIGHT */
.crm-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.crm-right {
    width: 50%;
}

/* CARD */
.crm-card {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* CARD HEADER */
.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.card-header h6 {
    font-size: 14px;
    color: #000;
    font-weight: 600;
}

.card-header p {
    font-size: 13px;
    color: #000;
    font-weight: 500;
}

/* ACTION BUTTONS */
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.action-btn {
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

/* interactions */
.interection {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
}

.appoinment {
    border-radius: 6px;
    border: 1px solid #0000002b;
    margin-bottom: 6px;
}

.appoinment h6 {
    font-size: 11px;
    color: #111;
    margin: 5px;
}

.next-appoinment {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0d6efd24;
    padding: 6px !important;
}

.next-appoinment h6 {
    font-size: 14px;
    color: #000;
    font-weight: 500;
    margin-bottom: 0;
}

.appoiunment-bttn {
    display: flex;
    gap: 2px;
}

.mark-done {
    background-color: #155724;
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    border: 0;
    outline: 0;
    border-radius: 4px;
}

.Enter {
    background-color: #013068;
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    border: 0;
    outline: 0;
    border-radius: 4px;
}

/* COLORS */
.blue {
    background: #0d6efd;
}

.dark {
    background: #343a40;
}

.green {
    background: #198754;
    color: #fff !important;
}

/* HOVER */
.action-btn:hover,
.btn-modify:hover,
.btn-delete:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* RESPONSIVE */
@media(max-width:768px) {
    .crm-body {
        flex-direction: column;
    }

    .crm-left,
    .crm-right {
        width: 100%;
    }
}






/* DELETE BUTTON */
.delete {
    background: #f44336;
    border: none;
    color: #fff;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

/* ICON */
.delete i {
    font-size: 14px;
}

/* HOVER EFFECT */
.delete:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

@media (max-width: 768px) {

    .crm-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .crm-actions {
        width: 100%;
    }

    table {
        font-size: 11px;
    }

}




/* lead-management-css-end */

/* raw-lead-css-start */

.crm-tabs {
    display: flex;
    gap: 10px;
}

.chip {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    position: relative;
    font-size: 14px;
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 0;
    width: 160px;
    display: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

/* Items with checkbox */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-item input {
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

/* Open state */
.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
}

/* Blank box */
.tick-box {
    width: 16px;
    height: 16px;
    border: 2px solid #999;
    border-radius: 3px;
    display: inline-block;
    position: relative;
}

/* Tick state */
.tick-box.active {
    background: #0d6efd;
    border-color: #0d6efd;
}

.tick-box.active::after {
    content: "✔";
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: -2px;
    left: 2px;
}

/* raw-lead-css-end */



/* add-lead-css-start */

/* FORM BOX */
.lead-form-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    /* width: 550px; */
}

.lead-box-two {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lead-form-box h5 {
    margin-bottom: 10px;
    color: #013068;
    /* margin-bottom: 10px; */
    font-weight: 600;
    font-size: 24px;
}

/* GRID */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* FULL WIDTH */
.full-width {
    grid-column: span 2;
}

/* INPUT GROUP */
.form-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
    color: #000;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 13px;
    transition: 0.3s;
}

/* FOCUS EFFECT */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 5px rgba(13, 110, 253, 0.2);
}

/* TEXTAREA */
textarea {
    min-height: 80px;
    resize: none;
}

/* BUTTONS */
.form-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.save-btn {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.save-btn:hover {
    background: #0b5ed7;
    transition: 0.3s;
}

.cancel-btn {
    background: #dee2e6;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.cancel-btn:hover {
    background: #0d6efd;
    color: #fff;
    transition: 0.3s;
}

@media (max-width: 768px) {

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

    .full-width {
        grid-column: span 1;
    }

}

/* add-lead-css-end */

/* new-lead-css-start */

/* BOX */
.lead-box {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* HEADER */
.lead-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.lead-box-header h5 {
    font-weight: 600;
    color: #013068;
    font-size: 24px;
}

/* SEARCH */
.lead-search input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 12px;
}

/* LIST */
.lead-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ITEM */
.lead-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fbff;
    padding: 12px;
    border-radius: 10px;
    transition: 0.3s;
}

.lead-item:hover {
    background: #eef3ff;
    transform: translateX(4px);
}

/* INFO */
.lead-info h6 {
    margin: 0;
    font-size: 14px;
    color: #000;
}

.lead-info p {
    margin: 0;
    font-size: 12px;
    color: #777;
}

/* STATUS BADGE */
.lead-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    color: #fff;
}

/* COLORS */
.lead-status.new {
    background: #0d6efd;
}

.lead-status.contacted {
    background: #ff9800;
}

.lead-status.proposal {
    background: #6f42c1;
}

.lead-status.converted {
    background: #198754;
}

/* new-lead-css-end */

/* proposal-lead-css-start */

/* LIST */
.proposal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ITEM */
.proposal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fbff;
    padding: 14px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

/* 🔥 SMOOTH HOVER */
.proposal-item:hover {
    background: #eef3ff;
    transform: translateY(-4px) scale(1.01);
    border-left: 4px solid #0d6efd;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* LEFT */
.proposal-left h6 {
    margin: 0;
    font-size: 14px;
    color: #000;
}

.proposal-left p {
    margin: 2px 0;
    font-size: 14px;
    color: #111;
}

.proposal-left small {
    font-size: 11px;
    color: #111;
    font-weight: 400;
}

/* RIGHT */
.proposal-right {
    text-align: right;
}

.proposal-right h5 {
    margin: 0;
    font-size: 16px;
    color: #013068;
}

/* STATUS */
.status-two {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 10px;
    font-size: 11px;
    border-radius: 20px;
    color: #fff;
}

/* COLORS */
.status-two.pending {
    background: #ff9800;
}

.status-two.accepted {
    background: #198754;
}

.status-two.rejected {
    background: #f44336;
}

@media (max-width: 768px) {

    .proposal-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .proposal-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

}

/* proposal-lead-css-end */

/* negotiation-css-start */

/* HEADER */
.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.chart-header h5 {
    font-weight: 600;
    color: #013068;
    font-size: 24px;
}

/* FILTER */
.chart-filter button {
    border: none;
    background: #e9ecef;
    padding: 5px 10px;
    border-radius: 20px;
    margin-left: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.chart-filter button.active,
.chart-filter button:hover {
    background: #0d6efd;
    color: #fff;
}


/* MAIN CHART */
.new-design {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 220px;
    gap: 15px;
    padding: 10px 5px;
}

/* ITEM */
.chart-item {
    flex: 1;
    text-align: center;
}

/* LABEL */
.label {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    display: block;
    font-weight: 500;
}

/* BAR WRAP */
.bar-wrap {
    height: 170px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* BAR STYLE */
.bar {
    width: 22px;
    border-radius: 20px;
    position: relative;
    background: linear-gradient(180deg, #ffb067, #fd7e14);
    box-shadow: 0 4px 12px rgba(253, 126, 20, 0.3);
    transition: all 0.4s ease;
}

/* VALUE TEXT */
.value {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 600;
    color: #333;
}

/* 🔥 HOVER EFFECT */
.bar:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 10px 25px rgba(253, 126, 20, 0.5);
    filter: brightness(1.1);
}

/* LEGEND */
.new-legend {
    margin-top: 12px;
    font-size: 13px;
    color: #444;
}

/* DOT */
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.dot.negotiation {
    background: #fd7e14;
}

@media (max-width: 768px) {

    .new-design {
        height: 160px;
        gap: 10px;
    }

    .bar-wrap {
        height: 120px;
    }

    .bar {
        width: 16px;
    }

    .value {
        font-size: 10px;
    }

}


/* negotiation-css-end */

/* Lost-lead-css-start */


.lost-title {
    font-size: 24px;
    color: #013068;
    font-weight: 600;
}

.lost-title i {
    font-size: 16px;

}

/* SUMMARY */
.lost-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.lost-card {
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    color: #fff;
    padding: 15px;
    border-radius: 12px;
    transition: 0.3s;
}

.lost-card:hover {
    transform: translateY(-5px);
}

.lost-card h6 {
    font-size: 13px;
}

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

/* FILTER */
.lost-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.lost-filter select,
.lost-filter input {
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* LIST */
.lost-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ITEM */
.lost-item {
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.lost-item:hover {
    transform: translateY(-4px);
    background: #fff5f5;
}

/* INFO */
.lost-info h6 {
    margin: 0;
    font-size: 14px;
}

.lost-info p {
    margin: 2px 0;
    font-size: 12px;
    color: #666;
}

/* REASON */
.reason {
    font-size: 11px;
    background: #ffe3e3;
    color: #c92a2a;
    padding: 3px 8px;
    border-radius: 20px;
}

/* VALUE */
.lost-value {
    font-weight: bold;
    color: #dc3545;
}

/* ACTIONS */
.lost-actions {
    display: flex;
    gap: 6px;
}

/* BUTTONS */
.btn-reopen {
    background: #198754;
    color: #fff;
    border: none;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 12px;
}

.btn-view {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 12px;
}

.btn-delete {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 12px;
}

/* HOVER */
.btn-reopen:hover {
    background: #157347;
}

.btn-view:hover {
    background: #0b5ed7;
}

.btn-delete:hover {
    background: #bb2d3b;
}

@media (max-width: 768px) {

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

    .lost-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .lost-actions {
        width: 100%;
        justify-content: flex-end;
    }

}



/* Lost-lead-css-end */


/* follow-up-notification-css-start */

/* FOLLOW-UP LIST */
.followup-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

/* ITEM */
.followup-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fbff;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    cursor: pointer;
}

/* 🔥 HOVER EFFECT */
.followup-item:hover {
    background: #eef3ff;
    transform: translateY(-4px) scale(1.01);
    border-left: 4px solid #0d6efd;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* LEFT */
.followup-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.followup-left h6 {
    margin: 0;
    font-size: 14px;
    color: #000;
}

.followup-left p {
    margin: 0;
    font-size: 12px;
    color: #111;
}

/* ICON */
.followup-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: 0.3s;
}

/* COLORS */
.followup-icon.call {
    background: #e7f1ff;
    color: #0d6efd;
}

.followup-icon.mail {
    background: #fff3e6;
    color: #fd7e14;
}

.followup-icon.meet {
    background: #e6fff5;
    color: #20c997;
}

/* ICON HOVER */
.followup-item:hover .followup-icon {
    transform: scale(1.1) rotate(8deg);
}

/* RIGHT */
.followup-right {
    text-align: right;
}

.time {
    display: block;
    font-size: 12px;
    color: #111;
}

/* STATUS */
.status-three {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 4px;
    display: inline-block;
}

.status-three.pending {
    background: #fff3cd;
    color: #856404;
}

.status-three.done {
    background: #d4edda;
    color: #155724;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .followup-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .followup-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

}

/* follow-up-notification-css-end */

/* lead-source-tracking-css-start */

/* SOURCE LIST */
.source-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

/* ITEM */
.source-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fbff;
    padding: 12px;
    border-radius: 10px;
    transition: 0.3s;
    border-left: 4px solid transparent;
}

/* HOVER */
.source-item:hover {
    background: #eef3ff;
    transform: translateY(-4px);
    border-left: 4px solid #0d6efd;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* LEFT */
.source-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.source-left h6 {
    margin: 0;
    font-size: 14px;
    color: #000;
}

.source-left p {
    margin: 0;
    font-size: 12px;
    color: #777;
}

/* ICON */
.source-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: 0.3s;
}

/* COLORS */
.source-icon.web {
    background: #e7f1ff;
    color: #0d6efd;
}

.source-icon.social {
    background: #e9f7ef;
    color: #198754;
}

.source-icon.refer {
    background: #fff3e6;
    color: #fd7e14;
}

.source-icon.ads {
    background: #fdecea;
    color: #dc3545;
}

/* ICON HOVER */
.source-item:hover .source-icon {
    transform: scale(1.1) rotate(8deg);
}

/* RIGHT */
.source-right {
    width: 40%;
    text-align: right;
}

.count {
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

/* PROGRESS */
.progress {
    height: 6px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* BAR COLORS */
.web-bar {
    background: #0d6efd;
}

.social-bar {
    background: #198754;
}

.refer-bar {
    background: #fd7e14;
}

.ads-bar {
    background: #dc3545;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .source-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .source-right {
        width: 100%;
        text-align: left;
    }

}

/* lead-source-tracking-css-end */


/* reminders-css-start */

/* REMINDER LIST */
.reminder-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

/* CARD */
.reminder-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fbff;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    cursor: pointer;
}

/* 🔥 HOVER */
.reminder-card:hover {
    background: #eef3ff;
    transform: translateY(-4px) scale(1.01);
    border-left: 4px solid #0d6efd;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* URGENT STYLE */
.reminder-card.urgent {
    border-left: 4px solid #dc3545;
    background: #fff5f5;
}

/* LEFT */
.reminder-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reminder-left h6 {
    margin: 0;
    font-size: 14px;
    color: #000;
    font-weight: 500;
}

.reminder-left p {
    margin: 0;
    font-size: 12px;
    color: #111;
    font-weight: 500;
}

/* ICON */
.reminder-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: 0.3s;
}

/* COLORS */
.reminder-icon.call {
    background: #e7f1ff;
    color: #0d6efd;
}

.reminder-icon.mail {
    background: #fff3e6;
    color: #fd7e14;
}

.reminder-icon.meet {
    background: #e6fff5;
    color: #20c997;
}

/* ICON HOVER */
.reminder-card:hover .reminder-icon {
    transform: scale(1.1) rotate(8deg);
}

/* RIGHT */
.reminder-right {
    text-align: right;
}

.time {
    display: block;
    font-size: 13px;
    color: #111;
}

/* BADGE */
.badge {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 20px;
    margin-top: 4px;
    display: inline-block;
}

/* URGENT BADGE */
.urgent-badge {
    background: #dc3545;
    color: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .reminder-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .reminder-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

}


/* reminders-css-end */


/* lead-brunch-css-start */

.right-side {
    margin-left: 250px;
    padding: 20px;
    /* height: 100vh; */
    background: #eef3ff;
}

/* CARD STYLE */
.modern-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}

.modern-card:hover {
    transform: translateY(-4px);
}

/* HEADER */
.modern-card h6 {
    font-size: 16px;
    font-weight: 600;
    color: #013068;
    margin-bottom: 12px;
}

/* BRANCH */
.branch-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #f9fbff;
    transition: 0.3s;
}

.branch-item:hover {
    background: #eef3ff;
    transform: translateX(4px);
}

.branch-item h5 {
    margin: 0;
    font-size: 14px;
    color: #000;
}

.branch-item p {
    margin: 0;
    font-size: 12px;
    color: #777;
}

/* STATUS DOT */
.status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status.active {
    background: #4caf50;
}

.status.warning {
    background: #ff9800;
}

.status.danger {
    background: #f44336;
}

/* REMINDER */
.reminder-item {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #f9f9f9;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reminder-item:hover {
    background: #eef3ff;
    transform: translateX(4px);
}

.reminder-item span {
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

.reminder-item small {
    font-size: 12px;
    color: #777;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .right-side {
        margin-left: 0;
        padding: 15px;
    }
}

/* TASK BOX */
.lead-box {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: 10px;
}

/* HEADER */
.lead-box h6 {
    font-size: 16px;
    color: #013068;
    font-weight: 600;
    margin-bottom: 10px;
}

/* TASK LIST */
.task-list {
    margin-top: 10px;
}

/* TASK ITEM */
.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #f9fbff;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

/* HOVER EFFECT */
.task-item:hover {
    background: #eef3ff;
    transform: translateY(-3px);
    border-left: 4px solid #013068;
}

/* TASK INFO */
.task-info span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.task-info small {
    font-size: 12px;
    color: #777;
}

/* ACTION BUTTONS */
.task-actions {
    display: flex;
    gap: 6px;
}

/* BUTTONS */
.btn-edit,
.btn-delete {
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
}

/* EDIT */
.btn-edit {
    background: #045412;
    color: #fff;
}

.btn-edit:hover {
    background: #3d9442;
}

/* DELETE */
.btn-delete {
    background: #f44336;
    color: #fff;
}

.btn-delete:hover {
    background: #d32f2f;
}

.urgent {
    color: #fff;
    background: #f44336;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 5px;
    margin-left: 5px;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .task-item {
        /* flex-direction: column;
        align-items: flex-start; */
        gap: 8px;
    }

    .task-actions {
        /* width: 100%;
        justify-content: flex-end; */
    }
}


@media(max-width: 768px) {

    .right-side {
        margin-left: 0px;
        padding: 20px;
    }


}



/* lead-brunch-css-end */



/* billing-invoice-css-start */

/* WRAPPER */
.invoice-wrapper {
    background: #f5f6f8;
    padding: 15px;
}

/* TOP BAR */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.top-bar h3 {
    font-size: 24px;
    font-weight: 600;
    color: #013068;
}

.top-actions {
    display: flex;
    gap: 8px;
}

/* BOX */
.box {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}

.box-two {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}

.box h6 {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.box-one {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.box textarea {
    min-height: 20px;
    resize: none;
    width: 100%;
}

/* ROW */
.row-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.form-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.form-row label {
    width: 140px;
    font-size: 13px;
    color: #000;
}

.radio-inline {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    cursor: pointer;
}

input,
select,
textarea {
    flex: 1;
    padding: 3px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
}

/* GRID */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* TABLE */
.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.invoice-table th {
    /* background: #f0f0f0; */
    font-size: 12px;
    padding: 6px;
}

.invoice-table td {
    padding: 6px;
    background: #00b4ff24;
}

.invoice-table input {
    width: 100%;
    border: none;
    outline: none;
}

/* BUTTONS */
.mini-btn {
    padding: 4px 8px;
    border: none;
    background: #ddd;
    border-radius: 4px;
    font-size: 12px;
}

.mini-btn.green {
    background: #4caf50;
    color: #fff;
}

/* TOTAL */
.total-box-two {
    background: #dbf4ff;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 600;
    color: #ff5722;
}

.total-box-two p {
    margin: 3px 0;
    font-size: 14px;
    color: #fe2627;
}

/* RESPONSIVE */
@media (max-width: 768px) {

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

    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-row label {
        width: 100%;
    }

    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .top-actions {
        flex-wrap: wrap;
    }
}

.bill-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 17%);
    height: 100%;
}

.card-header-custom {
    border-bottom: 1px solid #bab5b569;
    margin-bottom: 10px;
}

.card-header-custom h5 {
    font-size: 16px;
    font-weight: 600;
}

/* List */
.bill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bill-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #bab5b5;
}

.bill-list li:last-child {
    border-bottom: none;
}

.bill-list strong {
    font-size: 14px;
}

.bill-list p {
    margin: 0;
    font-size: 12px;
    color: #777;
}

/* Amount */
.amount {
    font-weight: 600;
    color: #28a745;
}

.amount.due {
    color: #dc3545;
}



/* billing-invoice-css-end */

/* gst-invoice-css-start */


/* INVOICE BOX */
.invoice-box {
    background: #eef3ff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.invoice-box:hover {
    transform: translateY(-4px);
}

/* HEADER */
.invoice-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.invoice-header h4 {
    color: #013068;
    font-weight: 700;
    font-size: 24px;
}

.invoice-header p {
    color: #000;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 5px;
}

.invoice-header h5 {
    color: #ff9800;
    font-weight: 700;
    font-size: 24px;
}

/* CUSTOMER */
.invoice-customer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.bill-to p,
.ship-to p {
    margin: 2px 0;
    font-size: 14px;
    color: #000;
}

.bill-to strong,
.ship-to strong {
    color: #013068;
}

.total-box p {
    margin: 3px 0;
    font-size: 14px;
}

.total-box strong {
    color: #ff9800;
}

.total-box h5 {
    color: #013068;
    font-weight: 700;
}


/* Mobile Responsive */
@media(max-width: 768px) {
    .invoice-customer {
        flex-direction: column;
        gap: 8px;
    }

    .ship-to {
        text-align: left !important;
    }

    .invoice-header-right {
        text-align: left;
    }
}


/* TABLE */
.invoice-table thead {
    background: linear-gradient(45deg, #013068, #2196f3);
    color: #fff;
}

.invoice-table th,
.invoice-table td {
    text-align: center;
    vertical-align: middle;
}

/* ROW HOVER */
.invoice-table tbody tr {
    transition: 0.3s;
}

.invoice-table tbody tr:hover {
    background: #f1f7ff;
}

/* TOTAL */
.invoice-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.invoice-total h5 {
    color: #013068;
    font-weight: 700;
}

/* FOOTER */
.invoice-footer {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 10px;
    font-size: 13px;
    color: #777;
}

/* RESPONSIVE */
@media(max-width: 768px) {

    .invoice-header,
    .invoice-customer {
        flex-direction: column;
        gap: 10px;
    }

    .invoice-total {
        flex-direction: column;
        text-align: right;
    }
}


/* gst-invoice-css-end */

/* view-gst-invoice-css-start */

.invoice-view-wrapper {
    padding: 20px;
    animation: fadeIn 0.5s ease;
    box-shadow: 0px 0px 15px #00000029;
    border-radius: 8px;
}

/* TOP BAR */
.invoice-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.invoice-topbar h3 {
    font-size: 24px;
    color: #013068;
    font-weight: 600;
}

.invoice-topbar p {
    font-size: 16px;
    color: #000;
    font-weight: 600;
}

.top-actions button {
    margin-left: 8px;
}

.top-actions .light {
    background-color: #f00;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.top-actions .dark {
    background-color: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.top-actions .green {
    background-color: #0f5132;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.top-actions .light:hover {
    background-color: #013068;
    color: #fff;
    transition: 0.3s;
}

.top-actions .dark:hover {
    background-color: #013068;
    color: #fff;
    transition: 0.3s;
}

.top-actions .green:hover {
    background-color: #013068;
    color: #fff;
    transition: 0.3s;
}

/* GRID */
.invoice-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* CARDS */
.info-card,
.table-card,
.summary-card,
.status-card,
.note-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* INFO */
.info-row {
    display: flex;
    justify-content: space-between;
}

/* TABLE */
.custom-table thead {
    background: #013068;
    color: #fff;
}

.custom-table th,
.custom-table td {
    text-align: center;
}

/* SUMMARY */
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-row.total {
    font-weight: bold;
    font-size: 18px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

/* STATUS */
.badge.paid {
    background: #28a745;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
}

/* NOTE */
.note-card p {
    font-size: 14px;
    color: #555;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .invoice-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .invoice-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .info-row {
        flex-direction: column;
        gap: 10px;
    }

    .custom-table th,
    .custom-table td {
        font-size: 12px;
    }
}

/* view-gst-invoice-css-end */


/* view-non-gst-invoice-css-start */

.badge.unpaid {
    background: #dc3545;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
}


/* view-non-gst-invoice-css-end */

/* Paid-css-start */

/* 🎉 PAID CARD */
.paid-card {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    animation: popIn 0.5s ease;
}

.paid-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

/* 💰 SUMMARY */
.summary-card.colorful {
    background: linear-gradient(135deg, #013068, #0056b3);
    color: #fff;
    border-radius: 12px;
}

.summary-card.colorful .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-card.colorful .highlight {
    font-size: 18px;
    font-weight: bold;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 10px;
}

/* 📅 PAYMENT INFO */
.payment-info {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.payment-info h6 {
    margin-bottom: 10px;
}

/* ✨ ANIMATION */
@keyframes popIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
    .paid-card h4 {
        font-size: 18px;
    }

    .summary-card.colorful {
        font-size: 14px;
    }
}

/* Paid-css-end */

/* unpaid-css-start */

.unpaid-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* HEADER */
.unpaid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.unpaid-header h3 {
    margin: 0;
}

.unpaid-status {
    background: #ffe5e5;
    color: #d90429;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
}

/* GRID */
.unpaid-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* LEFT */
.unpaid-details {
    display: grid;
    gap: 15px;
}

.unpaid-card {
    background: #fff5f5;
    padding: 15px;
    border-radius: 12px;
    border-left: 5px solid #ff4d4d;
}

.unpaid-card h5 {
    margin-bottom: 10px;
}

/* RIGHT */
.unpaid-summary {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-box {
    background: linear-gradient(135deg, #ff4d4d, #ff6b6b);
    color: #fff;
    padding: 15px;
    border-radius: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin: 6px 0;
}

.summary-row.total {
    font-size: 18px;
    font-weight: bold;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    padding-top: 8px;
}

/* BUTTONS */
.unpaid-actions {
    display: flex;
    gap: 10px;
}

.btn-remind {
    flex: 1;
    border: none;
    background: #ffc107;
    color: #000;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-pay {
    flex: 1;
    border: none;
    background: #28a745;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-remind:hover {
    background: #e0a800;
}

.btn-pay:hover {
    background: #218838;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .unpaid-grid {
        grid-template-columns: 1fr;
    }

    .unpaid-actions {
        flex-direction: column;
    }
}

/* unpaid-css-end */

/* payment-history-css-start */

.payment-history-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* HEADER */
.history-header {
    margin-bottom: 15px;
}

.history-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #013068;
}

.history-header p {
    color: #111;
    font-size: 14px;
    font-weight: 500;
}

/* TABLE */
.payment-table {
    width: 100%;
    border-collapse: collapse;
}

.payment-table thead {
    background: #013068;
    color: #fff;
}

.payment-table th,
.payment-table td {
    padding: 12px;
    text-align: left;
    font-size: 14px;
}

/* ROW STYLE */
.payment-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: 0.3s;
}

.payment-table tbody tr:hover {
    background: #f8f9ff;
}

/* STATUS BADGES */
.status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* PAID */
.status.paid {
    background: #d4edda;
    color: #155724;
}

/* UNPAID */
.status.unpaid {
    background: #ffe5e5;
    color: #d90429;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .payment-table thead {
        display: none;
    }

    .payment-table,
    .payment-table tbody,
    .payment-table tr,
    .payment-table td {
        display: block;
        width: 100%;
    }

    .payment-table tr {
        margin-bottom: 15px;
        background: #fff;
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .payment-table td {
        text-align: left;
        padding-left: 50%;
        position: relative;
    }

    .payment-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        text-align: left;
        font-weight: bold;
        color: #333;
    }
}

/* payment-history-css-end */

/* help-css-start */

.help-section {
    padding: 30px 15px;
}

/* MAIN GRID */
.help-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

/* LEFT INFO */
.help-info {
    background: linear-gradient(135deg, #013068, #0056b3);
    color: #fff;
    padding: 25px;
    border-radius: 16px;
}

.help-info h3 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #fff;
    font-weight: 600;
}

.help-info p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 500;
}

.help-info ul {
    padding: 0;
}

.help-info li {
    list-style: none;
    margin-bottom: 8px;
    font-size: 14px;
    color: #fff;
}

.help-info i {
    margin-right: 6px;
}

/* FORM CARD */
.help-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.help-card h4 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #013068;
    font-weight: 600;
}

/* FORM */
.help-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    transition: 0.3s;
}

/* FOCUS */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #013068;
    box-shadow: 0 0 5px rgba(1, 48, 104, 0.2);
}

/* FULL WIDTH FIELD */
.full {
    grid-column: span 2;
}

/* BUTTON */
.btn-submit {
    grid-column: span 2;
    background: linear-gradient(135deg, #013068, #0056b3);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #0056b3, #013068);
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 992px) {
    .help-container {
        grid-template-columns: 1fr;
    }

    .help-info {
        text-align: center;
    }
}

/* MOBILE */
@media (max-width: 576px) {

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

    .full {
        grid-column: span 1;
    }

    .btn-submit {
        grid-column: span 1;
    }

    .help-card {
        padding: 18px;
    }
}

/* help-css-end */

/* settings-css-start */


.profile-title-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-title-box .icon-box {
    background: linear-gradient(135deg, #013068, #00b4ff);
    color: #fff;
    padding: 8px;
    border-radius: 8px;
    display: flex;
}

.profile-title-box h3 {
    margin: 0;
    font-weight: 600;
}

/* ROW LAYOUT */
.profile-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

/* RIGHT STACK */
.right-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-card {
    margin-top: 20px;
}

.form-card h5 {
    font-size: 18px;
    font-weight: 600;
    color: #013068;

}


/* LOGO ROW */
.logo-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.logo-row input {
    flex: 1;
}

/* UPLOAD BUTTON */
.upload-btn {
    background: linear-gradient(135deg, #013068, #00b4ff);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 180, 255, 0.4);
}

/* CENTER SAVE BUTTON */
.profile-container .form-actions.center {
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* SAVE BUTTON EFFECT */
.save-btn {
    background: linear-gradient(135deg, #198754, #00c896);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.save-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 200, 150, 0.4);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .profile-row {
        grid-template-columns: 1fr;
    }

    .logo-row {
        flex-direction: column;
        align-items: stretch;
    }
}

/* PAYMENT GRID */
.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* QR UPLOAD */
.qr-upload {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* QR IMAGE */
.qr-upload img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #ddd;
}

/* ACTIONS */
.qr-actions input {
    display: none;
}

.qr-actions button {
    background: linear-gradient(135deg, #013068, #00b4ff);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.qr-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 180, 255, 0.4);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }

    .qr-upload {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* LAYOUT */
.settings-container {
    gap: 20px;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
    margin-bottom: 15px;
}

/* CARD */
.card {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card.small {
    padding: 12px;
}

.card.small h5 {
    font-size: 24px;
    font-weight: 600;
    color: #013068;
}

/* HEADER */
.left-panel .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px;
}

.left-panel .card-header h5 {
    font-size: 24px;
    font-weight: 600;
    color: #013068;
}

/* ADD BUTTON */
.add-btn {
    background: #013068;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

/* USER ROW */
.user-row {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr auto;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.user-row .name {
    color: #013068;
    font-weight: 500;
}

.user-row .edit {
    cursor: pointer;
    background-color: #fff;
}

/* BUTTON GROUP */
.btn-group {
    margin-top: 10px;
    display: flex;
    gap: 8px;
}

.orange {
    background: #013068;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
}

/* BOTTOM BUTTONS */
.bottom-btns {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.light {
    background: #e9ecef;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
}

/* RIGHT PANEL TEXT */
.right-panel p {
    margin: 6px 0;
    font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .settings-container {
        grid-template-columns: 1fr;
    }

    .user-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .user-row span {
        display: block;
    }

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

    .btn-group,
    .bottom-btns {
        flex-direction: column;
    }
}

/* CARD */
.policy-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.policy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* HEADER */
.policy-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.policy-header .icon-box {
    background: linear-gradient(135deg, #013068, #00b4ff);
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    font-size: 18px;
}

.policy-header h5 {
    margin: 0;
    font-size: 18px;
    color: #013068;
    font-weight: 600;
}

.policy-header p {
    margin: 0;
    font-size: 13px;
    color: #777;
}

/* LIST */
.policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-list li {
    background: #f8fbff;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: 0.3s;
    cursor: pointer;
    border: 1px solid #eef3f8;
}

.policy-list li:hover {
    background: #eaf6ff;
    transform: translateX(5px);
}

/* TITLE */
.policy-list li span {
    display: block;
    font-weight: 600;
    color: #013068;
}

/* SMALL TEXT */
.policy-list li small {
    font-size: 12px;
    color: #666;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .policy-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* FLEX ITEM */
.policy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

/* EDIT BUTTON */
.edit-btn {
    background: #fff;
    border: 1px solid #dbeafe;
    color: #013068;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}

/* HOVER EFFECT */
.edit-btn:hover {
    background: linear-gradient(135deg, #013068, #00b4ff);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 180, 255, 0.3);
}

/* OPTIONAL: ALIGN TEXT BLOCK */
.policy-item span {
    display: block;
    font-weight: 600;
    color: #013068;
}

.modal-content {
    border-radius: 12px;
}

.modal-header {
    /* background: linear-gradient(135deg, #013068, #00b4ff); */

}

.modal-title {
    font-weight: 600;
    color: #013068 !important;
}

.btn-primary {
    background: linear-gradient(135deg, #013068, #00b4ff);
    border: none;
}

.btn-primary:hover {
    opacity: 0.9;
}

.modal-content .modal-header h5 {
    font-size: 24px;
    font-weight: 600;
    color: #fff !important;
}

/* .modal-content .btn-close {
    color: #fff !important;
} */

/* settings-css-end */




/* creadit-and-debit-note-css-start */

/* BOX */
.credit-box {
    background: #eef3ff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.credit-box:hover {
    transform: translateY(-3px);
}

/* HEADER */
.credit-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px dashed #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.credit-header h4 {
    font-size: 24px;
    color: #013068;
    font-weight: 600;
}

.credit-header h5 {
    color: #ff5722;
    font-weight: 700;
}

/* CUSTOMER */
.credit-customer {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

/* TABLE */
.credit-table th {
    background: #013068;
    color: #fff;
    font-size: 14px;
}

.credit-table td {
    font-size: 14px;
}

/* HOVER EFFECT */
.credit-table tbody tr {
    transition: 0.3s;
}

.credit-table tbody tr:hover {
    background: #f1f6ff;
}

/* TOTAL */
.credit-total {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.total-box {
    background: #fff3e0;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 600;
    color: #ff5722;
}

/* FOOTER */
.credit-footer {
    margin-top: 15px;
    font-size: 13px;
    color: #777;
}

/* RESPONSIVE */
@media(max-width:768px) {

    .credit-header,
    .credit-customer {
        flex-direction: column;
        gap: 8px;
    }

    .text-end {
        text-align: left !important;
    }
}

/* Debit Title Color */
.debit-title {
    color: #e53935;
    /* red tone */
}

/* Debit Total Box */
.debit-total {
    background: #fdecea;
    color: #e53935;
}

/* creadit-and debit-note-css-end */

/* gst-calculation-css-start */

.gst-calc-box {
    background: #eef3ff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-top: 15px;
    transition: 0.3s;
}

.gst-calc-box:hover {
    transform: translateY(-3px);
}

.gst-calc-box h6 {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 18px;
    color: #013068;
}

.calculation-text label {
    font-size: 14px;
    color: #000;
    font-weight: 500;
    margin-bottom: 8px;
}


/* Result */
.gst-result p {
    margin: 4px 0;
    font-size: 14px;
    color: #000;
}

.gst-result h5 {
    margin-top: 8px;
    color: #013068;
    font-weight: bold;
    font-size: 20px;
}

/* Highlight */
#totalgst {
    color: #ff9800;
}

#grandtotal {
    color: #4caf50;
}

/* Mobile */
@media(max-width:768px) {
    .gst-calc-box {
        padding: 12px;
    }
}

/* gst-calculation-css-end */

/* discount-box-css-start */

.discount-box {
    background: #eef3ff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-top: 15px;
    transition: 0.3s;
}

.discount-box:hover {
    transform: translateY(-3px);
}

.discount-box h6 {
    font-weight: 600;
    margin-bottom: 10px;
}

.discount-result p {
    margin: 4px 0;
    font-size: 14px;
}

#discountAmount {
    color: #f44336;
}

#afterDiscount {
    color: #4caf50;
    font-weight: bold;
}

/* discount-box-css-end */


/* payment-status-css-start */

.payment-box {
    background: #eef3ff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-top: 15px;
    transition: 0.3s;
}

.payment-box:hover {
    transform: translateY(-3px);
}

.payment-box h6 {
    font-weight: 600;
    margin-bottom: 10px;
}

/* Status */
.payment-result p {
    font-size: 14px;
    margin: 5px 0;
}

/* Progress */
.progress {
    height: 10px;
    border-radius: 10px;
    background: #eee;
}

.progress-bar {
    transition: 0.4s ease;
    border-radius: 10px;
}


/* payment-status-css-end */


/* product-stock-css-start */

.inventory-header {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.inventory-header h4 {
    font-size: 24px;
    color: #013068;
    font-weight: 600;
}

/* Search */
.search-box {
    width: 200px;
}

/* Valuation Badge */
.valuation-box {
    font-size: 13px;
    background: #fff3e6;
    color: #ff7a00;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ffd1a6;
}

/* Buttons spacing fix */
.inventory-header .btn {
    white-space: nowrap;
}

.form-font-box {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #000 !important;
}

.inventory-table {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Header Style */
.custom-table thead {
    background: #f5f6f8;
}

.custom-table th {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

/* Body */
.custom-table td {
    font-size: 13px;
    color: #333;
}

/* Empty state */
.no-data {
    background: #f1f3f5;
    padding: 12px;
    border-radius: 6px;
    text-align: left;
    font-size: 13px;
    color: #777;
    width: fit-content;
}

/* Responsive tweak */
@media (max-width: 768px) {

    .custom-table th,
    .custom-table td {
        font-size: 12px;
    }
}

/* OVERLAY */
/* .popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    padding: 10px;
} */

/* POPUP BOX */
.item-popup-box {
    width: 100%;
    max-width: 1100px;
    height: 90vh;
    background: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* HEADER */
.popup-header {
    background: #f3f3f3;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

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

.icon-btn {
    background: #2c3e50;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
}

.save-btn {
    background: #198754;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
}

.item-popup-box .close-btn {
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

/* BODY SCROLL */
.popup-body {
    padding: 15px;
    overflow-y: auto;
    flex: 1;
}

/* GRID SYSTEM */
.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.form-group.full {
    grid-column: span 3;
}

/* INPUTS */
input,
select,
textarea {
    padding: 7px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 13px;
}

textarea {
    min-height: 70px;
}

/* INPUT + BUTTON */
.input-add {
    display: flex;
}

.input-add input {
    flex: 1;
}

.input-add button {
    background: orange;
    border: none;
    padding: 0 10px;
    border-radius: 0 5px 5px 0;
}

/* TYPE BUTTONS */
.type-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.type-buttons button {
    padding: 6px 12px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    border-radius: 5px;
    font-size: 13px;
}

.type-buttons .active {
    background: #2c3e50;
    color: #fff;
}

/* CHECKBOX */
.checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
}

/* ---------------- RESPONSIVE ---------------- */

/* TABLET */
@media (max-width: 992px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-group.full {
        grid-column: span 2;
    }
}

/* MOBILE */
@media (max-width: 576px) {
    .item-popup-box {
        height: 95vh;
        border-radius: 8px;
    }

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

    .form-group.full {
        grid-column: span 1;
    }

    .popup-header h5 {
        font-size: 14px;
    }

    .save-btn {
        padding: 5px 8px;
        font-size: 12px;
    }
}

/* OVERLAY */
.custom-modal {
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 75%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    padding: 10px;
}

/* BOX */
.custom-modal-box {
    background: #fff;
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

/* HEADER */
.custom-modal .modal-header {
    /* background: #013068; */
    color: #fff;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #00000030;
}

.custom-modal .modal-header span {
    cursor: pointer;
    font-size: 20px;
}

/* BODY */
.custom-modal .modal-body {
    padding: 15px;
}

/* FOOTER */
.modal-footer {
    margin-top: 10px;
    text-align: right;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* RESPONSIVE */
@media (max-width: 576px) {
    .custom-modal-box {
        max-width: 100%;
    }
}


/* COMMON CARD */
.stock-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* TITLE */
.stock-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #013068;
    margin-bottom: 15px;
}

/* PROGRESS ITEM */
.progress-item {
    margin-bottom: 15px;
}

.progress-item .progress {
    height: 100% !important;
    border-radius: 10px;
    overflow: hidden;
}

/* RECENT LIST */
.recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fbff;
    border: 1px solid #eef3f8;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    transition: 0.3s;
}

.recent-list li:hover {
    background: #eaf6ff;
    transform: translateX(5px);
}

.recent-list strong {
    font-size: 14px;
    color: #013068;
}

.recent-list small {
    display: block;
    font-size: 12px;
    color: #777;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .card-title {
        font-size: 16px;
    }
}





/* product-stock-css-end */

/* add-product-css-start */

.product-section {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

/* HEADER */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.section-header h4 {
    font-size: 16px;
    font-weight: 600;
}

/* ADD BUTTON */
.btn-add-product {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
}

/* TABLE */
.product-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.product-table th {
    background: #f1f1f1;
    padding: 8px;
    text-align: left;
}

.product-table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

/* STATUS */
.status {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 12px;
}

.status.active {
    background: #d1e7dd;
    color: #0f5132;
}

.status.low {
    background: #fff3cd;
    color: #856404;
}

/* BUTTONS */
.edit-btn {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
}

.delete-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .product-table {
        font-size: 12px;
    }

    .product-table th,
    .product-table td {
        padding: 6px;
    }
}

/* OVERLAY */
.product-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 75%);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* BOX */
.product-modal-box {
    background: #fff;
    width: 600px;
    height: auto;
    max-width: 95%;
    border-radius: 10px;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

/* HEADER */
.product-modal-box .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.product-modal-box .modal-header h5 {
    font-size: 24px;
    color: #013068;
    font-weight: 600;
}

.close-btn {
    cursor: pointer;
    font-size: 20px;
}

/* BODY */
.modal-body {
    padding: 15px;
}

/* GRID */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-size: 13px;
    margin-bottom: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 6px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* ACTION BUTTONS */
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

.save-btn {
    background: #198754;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
}

.cancel-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .modal-body .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* .modal-body .cencel-btn{
        width: 100%;
    } */
}



/* add-product-css-start */

/* product-catagory-css-start */
.category-section{
    background:#fff;
    border-radius:16px;
    padding:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

/* HEADER */
.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.section-header h4{
    margin:0;
    font-size:20px;
    font-weight:700;
    color:#111827;
}

.btn-add-category{
    background:linear-gradient(135deg,#4F46E5,#6366F1);
    color:#fff;
    border:none;
    padding:10px 18px;
    border-radius:10px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

.btn-add-category:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(79,70,229,0.3);
}

/* TABLE */
.category-table{
    width:100%;
    border-collapse:collapse;
    overflow:hidden;
}

.category-table thead{
    background:#F3F4F6;
}

.category-table th{
    text-align:left;
    padding:14px;
    font-size:14px;
    color:#374151;
    font-weight:600;
}

.category-table td {
    padding: 9px !important;
    border-bottom: 1px solid #F1F1F1;
    vertical-align: middle;
}

/* ROW HOVER */
.category-table tbody tr:hover{
    background:#F9FAFB;
}

/* INDEX BADGE */
.badge-index{
    background:#EEF2FF;
    color:#4F46E5;
    padding:6px 10px;
    border-radius:8px;
    font-weight:600;
}

/* ICON */
.category-icon{
    width:45px;
    height:45px;
    border-radius:10px;
    object-fit:cover;
    border:1px solid #E5E7EB;
}

.no-icon{
    width:45px;
    height:45px;
    border-radius:10px;
    background:#F3F4F6;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    color:#6B7280;
}

/* TEXT */
.cat-name{
    font-weight:600;
    color:#111827;
}

.cat-desc{
    color:#6B7280;
    font-size:14px;
}

/* BUTTONS */
.action-buttons button{
    border:none;
    padding:6px 12px;
    border-radius:8px;
    font-size:13px;
    cursor:pointer;
    margin-right:5px;
}

.btn-edit{
    background:#E0F2FE;
    color:#0284C7;
}

.btn-edit:hover{
    background:#BAE6FD;
}

.btn-delete{
    background:#FEE2E2;
    color:#DC2626;
}

.btn-delete:hover{
    background:#FECACA;
}

/* EMPTY STATE */
.empty-box{
    text-align:center;
    padding:30px;
    color:#6B7280;
}

.empty-box h5{
    margin:0;
    font-size:18px;
    color:#374151;
}


/* product-catagory-css-end */


/* product-price-css-start */

/* CARD */
.price-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* HEADER */
.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.price-header h5 {
    margin: 0;
    color: #013068;
    font-weight: 600;
}

.price-search {
    padding: 6px 37px 6px 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 13px;
    flex: none;
}

/* GRID */
.price-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

/* ITEM */
.price-item {
    background: #f8fbff;
    border: 1px solid #eef3f8;
    border-radius: 10px;
    padding: 12px;
    transition: 0.3s ease;
    cursor: pointer;
}

.price-item:hover {
    transform: translateY(-5px);
    background: #eaf6ff;
    box-shadow: 0 6px 15px rgba(0, 180, 255, 0.2);
}

/* TEXT */
.price-item h6 {
    margin: 0;
    font-size: 14px;
    color: #013068;
    font-weight: 600;
}

.price-item p {
    margin: 5px 0;
    font-size: 12px;
    color: #666;
}

.price-item span {
    font-weight: 600;
    color: #00a86b;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .price-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .price-search {
        width: 100%;
    }
}

/* product-price-css-end */

/* curent-stock-css-start */

/* HEADER */
.stock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.stock-header h4 {
    margin: 0;
    font-size: 20px;
    color: #013068;
    font-weight: 600;
}

/* ADD BUTTON */
.btn-add-stock {
    background: linear-gradient(135deg, #198754, #00c896);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
}

/* LIST */
.stock-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ITEM */
.stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fbff;
    border: 1px solid #eef3f8;
    padding: 10px;
    border-radius: 8px;
    transition: 0.3s;
}

.stock-item:hover {
    background: #eaf6ff;
    transform: translateX(5px);
}

/* INFO */
.stock-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stock-info i {
    font-size: 20px;
    color: #013068;
}

.stock-info p {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
}

.stock-info small {
    font-size: 12px;
    color: #777;
}

/* DETAILS */
.stock-details {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 13px;
}

.qty {
    font-weight: 600;
    color: #198754;
}

.qty.low {
    color: #dc3545;
}

.price {
    color: #555;
}

/* ACTIONS */
.stock-actions {
    display: flex;
    gap: 6px;
}

.stock-actions button {
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
}

/* BUTTON COLORS */
.in-btn {
    background: #198754;
    color: #fff;
}

.out-btn {
    background: #ffc107;
}

.edit-btn {
    background: #013068;
    color: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .stock-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .stock-details {
        text-align: left;
    }

    .stock-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* OVERLAY */
.stock-modal {
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 75%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    padding: 10px;
}

/* BOX */
.stock-modal-box {
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    animation: scaleIn 0.3s ease;
}

/* HEADER */
.stock-modal .modal-header {
    /* background: #013068; */
    color: #fff;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #00000024;
}

/* BODY */
.stock-modal .modal-body {
    padding: 15px;
}

/* ANIMATION */
@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* RESPONSIVE */
@media (max-width: 576px) {
    .stock-modal-box {
        max-width: 100%;
    }
}



/* curent-stock-css-end */

/* stock-in-out-css-start */

/* CARD BASE */
.stock-move-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
}

.stock-move-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* HEADER */
.stock-move-card .card-header {
    margin-bottom: 10px;
}

.stock-move-card h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #013068;
}

/* LIST */
.stock-move-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ITEM */
.move-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fbff;
    border: 1px solid #eef3f8;
    border-radius: 8px;
    padding: 10px;
    transition: 0.3s;
}

.move-item:hover {
    background: #eaf6ff;
    transform: translateX(5px);
}

.move-item p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.move-item small {
    font-size: 12px;
    color: #777;
}

/* COLOR THEMES */
.stock-move-card.in {
    border-left: 4px solid #198754;
}

.stock-move-card.out {
    border-left: 4px solid #dc3545;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .stock-move-card h5 {
        font-size: 16px;
    }
}


/* stock-in-out-css-end */

/* purchase-entry-css-start */

/* CARD */
.purchase-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* HEADER */
.purchase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.purchase-header h5 {
    margin: 0;
    font-size: 18px;
    color: #013068;
    font-weight: 600;
}

/* BUTTON */
.btn-add-purchase {
    background: linear-gradient(135deg, #013068, #00b4ff);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
}

/* GRID */
.purchase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* BOX */
.purchase-box {
    background: #f8fbff;
    border: 1px solid #eef3f8;
    border-radius: 10px;
    padding: 12px;
    transition: 0.3s;
    cursor: pointer;
}

.purchase-box:hover {
    transform: translateY(-5px);
    background: #eaf6ff;
    box-shadow: 0 6px 15px rgba(0, 180, 255, 0.2);
}

/* TEXT */
.purchase-box h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #013068;
}

.purchase-box p {
    margin: 5px 0;
    font-size: 12px;
    color: #555;
}

.purchase-box small {
    display: block;
    font-size: 12px;
    color: #777;
}

.purchase-box span {
    display: block;
    margin-top: 6px;
    font-weight: 600;
    color: #198754;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .purchase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .purchase-grid {
        grid-template-columns: 1fr;
    }

    .purchase-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn-add-purchase {
        width: 100%;
    }
}

/* OVERLAY */
.purchase-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgb(0 0 0 / 75%);
    z-index: 9999;
}

/* BOX */
.purchase-modal-box {
    background: #fff;
    width: 100%;
    max-width: 650px;
    border-radius: 10px;
    overflow: hidden;
    animation: popIn 0.3s ease;
}

/* HEADER */
.purchase-modal .modal-header {
    /* background: #013068; */
    color: #fff;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #00000024;
}

/* BODY */
.purchase-modal .modal-body {
    padding: 15px;
}

/* ANIMATION */
@keyframes popIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* RESPONSIVE */
@media (max-width: 576px) {
    .purchase-modal-box {
        max-width: 100%;
    }
}


/* purchase-entry-css-end */

/* add-suppliers-css-start */

/* CARD */
.supplier-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* HEADER */
.supplier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.supplier-header h5 {
    margin: 0;
    font-size: 18px;
    color: #013068;
    font-weight: 600;
}

/* BUTTON */
.btn-add-supplier {
    background: linear-gradient(135deg, #013068, #00b4ff);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
}

/* GRID */
.supplier-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* BOX */
.supplier-box {
    background: #f8fbff;
    border: 1px solid #eef3f8;
    border-radius: 10px;
    padding: 12px;
    transition: 0.3s;
    cursor: pointer;
}

.supplier-box:hover {
    transform: translateY(-5px);
    background: #eaf6ff;
    box-shadow: 0 6px 15px rgba(0, 180, 255, 0.2);
}

/* TEXT */
.supplier-box h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #013068;
}

.supplier-box p {
    margin: 5px 0;
    font-size: 13px;
}

.supplier-box small {
    font-size: 12px;
    color: #777;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .supplier-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .supplier-grid {
        grid-template-columns: 1fr;
    }

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

    .btn-add-supplier {
        width: 100%;
    }
}

/* OVERLAY */
.modal-overlay {
    position: fixed;
    inset: 0;
    display: none;

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

    background: rgb(0 0 0 / 75%);
    z-index: 9999;
}

/* SHOW */
.modal-overlay.active {
    display: flex;
    margin: 0;
}

/* BOX */
.modal-box {
    background: #fff;
    width: 100%;
    max-width: 550px;
    border-radius: 10px;
    overflow: hidden;

    transform: translateY(-30px);
    opacity: 0;
    transition: 0.3s ease;
    position: relative;
}

/* ANIMATION */
.modal-overlay.active .modal-box {
    transform: translateY(0);
    opacity: 1;
}

/* HEADER */
.modal-header {
    color: #fff;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #00000024;
}

/* CLOSE */
.modal-header .close-btn {
    cursor: pointer;
    font-size: 20px;
    color: #013068;
}

/* BODY */
.modal-body {
    padding: 15px;
}

/* FOOTER */
.modal-footer {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* RESPONSIVE */
@media (max-width: 576px) {
    .modal-box {
        max-width: 95%;
    }
}

/* add-suppliers-css-end */

/* purchase-invoice-css-start */

/* CARD */
.invoice-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* HEADER */
.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.invoice-header h5 {
    margin: 0;
    font-size: 18px;
    color: #013068;
    font-weight: 600;
}

/* BUTTON */
.btn-add-invoice {
    background: linear-gradient(135deg, #013068, #00b4ff);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
}

/* GRID */
.invoice-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* BOX */
.invoice-box {
    background: #f8fbff;
    border: 1px solid #eef3f8;
    border-radius: 10px;
    padding: 12px;
    transition: 0.3s;
    cursor: pointer;
}

.invoice-box:hover {
    transform: translateY(-5px);
    background: #eaf6ff;
    box-shadow: 0 6px 15px rgba(0, 180, 255, 0.2);
}

/* TOP */
.invoice-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.invoice-top h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #013068;
}

/* STATUS */
.status {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
}

.invoice-top .status.paid {
    background: #d1e7dd;
    color: #198754;
    /* padding: 5px 27px; */
    width: 40px;
    height: 25px;
}

.invoice-top .status.pending {
    background: #fff3cd;
    color: #856404;
    width: 60px;
    height: 25px;
}

/* TEXT */
.invoice-box p {
    margin: 6px 0;
    font-size: 13px;
}

.invoice-box small {
    font-size: 12px;
    color: #777;
}

/* BOTTOM */
.invoice-bottom {
    margin-top: 8px;
    font-weight: 600;
    color: #198754;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .invoice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .invoice-grid {
        grid-template-columns: 1fr;
    }

    .invoice-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn-add-invoice {
        width: 100%;
    }
}

/* SIZE */
.invoice-modal-box {
    max-width: 900px;
}

/* TABLE */
.invoice-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.invoice-table th {
    font-size: 13px;
    text-align: left;
    background: #f5f6f8;
    padding: 6px;
    color: #000;
}

.invoice-table td {
    padding: 5px;
}

.invoice-table input {
    width: 100%;
    padding: 5px;
}

/* ADD ROW */
.add-row-btn {
    margin-top: 10px;
    background: #013068;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 5px;
}

/* TOTAL */
.invoice-total {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .invoice-total {
        grid-template-columns: 1fr;
    }

    .invoice-table table,
    .invoice-table thead,
    .invoice-table tbody,
    .invoice-table th,
    .invoice-table td,
    .invoice-table tr {
        display: block;
    }

    .invoice-table tr {
        margin-bottom: 10px;
        background: #f8fbff;
        padding: 10px;
        border-radius: 8px;
    }

    .invoice-table th {
        display: none;
    }
}

/* purchase-invoice-css-end*/

/* payment-tracking-css-start*/

/* CARD */
.payment-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* HEADER */
.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.payment-header h5 {
    margin: 0;
    font-size: 18px;
    color: #013068;
    font-weight: 600;
}

/* BUTTON */
.btn-add-payment {
    background: linear-gradient(135deg, #013068, #00b4ff);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
}

/* SUMMARY */
.payment-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

.summary-box {
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
}

.summary-box h6 {
    margin: 0;
    font-size: 16px;
}

.summary-box p {
    margin: 5px 0 0;
    font-size: 12px;
}

/* COLORS */
.summary-box.paid {
    background: #198754;
}

.summary-box.pending {
    background: #ffc107;
    color: #000;
}

.summary-box.total {
    background: #013068;
}

/* LIST */
.payment-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ITEM */
.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fbff;
    border: 1px solid #eef3f8;
    border-radius: 8px;
    padding: 10px;
    transition: 0.3s;
}

.payment-item:hover {
    transform: translateX(5px);
    background: #eaf6ff;
}

.payment-item p {
    margin: 0;
    font-weight: 600;
}

.payment-item small {
    font-size: 12px;
    color: #777;
}

/* TEXT COLORS */
.paid-text {
    color: #198754;
    font-weight: 600;
}

.pending-text {
    color: #dc3545;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {

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

    .payment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn-add-payment {
        width: 100%;
    }
}


/* PAYMENT MODAL SIZE */
.payment-modal-box {
    max-width: 550px;
}

/* SMOOTH ANIMATION (reuse if already added) */
.modal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #fff;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    transform: translateY(-30px);
    opacity: 0;
    transition: 0.3s ease;
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
    opacity: 1;
}

/* payment-tracking-css-end*/

/* Service-management-css-start */

.service-section {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

/* HEADER */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.section-header h4 {
    font-size: 16px;
    font-weight: 600;
}

/* ADD BUTTON */
.btn-add-service {
    background: #198754;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
}

/* TABLE */
.service-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.service-table th {
    background: #f1f1f1;
    padding: 8px;
    text-align: left;
}

.service-table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

/* STATUS */
.status {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 12px;
}

.status.active {
    background: #d1e7dd;
    color: #0f5132;
}

.status.inactive {
    background: #f8d7da;
    color: #842029;
}

/* BUTTONS */
.edit-btn {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
}

.delete-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .service-table {
        font-size: 12px;
    }
}

/* OVERLAY */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 75%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* SHOW */
.service-modal.show {
    display: flex;
}

/* MODAL BOX */
.service-modal-box {
    background: #fff;
    width: 600px;
    max-width: 95%;
    border-radius: 10px;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

/* HEADER */
.service-modal-box .modal-header {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h5 {
    font-size: 24px;
    font-weight: 600;
    color: #013068;
}

.close-btn {
    cursor: pointer;
    font-size: 30px;
    color: #fff;
    font-weight: 700;
}

/* BODY */
.modal-body {
    padding: 15px;
}

/* GRID */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-size: 13px;
    margin-bottom: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    color: #000;
}

textarea {
    min-height: 70px;
}

/* ACTION */
.modal-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.save-btn {
    background: #198754;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 5px;
}

.cancel-btn {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 5px;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: span 1;
    }

    .service-modal-box {
        width: 95%;
    }
}


/* Service-management-css-end */

/* add-Service-management-css-start */

.service-form-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

/* HEADER */
.section-header {
    margin-bottom: 15px;
}

.section-header h4 {
    font-size: 24px;
    font-weight: 600;
    color: #013068;
}

/* GRID */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* INPUT GROUP */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #000;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
}

textarea {
    min-height: 80px;
}

/* BUTTONS */
.form-actions {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.save-btn {
    background: #198754;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
}

.cancel-btn {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: span 1;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* add-Service-management-css-end */

/* Service-package-css-start */

.package-section {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

/* GRID */
.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* CARD */
.package-card {
    background: #f9fbff;
    border-radius: 10px;
    padding: 15px;
    transition: 0.3s;
    border: 1px solid #e0e6ed;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* TITLE */
.package-card h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

/* PRICE */
.price {
    font-size: 18px;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 10px;
}

/* FEATURES */
.package-card ul {
    padding-left: 0;
    list-style: none;
    font-size: 13px;
    margin-bottom: 10px;
}

.package-card ul li {
    margin-bottom: 5px;
}

/* FOOTER */
.package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* STATUS */
.status {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 12px;
}

.package-footer .status.active {
    background: #d1e7dd;
    color: #0f5132;
    width: 60px;
    height: 25px;
    border-radius: 19px;
    text-align: center;
}

.package-footer .status.inactive {
    background: #f8d7da;
    color: #842029;
    width: 60px;
    height: 25px;
    border-radius: 19px;
    text-align: center;
}

/* BUTTONS */
.edit-btn {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.delete-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* ADD BUTTON */
.btn-add-package {
    background: #198754;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .package-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .package-grid {
        grid-template-columns: 1fr;
    }
}


/* MODAL OVERLAY */
.package-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 75%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* BOX */
.package-modal-box {
    background: #fff;
    width: 600px;
    max-width: 95%;
    border-radius: 10px;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

/* HEADER */
.package-modal-box .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-modal-box .modal-header h5 {
    color: #013068;
    font-size: 24px;
    font-weight: 600;
}

.close-btn {
    cursor: pointer;
    font-size: 22px;
    color: #fff;
}

/* BODY */
.modal-body {
    padding: 15px;
}

/* GRID */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: span 2;
}

/* INPUT */
.form-group input,
.form-group select,
.form-group textarea {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 13px;
}

/* ACTION */
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

.save-btn {
    background: #198754;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
}

.cancel-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* RESPONSIVE */
@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: span 1;
    }
}


/* Service-package-css-end */

/* custom-pricing-css-start */

.custom-pricing-section {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

/* ADD BUTTON */
.btn-add-custom {
    background: #198754;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
}

/* TABLE */
.custom-pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.custom-pricing-table th {
    background: #f1f1f1;
    padding: 8px;
    text-align: left;
}

.custom-pricing-table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

/* STATUS */
.status {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 12px;
}

.status.active {
    background: #d1e7dd;
    color: #0f5132;
}

.status.inactive {
    background: #f8d7da;
    color: #842029;
}

/* BUTTONS */
.edit-btn {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.delete-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .custom-pricing-table {
        font-size: 12px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* custom-pricing-css-end */

/* ongoing-customer-css-start */

.ongoing-section {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

/* HEADER */
.ongoing-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ongoing-section .section-header h4 {
    font-size: 24px;
    font-weight: 600;
    color: #013068;
}

/* ADD BUTTON */
.btn-add {
    background: #013068;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
}

/* TABLE */
.ongoing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.ongoing-table th {
    background: #f1f1f1;
    padding: 8px;
    text-align: left;
}

.ongoing-table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

/* STATUS */
.status {
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 12px;
}

.status.active {
    background: #d1e7dd;
    color: #0f5132;
}

.status.pending {
    background: #fff3cd;
    color: #856404;
}

/* BUTTONS */
.view-btn {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
}

.edit-btn {
    background: #198754;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ongoing-table {
        font-size: 12px;
    }
}

@media (max-width: 768px) {

    .ongoing-table thead {
        display: none;
    }

    .ongoing-table tr {
        display: block;
        margin-bottom: 10px;
        background: #fff;
        padding: 10px;
        border-radius: 8px;
    }

    .ongoing-table td {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        border: none;
    }

    .ongoing-table td::before {
        content: attr(data-label);
        font-weight: bold;
    }
}


/* ongoing-customer-css-end */

/* complete-project-css-start */

.project-section {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
}

/* HEADER */
.section-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.btn-add {
    background: #013068;
    color: #fff;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
}

/* TABLE */
.project-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.project-table th {
    background: #f1f1f1;
    padding: 8px;
    text-align: left;
}

.project-table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

/* STATUS */
.status {
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 12px;
}

.status.ongoing {
    background: #fff3cd;
    color: #856404;
}

.status.completed {
    background: #d1e7dd;
    color: #0f5132;
}

/* BUTTONS */
.view-btn {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 5px 8px;
    border-radius: 5px;
}

.edit-btn {
    background: #ffc107;
    border: none;
    padding: 5px 8px;
    border-radius: 5px;
}

/* MODAL */
.modal-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-box {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
}

.modal-box.large {
    max-width: 600px;
}

/* GRID */
.grid {
    display: grid;
    gap: 10px;
}

.save-btn {
    background: #198754;
    color: #fff;
    padding: 8px;
    border: none;
    border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .project-table {
        font-size: 12px;
    }
}


.btn-add-project {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    background: linear-gradient(135deg, #013068, #00b4ff);
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;
    cursor: pointer;

    transition: 0.3s;
}

/* HOVER EFFECT */
.btn-add-project:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 180, 255, 0.4);
}

/* OVERLAY */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    display: none;
    justify-content: center;
    align-items: center;
    /* 🔥 IMPORTANT */

    background: rgb(0 0 0 / 75%);
    z-index: 9999;
}


/* MODAL BOX */
.project-modal-box {
    background: #fff;
    width: 90%;
    max-width: 600px;

    border-radius: 12px;
    overflow: hidden;

    animation: modalZoom 0.3s ease;
    padding: 20px;
}

@keyframes modalZoom {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.project-modal-box {
    animation: modalZoom 0.3s ease;
}

/* HEADER */
.project-modal-box .modal-header {
    color: #fff;
    padding: 12px;

    display: flex;
    justify-content: space-between;
}

/* BODY */
.modal-body {
    padding: 15px;
}

/* GRID */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

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

/* INPUT */
.form-grid input,
.form-grid select,
.form-grid textarea {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* BUTTONS */
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.save-btn {
    background: #198754;
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
}

.cancel-btn {
    background: #dc3545;
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
}

/* ANIMATION */
@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .project-modal-box {
        max-width: 95%;
    }
}

/* VIEW CONTENT */
.view-content p {
    margin: 6px 0;
    font-size: 14px;
}

/* CLOSE BUTTON */
.close-btn {
    cursor: pointer;
    font-size: 20px;
}

/* MOBILE TABLE FIX */
@media (max-width: 768px) {

    .project-table thead {
        display: none;
    }

    .project-table tr {
        display: block;
        margin-bottom: 10px;
        background: #fff;
        border-radius: 8px;
        padding: 10px;
    }

    .project-table td {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        border: none;
    }

    .project-table td::before {
        content: attr(data-label);
        font-weight: bold;
    }
}

/* complete-project-css-end*/




/* cloude-file-management-css-start */

.file-manager {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

/* HEADER */
.fm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.fm-header h4 {
    font-size: 16px;
    font-weight: 600;
}

/* ACTIONS */
.fm-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.fm-search {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* BUTTON */
.btn-fm {
    background: #013068;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
}

/* GRID */
.fm-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 22px;
}

/* ITEM CARD */
.fm-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.fm-item i {
    font-size: 26px;
    margin-bottom: 8px;
}

.fm-item p {
    font-size: 13px;
    word-break: break-word;
}

/* COLORS */
.folder i {
    color: #f4b400;
    font-size: 20px;
}
.file i {
    color: #f4b400;
}


/* HOVER */
.fm-item:hover {
    background: #e9ecef;
    transform: translateY(-3px);
}


/* ---------------- RESPONSIVE ---------------- */

/* TABLET */
@media (max-width: 992px) {
    .fm-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* MOBILE */
@media (max-width: 576px) {
    .fm-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fm-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .fm-actions {
        width: 100%;
    }

    .fm-search {
        width: 100%;
    }
}




/* OVERLAY */
/* GLOBAL FIX */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* MODAL BACKDROP */
.folder-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;

    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);

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

    padding: 20px;
    overflow-y: auto;
}

/* MODAL BOX */
.folder-box {
    width: 100%;
    max-width: 1140px;
    max-height: calc(100vh - 40px);

    background: #f5f6f8;
    border: 1px solid #d9dee8;
    border-radius: 14px;

    padding: 32px;
    overflow-y: auto;

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

/* HEADER */
.folder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    margin-bottom: 32px;
}

.folder-header h4 {
    margin: 0;

    display: flex;
    align-items: center;
    gap: 12px;

    color: #003b8e;
    font-size: 30px;
    font-weight: 700;
}

.folder-header h4 i {
    font-size: 0.9em;
}

/* CLOSE BUTTON */
.close-btn {
    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background: transparent;
    color: #6b7280;

    font-size: 28px;
    cursor: pointer;

    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #eef2f7;
    color: #dc3545;
}

/* FORM LAYOUT */
.folder-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.folder-row .form-group {
    flex: 1;
    min-width: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;

    color: #111827;
    font-size: 16px;
    font-weight: 600;
}

/* INPUTS */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;

    border: 1px solid #d1d5db;
    border-radius: 8px;

    background: #fff;
    font-size: 16px;

    outline: none;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.half-width {
    max-width: 50%;
}

/* FOOTER */
.folder-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;

    margin-top: 40px;
}

/* BUTTONS */
.create-btn,
.cancel-btn {
    border: none;
    border-radius: 10px;

    min-height: 50px;
    padding: 14px 26px;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    transition: all 0.2s ease;
}

.create-btn {
    color: #fff;
    background: linear-gradient(90deg, #0d6efd, #1296db);
}

.create-btn:hover {
    transform: translateY(-1px);
}

.cancel-btn {
    color: #fff;
    background: #dc3545;
}

.cancel-btn:hover {
    background: #c82333;
}

/* LARGE TABLETS */
@media (max-width: 992px) {

    .folder-box {
        max-width: 95%;
        padding: 24px;
    }

    .folder-row {
        gap: 16px;
    }
}

/* TABLETS */
@media (max-width: 768px) {

    .folder-modal {
        padding: 15px;
        align-items: flex-start;
    }

    .folder-box {
        max-width: 100%;
        max-height: none;
        margin-top: 20px;
        padding: 20px;
    }

    .folder-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }

    .half-width {
        max-width: 100%;
    }

    .folder-footer {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .create-btn,
    .cancel-btn {
        width: 100%;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {

    .folder-modal {
        padding: 10px;
    }

    .folder-box {
        padding: 16px;
        border-radius: 10px;
    }

    .folder-header {
        margin-bottom: 24px;
    }

    .folder-header h4 {
        font-size: 22px;
        gap: 8px;
    }

    .form-group label {
        font-size: 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 15px;
    }

    .create-btn,
    .cancel-btn {
        min-height: 46px;
        padding: 12px 20px;
        font-size: 15px;
    }
}






/* OVERLAY */
.upload-modal {
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 75%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* BOX */
.upload-box {
    width: 420px;
    max-width: 95%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    animation: zoomIn 0.3s ease;
}

/* HEADER */
.upload-header {
    background: linear-gradient(135deg, #013068, #00b4ff);
    color: #fff;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* BODY */
.upload-body {
    padding: 15px;
}

/* DRAG AREA */
.upload-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    transition: 0.3s;
}

.upload-area i {
    font-size: 35px;
    color: #0d6efd;
}

.upload-area p {
    margin: 5px 0;
    font-size: 14px;
}

.upload-area span {
    font-size: 12px;
    color: #888;
}

.upload-area:hover {
    border-color: #0d6efd;
    background: #f8f9fa;
}

/* BUTTON */
.browse-btn {
    margin-top: 8px;
    padding: 6px 12px;
    border: none;
    background: #0d6efd;
    color: #fff;
    border-radius: 5px;
    font-size: 13px;
}

/* FILE PREVIEW */
.file-preview {
    margin-top: 10px;
    font-size: 13px;
    color: #333;
}

/* FOOTER */
.upload-footer {
    padding: 10px 15px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* BUTTONS */
.upload-btn {
    background: #198754;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
}

.cancel-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 576px) {
    .upload-box {
        width: 95%;
    }

    .upload-area {
        padding: 15px;
    }
}




/* cloude-file-management-css-end */

/* create-folders-css-start */

.create-folder-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

/* GRID */
.folder-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: span 2;
}

/* INPUT */
.form-group label {
    font-size: 13px;
    margin-bottom: 4px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 13px;
}

/* ACTION BUTTONS */
.form-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

/* BUTTONS */
.create-btn {
    background: linear-gradient(135deg, #013068, #00b4ff);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
}

.cancel-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
}

/* HOVER */
.create-btn:hover {
    opacity: 0.9;
}

.cancel-btn:hover {
    opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .folder-form .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: span 1;
    }

    .form-actions {
        flex-direction: column;
        width: 100%;
    }

    .create-btn,
    .cancel-btn {
        width: 100%;
    }
}

/* create-folders-css-end */

/* upload-files-css-start */

.upload-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

/* UPLOAD AREA */
.upload-full-area {
    border: 2px dashed #ccc;
    border-radius: 12px;
    text-align: center;
    padding: 30px;
    transition: 0.3s;
}

.upload-full-area i {
    font-size: 40px;
    color: #0d6efd;
}

.upload-full-area h5 {
    margin: 10px 0 5px;
}

.upload-full-area p {
    font-size: 13px;
    color: #888;
}

.upload-full-area:hover {
    border-color: #0d6efd;
    background: #f8f9fa;
}

/* BUTTON */
.browse-btn {
    margin-top: 10px;
    padding: 8px 15px;
    border: none;
    background: #013068;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
}

/* FILE LIST */
.uploaded-files {
    margin-top: 20px;
}

.uploaded-files h6 {
    margin-bottom: 8px;
    font-size: 14px;
}

.uploaded-files ul {
    list-style: none;
    padding: 0;
}

.uploaded-files li {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.file-size {
    color: #888;
}

/* ACTION */
.upload-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.upload-btn {
    background: #198754;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
}

.cancel-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .upload-full-area {
        padding: 20px;
    }

    .upload-actions {
        flex-direction: column;
    }

    .upload-btn,
    .cancel-btn {
        width: 100%;
    }
}

/* upload-files-css-end */


/* details-file-css-start*/

.delete-section {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

/* HEADER */
.delete-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.delete-header h4 {
    font-size: 24px;
    font-weight: 600;
    color: #013068;
}

/* DELETE ALL BUTTON */
.btn-delete-all {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
}

/* LIST */
.delete-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ITEM */
.delete-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    transition: 0.3s;
}

.delete-item:hover {
    background: #f1f3f5;
    transform: translateY(-2px);
}

/* FILE INFO */
.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-info i {
    font-size: 18px;
    color: #6c757d;
}

.file-info p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.file-info small {
    color: #888;
    font-size: 12px;
}

/* ACTIONS */
.delete-actions {
    display: flex;
    gap: 8px;
}

.restore-btn {
    background: #198754;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

.permanent-delete {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

/* ---------------- RESPONSIVE ---------------- */

/* TABLET */
@media (max-width: 768px) {
    .delete-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .delete-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .delete-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .delete-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* details-file-css-end */

/* file-preview-css-start*/

.file-preview-section {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

/* HEADER */
.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.preview-header h4 {
    font-size: 16px;
    font-weight: 600;
}

/* ACTION BUTTONS */
.preview-actions {
    display: flex;
    gap: 8px;
}

.btn-preview {
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
    color: #fff;
}

.btn-preview.download {
    background: #0d6efd;
}

.btn-preview.delete {
    background: #dc3545;
}

/* BODY */
.preview-body {
    display: flex;
    gap: 20px;
}

/* LEFT */
.preview-left {
    flex: 1;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMAGE */
.preview-img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
}

/* FILE ICON VIEW */
.preview-file {
    text-align: center;
}

.preview-file i {
    font-size: 60px;
    color: #0d6efd;
}

.preview-file p {
    margin-top: 10px;
}

/* RIGHT */
.preview-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* DETAILS */
.file-details {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
}

.file-details h5 {
    margin-bottom: 10px;
}

/* DESCRIPTION */
.file-description {
    background: #f1f3f5;
    padding: 12px;
    border-radius: 8px;
}

/* ---------------- RESPONSIVE ---------------- */

/* TABLET */
@media (max-width: 768px) {
    .preview-body {
        flex-direction: column;
    }

    .preview-img {
        max-height: 250px;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .preview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .preview-actions {
        width: 100%;
        justify-content: space-between;
    }

    .btn-preview {
        width: 100%;
    }
}

/* file-preview-css-end*/

/* task-management-css-start */

/* WRAPPER */
.task-management-wrapper {
    overflow-x: auto;
    padding: 10px;
    scroll-snap-type: x mandatory;
    width: 100%;
}

/* BOARD */
.task-management-board {
    display: flex;
    gap: 15px;
}

/* COLUMN */
.task-column {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    width: 15%;
    height: auto;
    min-width: 175px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

/* TITLE */
.task-column h6 {
    font-weight: 600;
    color: #013068;
    margin-bottom: 10px;
}

/* CARD */
.task-card {
    background: #fff5f5;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 9%);
    transition: 0.3s;
    cursor: pointer;
    border-left: 3px solid #f50609;
}

.task-card:hover {
    transform: translateY(-3px);
}

/* TEXT */
.task-card p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.task-card small {
    font-size: 12px;
    color: #000;
}

/* HIGHLIGHT */
.task-card.highlight {
    border-left: 3px solid #ff4d4d;
    background: #fff5f5;
}

/* SCROLLBAR */
.task-management-wrapper::-webkit-scrollbar {
    height: 6px;
}

.task-management-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* HEADER */
.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* THREE DOT */
.menu-box {
    position: relative;
    cursor: pointer;
}

.menu-box i {
    font-size: 16px;
}

/* DROPDOWN */
.menu-dropdown {
    position: absolute;
    right: 0;
    top: 20px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    min-width: 120px;
    z-index: 10;
}

.menu-dropdown p {
    margin: 0;
    padding: 8px;
    font-size: 13px;
    cursor: pointer;
}

.menu-dropdown p:hover {
    background: #f5f6f8;
}

.task-header {
    display: flex;
    align-items: center;
}

/* TASK TOP */
.task-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ACTIONS */
.task-actions i {
    font-size: 14px;
    margin-left: 8px;
    cursor: pointer;
    color: #000;
}

.task-actions i:hover {
    color: #013068;
}

/* USER */
.task-user {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #000;
    margin: 5px 0;
}

/* TASK LIST */
.task-list {
    padding-left: 15px;
    margin: 5px 0 0;
}

.task-list li {
    font-size: 12px;
    color: #000;
}

@media (max-width: 768px) {

    .task-management-board {
        display: flex;
        gap: 15px;
        flex-direction: column;
    }

    .task-column {
        background: #fff;
        padding: 10px;
        border-radius: 10px;
        width: auto;
        /* min-width: 175px; */
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .task-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

}

/* OVERLAY */
.modal-task-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-task-overlay.active {
    display: flex;
}

/* BOX */
.modal-box {
    background: #fff !important;
    width: 400px;
    max-width: 95%;
    border-radius: 10px;
    padding: 15px;
    animation: fadeIn 0.3s ease;
}

/* .modal-overlay-three.active {
    display: flex;
} */

/* HEADER */
.modal-task-overlay .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.modal-task-overlay .close-btn {
    cursor: pointer;
    font-size: 24px;
    color: #013068;
}

/* BODY */
.form-group {
    margin: 10px 0;
}

.form-group label {
    font-size: 13px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 7px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* FOOTER */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-save {
    background: #013068;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
}

.btn-cancel {
    background: #ccc;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* task-management-css-end */



/* employee-task-management-css-start */

.employee-task-section {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

/* BUTTON */
.btn-add-emp-task {
    background: #198754;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
}

/* TABLE */
.emp-task-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.emp-task-table th {
    background: #f1f1f1;
    padding: 8px;
    text-align: left;
}

.emp-task-table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

/* EMPLOYEE */
.emp-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.emp-info img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

/* PRIORITY */
.priority {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 12px;
}

.priority.high {
    background: #f8d7da;
    color: #842029;
}

.priority.medium {
    background: #fff3cd;
    color: #856404;
}

.priority.low {
    background: #d1e7dd;
    color: #0f5132;
}

/* STATUS */
.status {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 12px;
}

.status.pending {
    background: #fff3cd;
    color: #856404;
}

.status.completed {
    background: #d1e7dd;
    color: #0f5132;
}

/* PROGRESS BAR */
.progress-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #0d6efd;
}

.progress.done {
    background: #198754;
}

/* BUTTONS */
.edit-btn {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.delete-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .emp-task-table {
        font-size: 12px;
    }

    .emp-info span {
        display: none;
    }
}

/* employee-task-management-css-end */

/* own-task-management-css-start */

.my-task-section {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

/* BUTTON */
.btn-add-my-task {
    background: #198754;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
}

/* TASK LIST */
.my-task-list {
    margin-top: 10px;
}

/* TASK ITEM */
.my-task-list .task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: 0.3s;
}

.my-task-list .task-item:hover {
    background: #f9fbff;
}

/* LEFT */
.task-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.task-left h6 {
    margin: 0;
    font-size: 14px;
}

.task-left p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

/* DONE STYLE */
.task-item.done h6 {
    text-decoration: line-through;
    color: #999;
}

/* RIGHT */
.task-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* BADGE */
.badge {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 12px;
}

.badge.pending {
    background: #fff3cd;
    color: #856404;
}

.badge.completed {
    background: #d1e7dd;
    color: #0f5132;
}

/* ICON BUTTON */
.icon-btn {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 5px 7px;
    border-radius: 4px;
    font-size: 12px;
}

.icon-btn.delete {
    background: #dc3545;
}

/* RESPONSIVE */
@media (max-width: 576px) {
    .task-left h6 {
        font-size: 13px;
    }

    .task-left p {
        font-size: 11px;
    }

    .task-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .task-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* own-task-management-css-end */


@media(max-width: 768px) {
    .right-side {
        margin-left: 0;
        padding: 15px;
    }
}


/* Quotation css styling  */

/* =========================
   BASE LAYOUT
========================= */

.quotation-page {
    padding: 34px;
    margin-left: 240px;
    transition: all 0.3s ease;
}

/* If sidebar collapses */
.sidebar-collapsed .quotation-page {
    margin-left: 80px;
}

/* =========================
   HEADER
========================= */

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.quote-header h1 {
    font-size: 30px;
    margin: 0;
    color: #1f2937;
}

.quote-header p {
    margin: 3px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn-primary,
.btn-light,
.btn-secondary {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-light {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
}

.btn-secondary {
    background: #111827;
    color: #fff;
}

/* =========================
   GRID
========================= */

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bottom-grid {
    grid-template-columns: 2fr 1fr;
    margin-top: 20px;
    margin-bottom: 30px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 10px;
}

@media (max-width: 992px) {

    .quote-grid,
    .bottom-grid {
        grid-template-columns: 1fr;
    }

    .quotation-page {
        margin-left: 0;
    }
}

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

.quote-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef0f3;
    margin-top: 20px;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111827;
}


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

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    font-size: 12px;
    margin-bottom: 5px;
    color: #6b7280;
}

input,
textarea {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    outline: none;
    font-size: 13px;
    transition: 0.2s;
    background: #fff;
}

input:focus,
textarea:focus {
    border-color: #2563eb;
}

textarea {
    min-height: 80px;
    resize: none;
}

.big-textarea {
    min-height: 120px;
    width: 100%;
}

/* =========================
   TABLE
========================= */

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.table-wrapper {
    overflow-x: auto;
}

.items-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.items-table th,
.items-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    text-align: left;
}

.items-table th {
    background: #f9fafb;
    color: #374151;
}

/* =========================
   SUMMARY
========================= */

.summary-card {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.summary-row,
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.summary-total {
    font-weight: bold;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* =========================
   RESPONSIVE TOUCH
========================= */

@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .quote-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.image-box {
    width: 120px;
    height: 120px;
    border: 2px dashed #bbb;
    border-radius: 10px;
    overflow: hidden;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*==========================
    TEMPLATE SECTION
==========================*/

.template-section{
    margin-top:35px;
    padding:28px;
    border-radius:22px;
    background:linear-gradient(145deg,#ffffff,#f8fbff);
    border:1px solid #e9eef6;
    box-shadow:
        0 12px 35px rgba(15,23,42,.05),
        inset 0 1px 0 rgba(255,255,255,.8);
}

.template-title{
    font-size:24px;
    font-weight:700;
    color:#111827;
    margin-bottom:22px;
    position:relative;
}

.template-title::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:70px;
    height:4px;
    border-radius:30px;
    background:linear-gradient(90deg,#2563eb,#7c3aed);
}

/*==========================
        GRID
==========================*/

.template-box{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
}

@media(max-width:992px){
.template-box{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:576px){
.template-box{
grid-template-columns:1fr;
}
}

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

.template-card{
    display:block;
    cursor:pointer;
    perspective:1000px;
}

.template-card input{
    display:none;
}

.template-card .card{

    position:relative;

    overflow:hidden;

    border-radius:20px;

    padding:16px;

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

    border:1px solid #e5e7eb;

    transition:.35s;

    box-shadow:
        0 8px 18px rgba(15,23,42,.06);

}

/* animated top line */

.template-card .card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:5px;

    background:linear-gradient(90deg,#2563eb,#7c3aed,#06b6d4);

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s;

}

/* glowing circle */

.template-card .card::after{

    content:"";

    position:absolute;

    width:160px;

    height:160px;

    border-radius:50%;

    background:rgba(37,99,235,.08);

    top:-70px;

    right:-70px;

    transition:.35s;

}

/* Hover */

.template-card:hover .card{

    transform:translateY(-8px);

    border-color:#2563eb;

    box-shadow:
        0 18px 40px rgba(37,99,235,.18);

}

.template-card:hover .card::before{

    transform:scaleX(1);

}

.template-card:hover .card::after{

    transform:scale(1.25);

}

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

.preview{

    height:100px;

    border-radius:14px;

    border:1px solid #edf2f7;

    margin-bottom:16px;

    background:#fff;

    position:relative;

    overflow:hidden;

    transition:.3s;

}

/* fake document */

.preview::before{

    content:"";

    position:absolute;

    left:15px;

    top:15px;

    width:60%;

    height:8px;

    background:#d1d5db;

    border-radius:30px;

}

.preview::after{

    content:"";

    position:absolute;

    left:15px;

    top:35px;

    width:75%;

    height:90px;

    border-radius:8px;

    background:
    repeating-linear-gradient(
        to bottom,
        #e5e7eb 0px,
        #e5e7eb 6px,
        transparent 6px,
        transparent 15px
    );

}

/* Themes */

.t1{
background:linear-gradient(180deg,#ffffff,#f9fafb);
}

.t2{
background:linear-gradient(180deg,#eff6ff,#ffffff);
}

.t3{
background:linear-gradient(180deg,#fff7ed,#ffffff);
}

.t4{
background:linear-gradient(180deg,#f3f4f6,#ffffff);
}

/*==========================
       TITLE
==========================*/

.template-card p{

    margin:0;

    text-align:center;

    font-weight:700;

    font-size:15px;

    color:#374151;

    transition:.3s;

}

/*==========================
      SELECTED
==========================*/

.template-card input:checked + .card{

    border:2px solid #2563eb;

    background:linear-gradient(180deg,#eef5ff,#ffffff);

    box-shadow:
        0 20px 45px rgba(37,99,235,.22);

    transform:translateY(-6px);

}

.template-card input:checked + .card::before{

    transform:scaleX(1);

}

.template-card input:checked + .card p{

    color:#2563eb;

}

/* check icon */

.template-card input:checked + .card .preview{

    border:2px solid #2563eb;

}

.template-card input:checked + .card .preview::marker{
display:none;
}

.template-card input:checked + .card .preview::before{

    box-shadow:0 0 0 0;

}

.template-card input:checked + .card::after{

    content:"✓";

    position:absolute;

    width:34px;

    height:34px;

    right:15px;

    top:15px;

    border-radius:50%;

    background:#2563eb;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:bold;

    font-size:15px;

}
