* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #f5f2eb;
    min-height: 100vh;
    padding-bottom: 75px;
}

.auth-loading {

    display: none;
}

/* Main Content */
.main-content {
    /* padding: 20px 24px; */
    max-width: 1400px;
    margin: 0 auto;
}

.farmiti-version {
    position: absolute;
    bottom: 10px;
    text-align: center;
    padding-left: 10px;
    color: #707070;
}

/* Top Bar */
.top-bar {
    background: white;
    border-radius: 10px;
    padding: 1rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0e4cf;
}

.farmitilogo {
    width: 150px;
}

/*========== TOP NAVIGATION BAR ==========*/
.top-nav {
    background: transparent;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-wallet {
    background: #e8b12c20;
    padding: 2px 15px;
    border-radius: 40px;
    font-weight: 700;
    color: #c27e2e;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); */
}

/* Logo - Hidden on desktop, visible on mobile */
.mobile-logo {
    display: none;
}

.mobile-logo h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e3b2c;
    margin: 0;
}

.mobile-logo span {
    color: #e8b12c;
}

/* Right Icons Container */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #5a6e5f;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: #fefaf0;
    color: #e8b12c;
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #dc3545;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 60px;
    min-width: 18px;
}

/* Dropdown Menus */
.dropdown-menu-custom {
    position: absolute;
    top: 55px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    display: none;
    z-index: 1000;
    border: 1px solid #f0e4cf;
    overflow: hidden;
    font-size: 13px;
}

.dropdown-menu-custom.show {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Notification Items */
.notification-header {
    padding: 12px 16px;
    border-bottom: 1px solid #f0e2cf;
    font-weight: 700;
    color: #1e3b2c;
    background: #fefaf5;
}

.notification-list {
    max-height: 350px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f0e2cf;
    cursor: pointer;
    transition: 0.2s;
}

.notification-item:hover {
    background: #fefaf5;
}

.notification-item.unread {
    background: #fff8ed;
    border-left: 3px solid #e8b12c;
}

.notification-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e3b2c;
}

.notification-time {
    font-size: 0.65rem;
    color: #b8aa92;
    margin-top: 4px;
}

.mark-read-btn {
    text-align: center;
    padding: 10px;
    border-top: 1px solid #f0e2cf;
    font-size: 0.75rem;
    color: #e8b12c;
    cursor: pointer;
    background: white;
}

/* User Dropdown Items */
.user-menu-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    color: #4a5e53;
    text-decoration: none;
    transition: 0.2s;
    border-bottom: 1px solid #f0e2cf;
}

.user-menu-item:last-child {
    border-bottom: none;
}

.user-menu-item:hover {
    background: #fefaf0;
    color: #e8b12c;
}

.user-menu-item i {
    width: 24px;
    font-size: 1rem;
}


.welcome-text h4 {
    font-size: 1.1rem;
    margin: 0;
    color: #1e3b2c;
}

.welcome-text p {
    font-size: 0.75rem;
    color: #7a8e7f;
    margin: 0;
}

.reseller-badge {
    background: #e8b12c20;
    padding: 6px 16px;
    border-radius: 60px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #c27e2e;
}

/* Stats Cards */
.stat-card {
    background: white;
    border-radius: 10px;
    /* padding: 0.8rem 1rem; */
    padding: 0.8rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0e4cf;
    transition: 0.2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: #e8b12c60;
}

.stat-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #e8b12c;
    margin: 0;
}

.stat-card small {
    font-size: 0.7rem;
    color: #7a8e7f;
}

.stat-card i {
    font-size: 1.8rem;
    color: #e8b12c;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.75rem;
    color: #7a8e7f;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #e8b12c;
}

.stat-value.total {
    color: #28a745;
}


.stat-value.new {
    color: #17a2b8;
}

.stat-value.contacted {
    color: #ffc107;
}

.stat-value.converted {
    color: #28a745;
}

.stat-value.lost {
    color: #dc3545;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3b2c;
    margin: 0;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    border: 1.5px solid #e8dfcf;
    border-radius: 60px;
    padding: 8px 18px;
    width: 250px;
    /* font-size: 0.2rem; */
}

.search-box input:focus {
    outline: none;
    border-color: #e8b12c;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.25s;
    border: 1px solid #f0e4cf;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1);
    border-color: #e8b12c60;
}

.product-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    background: #fef8ef;
}

.product-body {
    padding: 1rem;
    flex: 1;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e3b2c;
    margin-bottom: 0.2rem;
}

.product-uid {

    font-size: 12px;

    color: #888;

    margin-bottom: 8px;
}

.product-desc {
    font-size: 0.7rem;
    color: #7a8e7f;
    margin-bottom: 0.7rem;
    line-height: 1.4;
}

.weight {
    font-size: 0.7rem;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 60px;
    color: #475569;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.mrp {
    font-size: 0.75rem;
    color: #b8aa92;
    text-decoration: line-through;
}

.sell-price {
    font-size: 0.85rem;
    font-weight: 800;
    color: #1e3b2c;
}

.profit-badge {
    background: #e8b12c15;
    color: #7e9904;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 30px;
    display: inline-block;
}

/* ======================
   PROFIT BOX
====================== */

.profit-wrapper {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-top: 12px;
}


/* ======================
   CURRENT PROFIT
====================== */

.profit-current {

    background: #f5f3e8;
    padding: 2px 8px;
    border-radius: 30px;
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    gap: 4px;
    align-items: center;
    justify-content: center;
}


.profit-current small {
    font-size: 12px;
    color: #666;
    font-weight: 600;
}


.profit-current strong {
    color: #7a8b00;
    font-size: 13px;
    font-weight: 700;
}


/* ======================
   PREMIUM DISABLED
====================== */

.profit-premium-disabled {
    background: #f7f7f7;
    border: 1px dashed #ddd;
    padding: 2px 8px;
    border-radius: 30px;
    display: flex;

    opacity: .55;
    filter: grayscale(.2);
    cursor: not-allowed;
    gap: 5px;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
}


.profit-premium-disabled small {

    font-size: 12px;

    color: #999;
}


.profit-premium-disabled strong {

    font-size: 13px;

    color: #999;

    font-weight: 700;
}

.profit-amount {
    font-size: 0.8rem;
    font-weight: 800;
    color: #7e9904;
}

.action-buttons {
    display: flex;
    gap: 8px;
    margin-top: 0.8rem;
}

.btn-copy,
.btn-wa-share {
    flex: 1;
    padding: 6px;
    border-radius: 40px;
    font-size: 0.65rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-copy {
    background: #f0ebe0;
    color: #5a6e5f;
}

.btn-copy:hover {
    background: #e8b12c;
    color: white;
}

.btn-wa-share {
    background: #25D366;
    color: white;
}

.btn-wa-share:hover {
    background: #1ebe5d;
}


.category-tabs {

    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}

.category-btn {

    border: none;

    padding: 3px 16px;

    border-radius: 5px;

    background: #e8b12c15;

    font-size: 14px;

    cursor: pointer;
    color: #655d04;
}

.category-btn.active {

    background: #e8b12c;

    color: #fff;
}

.modal-message {

    margin-top: 15px;

    padding: 12px;

    border-radius: 8px;

    font-size: 13px;

    display: none;
}

.modal-message.success {

    background: #e8f7ee;

    color: #198754;
}

.modal-message.error {

    background: #fdeaea;

    color: #dc3545;
}

/* ========== BOTTOM NAVIGATION BAR (Mobile Friendly) ========== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 8px 6px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    border-top: 1px solid #f0e4cf;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #b8aa92;
    text-decoration: none;
    font-size: 0.7rem;
    transition: 0.2s;
    padding: 4px 12px;
    border-radius: 40px;
}

.nav-item i {
    font-size: 1.2rem;
}

.nav-item.active {
    color: #fcd16e;
    background: #e8b12c10;
}

.nav-item:hover {
    color: #fbcf68;
}

/* More Menu - Hidden by default */
.more-menu {
    position: fixed;
    bottom: 70px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
    min-width: 160px;
    display: none;
    z-index: 1001;
    border: 1px solid #f0e4cf;
}

.more-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    color: #4a5e53;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
}

.more-menu a:hover {
    background: #fefaf0;
    color: #e8b12c;
}

.more-menu.show {
    display: block;
}

/* Desktop Sidebar (hidden on mobile) */
.desktop-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background: #1e2f28;
    color: #e2e0cf;
    padding: 1.5rem 0;
    z-index: 99;
    overflow-y: auto;
}

.sidebar-header {
    text-align: center;
    padding: 0 1rem 1.5rem;
    border-bottom: 1px solid #2f443a;
    margin-bottom: 1rem;
}

.sidebar-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e8b12c;
}

.sidebar-header p {
    font-size: 0.7rem;
    color: #b8c6bb;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: #cfddcf;
    text-decoration: none;
    transition: 0.2s;
}

.menu-item:hover,
.menu-item.active {
    background: #2f443a;
    color: #fdcf63;
    border-left: 3px solid #e8b12c;
}

.menu-item i {
    width: 24px;
}

/* Content wrapper for desktop */
.content-wrapper {
    margin-left: 260px;
    padding: 0px 30px;
}



.view-all {
    color: #e8b12c;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Recent Orders Table */
.recent-orders {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid #f0e4cf;
}

.table-responsive td,
.table-responsive tr {
    white-space: nowrap;
}

.order-table {
    width: 100%;
    font-size: 0.8rem;
}

.order-table th {
    text-align: left;
    padding: 10px 8px;
    color: #7a8e7f;
    font-weight: 600;
    border-bottom: 1px solid #f0e2cf;
}

.order-table td {
    padding: 6px;
    border-bottom: 1px solid #f5efe5;
    color: #2d4a3a;
}

.status-badge {
    background: #e8b12c15;
    color: #c27e2e;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}

.status-delivered {
    background: #28a74515;
    color: #28a745;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.5rem;
}

.action-btn {
    background: white;
    border: 1px solid #f0e4cf;
    border-radius: 60px;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e3b2c;
    text-decoration: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.action-btn:hover {
    background: #e8b12c;
    color: white;
    border-color: #e8b12c;
}

/* order page */
/* Filters */
.filters-bar {
    background: white;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    border: 1px solid #f0e4cf;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #5a6e5f;
}

.filter-select {
    padding: 8px 16px;
    border: 1.5px solid #e8dfcf;
    border-radius: 40px;
    background: white;
    font-size: 0.8rem;
}

.search-input {
    /* padding: 8px 16px;
    border: 1.5px solid #e8dfcf;
    border-radius: 40px;
    width: 220px; */

    padding: 8px 16px;
    border: 1.5px solid #e8dfcf;
    border-radius: 40px;
    background: white;
    font-size: 0.8rem;
}



.btn-apply {
    background: #e8b12c;
    color: #1e2a1f;
    border: none;
    border-radius: 40px;
    padding: 4px 20px;
    font-weight: 600;
    font-size: 14px;
}

/* Orders Table */
.orders-container {
    background: white;
    border-radius: 10px;
    padding: 0.5rem;
    border: 1px solid #f0e4cf;
}

.orders-table {
    width: 100%;
    font-size: 0.85rem;
}

.orders-table th {
    text-align: left;
    padding: 12px 8px;
    background: #fefaf3;
    border-radius: 0px;
    color: #5a6e5f;
}

.orders-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #f0e2cf;
    vertical-align: middle;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 60px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
}

.status-pending {
    background: #ffe6b3;
    color: #cc7a00;
}

.status-processing {
    background: #cce5ff;
    color: #004080;
}

.status-shipped {
    background: #cdfdff;
    color: #004080;
}

.status-confirmed {
    background: #d4edda;
    color: #155724;
}

.status-delivered {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin: 0 5px;
    transition: 0.2s;
}

.action-btn.view {
    color: #e8b12c;
}

.action-btn.edit {
    color: #17a2b8;
}

.action-btn.confirm {
    color: #28a745;
}

.action-btn.cancel {
    color: #dc3545;
}

.action-btn:hover {
    transform: scale(1.1);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.page-btn {
    padding: 2px 10px;
    border: 1px solid #e8dfcf;
    background: white;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.2s;
}

.page-btn.active {
    background: #e8b12c;
    color: white;
    border-color: #e8b12c;
}

.page-btn:hover:not(.active) {
    background: #f0ebe0;
}

/* Modal */
.modal-custom {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: scroll;
}

.modal-content {
    background: white;
    border-radius: 10px;
    max-width: 500px;
    /* width: 90%; */
    padding: 0.8rem;
    text-align: center;
}


.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-header-custom {
    border-bottom: 1px solid #f0ebe0;
    padding-bottom: 8px;
}

.modal-header-custom .btn-close {
    font-size: 13px !important;
}

.modal-header-custom .modal-title {
    color: #cd9a2c;
}


.btn-save {
    background: #f9d686;
    color: #1e2a1f;
    border: none;
    border-radius: 60px;
    padding: 7px 24px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    margin-top: 10px;
}

.btn-save:disabled {

    opacity: 0.7;

    cursor: not-allowed;
}

.detail-row {
    padding: 4px 0;
    border-bottom: 1px solid #f0e2cf;
    font-size: 14px;
}

.detail-label {
    font-weight: 600;
    width: 100px;
    display: inline-block;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 1.5rem;
}

.modal-btnmodal-btn {
    padding: 10px 24px;
    border-radius: 60px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.modal-btn.confirm {
    background: #28a745;
    color: white;
}

.modal-btn.cancel {
    background: #dc3545;
    color: white;
}

.modal-btn.close {
    background: #e8dfcf;
}

.modal-custom .modal-btn {
    padding: 2px 15px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
}

.status-badge.pending {

    background: #fff3cd;
    color: #856404;
}

.status-badge.approved {

    background: #d4edda;
    color: #155724;
}

.status-badge.rejected {

    background: #f8d7da;
    color: #721c24;
}

/* eraning apge */

/* Month-wise Earnings Section */
.monthly-section {
    background: white;
    border-radius: 10px;
    padding: 0.7rem;
    border: 1px solid #f0e4cf;
    margin-bottom: 1.5rem;
}

.monthly-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
    gap: 15px;
}

.year-select {
    padding: 8px 16px;
    border: 1.5px solid #e8dfcf;
    border-radius: 40px;
    background: white;
    font-weight: 500;
}

.monthly-table {
    width: 100%;
    font-size: 0.85rem;
}

.monthly-table th {
    text-align: left;
    padding: 12px 8px;
    background: #fefaf3;
    border-radius: 0px;
    color: #5a6e5f;
}

.monthly-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f0e2cf;
}

.monthly-profit {
    color: #28a745;
    font-weight: 600;
}

/* Order-wise Profit Section */
.orders-section {
    background: white;
    border-radius: 10px;
    padding: 0.7rem;
    border: 1px solid #f0e4cf;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
    gap: 15px;
}

.section-header h5 {
    margin: 0;
    font-weight: 700;
    color: #1e3b2c;
}

.profit-table {
    width: 100%;
    font-size: 0.85rem;
}

.profit-table th {
    text-align: left;
    padding: 12px 8px;
    background: #fefaf3;
    border-radius: 0px;
    color: #5a6e5f;
}

.profit-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f0e2cf;
}

/* .profit-amount {
    color: #28a745;
    font-weight: 600;
} */


/* Leads Table */
.leads-container {
    background: white;
    border-radius: 10px;
    padding: 0.5rem;
    border: 1px solid #f0e4cf;
}

.leads-table {
    width: 100%;
    font-size: 0.85rem;
}

.leads-table th {
    text-align: left;
    padding: 12px 8px;
    background: #fefaf3;
    border-radius: 0px;
    color: #5a6e5f;
}

.leads-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #f0e2cf;
    vertical-align: middle;
}


.status-new {
    background: #cce5ff;
    color: #004080;
}

.status-contacted {
    background: #fff3cd;
    color: #856404;
}

.status-converted {
    background: #d4edda;
    color: #155724;
}

.status-lost {
    background: #f8d7da;
    color: #721c24;
}

.status-rejected {

    background: #ffe2e2;

    color: #d63031;
}

.status-select {
    padding: 4px 8px;
    border-radius: 40px;
    border: 1px solid #e8dfcf;
    font-size: 0.7rem;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin: 0 5px;
    transition: 0.2s;
    padding: 5px;
}

.action-btn.view {
    color: #17a2b8;
}

.action-btn.whatsapp {
    color: #25D366;
}

.action-btn:hover {
    transform: scale(1.1);
}

.btn-add-lead {
    background: #e8b12c;
    color: #1e2a1f;
    border: none;
    border-radius: 60px;
    padding: 8px 20px;
    font-weight: 600;
    transition: 0.2s;
}

.btn-add-lead:hover {
    background: #d49c1c;
    transform: translateY(-2px);
}

/* new order */




.customer-form,
.product-selector,
.cart-container,
.order-summary {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #f0e4cf;
    margin-bottom: 1.5rem;
}


.form-control-custom:focus {
    outline: none;
    border-color: #e8b12c;
}

.product-select-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    /* align-items: flex-end; */
}

.product-select-row .form-group {
    flex: 2;
}

.product-select-row select {
    background: white;
    cursor: pointer;
}

.qty-input {
    width: 100px;
    padding: 6px;
    border: 1.5px solid #e8dfcf;
    border-radius: 14px;
    text-align: center;
}

.btn-add {
    background: #e8b12c;
    color: #1e2a1f;
    border: none;
    border-radius: 60px;
    padding: 7px 24px;
    font-weight: 600;
    transition: 0.2s;
    font-size: 14px;
}

.addProductBtn {
    font-size: 13px;
}

.btn-add:hover {
    background: #d49c1c;
    transform: translateY(-2px);
}

.cart-table {
    width: 100%;
    font-size: 0.85rem;
}

.cart-table th {
    text-align: left;
    padding: 12px 8px;
    color: #7a8e7f;
    border-bottom: 2px solid #f0e2cf;
}

.cart-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #f5efe5;
    vertical-align: middle;
}

.remove-btn {
    background: none;
    border: none;
    color: #e8b12c;
    cursor: pointer;
    font-size: 1rem;
}

.remove-btn:hover {
    color: #d49c1c;
}

.order-summary {
    position: sticky;
    top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0e2cf;

}

.partner-info-box {
    font-size: 13px;
    padding: 0px;
    line-height: 20px;
}

.total-summary-row {
    border-bottom: none;
    font-size: 1.1rem;
    font-weight: 800;
    background: #fff8e8;
    border-radius: 10px;
    padding: 10px;
    margin-top: 8px;
}

.profit-row {
    background: #e8b12c10;
    border-radius: 10px;
    padding: 12px;
    margin: 12px 0;
}

.profit-row .amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: #e8b12c;
}

.discount-row {
    background: #ffe6e6;
    border-radius: 10px;
    padding: 12px;
    margin: 8px 0;
}

.discount-row input {
    width: 100px;
    padding: 6px;
    border: 1px solid #e8b12c;
    border-radius: 12px;
    text-align: center;
}

.delivery-row {
    background: #e8f4e8;
    border-radius: 10px;
    padding: 12px;
    margin: 8px 0;
}

.delivery-free {
    color: #28a745;
    font-weight: 600;
}

.delivery-charge {
    color: #e8b12c;
    font-weight: 600;
}

.btn-place-order {
    width: 100%;
    background: #e8b12c;
    color: #1e2a1f;
    border: none;
    border-radius: 60px;
    padding: 4px 15px;
    font-size: 14px;
    font-weight: 700;
    margin-top: 1rem;
    transition: 0.2s;
}

.btn-place-order:hover {
    background: #d49c1c;
    transform: translateY(-2px);
}

.btn-update-order {
    width: 100%;
    background: #e8b12c;
    color: #1e2a1f;
    border: none;
    border-radius: 60px;
    padding: 8px;
    font-weight: 700;
    margin-top: 1rem;
    transition: 0.2s;
}

.btn-update-order:hover {
    background: #d49c1c;
    transform: translateY(-2px);
}

.btn-cancel {
    width: 100%;
    background: #f0ebe0;
    color: #5a6e5f;
    border: none;
    border-radius: 60px;
    padding: 8px;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* invoice */

.invoice-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.invoice-card {
    background: white;
    border-radius: 10px;
    margin-top: 10px;
    padding: 2rem;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0e4cf;
}

/* Invoice Header */
.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed #f0e2cf;
    margin-bottom: 1.5rem;
}

.brand h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e3b2c;
    margin: 0;
}

.brand span {
    color: #e8b12c;
}

.brand p {
    font-size: 0.7rem;
    color: #7a8e7f;
    margin: 0;
}

.invoice-title h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e3b2c;
    margin: 0;
}

.invoice-title p {
    font-size: 0.75rem;
    color: #7a8e7f;
    margin: 0;
}

/* Customer & Order Details */
.details-section {
    background: #fefaf3;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.detail-box h6 {
    font-size: 0.7rem;
    color: #7a8e7f;
    margin-bottom: 4px;
}

.detail-box p {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e3b2c;
    margin: 0;
}

/* Product Table */
.product-table {
    width: 100%;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.product-table th {
    text-align: left;
    padding: 12px 8px;
    background: #fefaf3;
    color: #5a6e5f;
}

.product-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f0e2cf;
}

.payment-section {
    flex: 1;
    background: #fefaf3;
    border-radius: 10px;
    padding: 1.2rem;
}

.qr-box {
    text-align: center;
    margin-bottom: 1rem;
}

.qr-code {
    width: 160px;
    height: 160px;
    background: white;
    margin: 0 auto;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.upi-details {
    background: white;
    border-radius: 16px;
    padding: 12px;
    margin-top: 12px;
}

.copy-btn {
    background: #e8b12c;
    border: none;
    border-radius: 40px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 8px;
}

.bank-details {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0e2cf;
}

.btn-wa-pay {
    background: #25D366;
    color: white;
    border: none;
    border-radius: 60px;
    padding: 10px;
    width: 100%;
    font-weight: 600;
    margin-top: 12px;
    transition: 0.2s;
    font-size: 14px;
}

.btn-wa-pay:hover {
    background: #1ebe5d;
}


/* Summary */
.summary-box {
    background: #fefaf3;
    border-radius: 10px;
    padding: 1.2rem;
    max-width: 350px;
    margin-left: auto;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.summary-row.total {
    border-top: 2px solid #e8b12c;
    margin-top: 8px;
    padding-top: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e3b2c;
}

.discount-text {
    color: #28a745;
}

.delivery-text {
    color: #e8b12c;
}

/* Footer */
.invoice-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #f0e2cf;
    font-size: 0.7rem;
    color: #b8aa92;
}

.invoice-footer p {
    margin-bottom: 7px;
}

.btn-print {
    background: #ffdd89;
    color: #1e2a1f;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: 0.2s;
    font-size: 14px;
}

.btn-print:hover {
    background: #d49c1c;
    transform: translateY(-2px);
}

/* Profile Sections */
.profile-section {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #f0e4cf;
    margin-bottom: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f0e2cf;
}

.section-header h5 {
    margin: 0;
    font-weight: 700;
    color: #1e3b2c;
}

.edit-btn {
    background: none;
    border: none;
    color: #e8b12c;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
}

.edit-btn:hover {
    text-decoration: underline;
}

.profile-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.profile-label {
    width: 140px;
    font-weight: 600;
    color: #5a6e5f;
    font-size: 0.85rem;
}

.profile-value {
    flex: 1;
    color: #1e3b2c;
    font-size: 0.85rem;
}

.kyc-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 60px;
    font-size: 0.7rem;
    font-weight: 600;
}

.kyc-verified {
    background: #d4edda;
    color: #155724;
}

.kyc-pending {
    background: #fff3cd;
    color: #856404;
}

.kyc-submitted {
    background: #cce5ff;
    color: #004080;
}

/* setting */
.settings-section {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #f0e4cf;
    margin-bottom: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f0e2cf;
}

.section-header h5 {
    margin: 0;
    font-weight: 700;
    color: #1e3b2c;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0e2cf;
    flex-wrap: wrap;
    gap: 15px;
}

.setting-row:last-child {
    border-bottom: none;
}

.setting-info {
    flex: 1;
    min-width: 160px;
}

.setting-title {
    font-weight: 600;
    color: #1e3b2c;
    font-size: 0.9rem;
}

.setting-desc {
    font-size: 0.7rem;
    color: #7a8e7f;
    margin-top: 2px;
}

.setting-control {
    flex: 2;
    min-width: 250px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e8dfcf;
    transition: 0.3s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: #f9d379;
}

input:checked+.toggle-slider:before {
    transform: translateX(26px);
}

.setting-input {
    padding: 7px 16px;
    border: 1px solid #e8dfcf;
    border-radius: 40px;
    background: white;
    font-size: 0.85rem;
    width: 100%;
}

.setting-input:focus {
    border: 1px solid #e8dfcf !important;
}

.domain-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.domain-group .setting-input {
    flex: 2;
    min-width: 150px;
}

.domain-suffix {
    font-size: 0.85rem;
    color: #7a8e7f;
    background: #f5f2eb;
    padding: 8px 12px;
    border-radius: 40px;
}

.btn-yellow {
    background: #ffdb84;
    color: #1e2a1f;
    border: none;
    border-radius: 40px;
    padding: 7px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.btn-yellow:hover {
    background: #ffeab9;
}



.logo-preview {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #e8dfcf;
    margin-right: 10px;
    vertical-align: middle;
}

.status-available {
    color: #28a745;
    font-size: 0.75rem;
    margin-top: 8px;
    display: block;
}

.status-unavailable {
    color: #dc3545;
    font-size: 0.75rem;
    margin-top: 8px;
    display: block;
}

.status-checking {
    color: #e8b12c;
    font-size: 0.75rem;
    margin-top: 8px;
    display: block;
}

.premium-badge {
    background: #e8b12c;
    color: #1e2a1f;
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 60px;
    margin-left: 8px;
}

.danger-zone {
    border: 1px solid #f8d7da;
    background: #fff5f5;
}

.danger-zone .section-header h5 {
    color: #dc3545;
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 60px;
    padding: 5px 24px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}



/* .modal-content {
    background: white;
    border-radius: 28px;
    max-width: 450px;
    width: 90%;
    padding: 1.5rem;
} */

.form-input {
    width: 100%;
    padding: 10px;
    border: 1.5px solid #e8dfcf;
    border-radius: 14px;
    margin-bottom: 12px;
}

/* login page */


/* login page  */

.login-wrapper {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /* min-height: 100vh; */
    /* padding: 20px; */
    margin-bottom: 0;
}

.login-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem 1.8rem;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    border: 1px solid #f0ebe0;
    width: 100%;
}

.brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.error-message {
    color: red;
    font-size: 13px;
}

.brand-tagline {
    font-size: 0.8rem;
    color: #7c8f82;
    letter-spacing: 0.3px;
}

/* Brand Section */
.brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-brand-logo img {
    width: 140px;

}

.brand-logo span {
    color: #e8b12c;
}

.brand-tagline {
    font-size: 0.8rem;
    color: #7c8f82;
    letter-spacing: 0.3px;
}

.brand-icon {
    width: 65px;
    height: 65px;
    background: #fef5e8;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.brand-icon i {
    font-size: 2rem;
    color: #e8b12c;
}

/* Form Styles */
.form-title {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-align: center;
}

.form-subtitle {
    font-size: 0.85rem;
    color: #7a8e7f;
    margin-bottom: 1.2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: #2d4a3a;
    margin-bottom: 0.5rem;
    display: block;
    text-align: start;
}

.form-text {
    font-size: 12px;
    padding: 0;
    /* margin: 0; */
    margin-top: 0;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #c2b59b;
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.form-control-custom2 {
    width: 100%;
    padding: 8px 16px 8px 40px;
    border: 1.5px solid #e8dfcf;
    border-radius: 6px;
    font-size: 0.8rem;
    background: #ffffff;
    transition: all 0.2s;
    color: #1e2f28;
}

.form-control-custom2:focus {
    outline: none;
    border-color: #e8b12c;
}

.form-control-custom {
    width: 100%;
    padding: 8px;
    border: 1.5px solid #e8dfcf;
    border-radius: 6px;
    font-size: 0.8rem;
    background: #ffffff;
    transition: all 0.2s;
    color: #1e2f28;
    margin-bottom: 6px;
}


.form-control-custom:focus {
    outline: none;
    border-color: #e8b12c;
    box-shadow: 0 0 0 3px rgba(232, 177, 44, 0.12);
}

.form-control-custom::placeholder {
    color: #c2b59b;
    font-weight: 400;
}

/* Password Toggle - Fixed Position */
.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #b8aa92;
    cursor: pointer;
    padding: 8px;
    font-size: 1rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.password-toggle:hover {
    color: #e8b12c;
}

.password-toggle:focus {
    outline: none;
}

/* Options Row */
.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-wrapper input {
    width: 16px;
    height: 16px;
    accent-color: #e8b12c;
    cursor: pointer;
}

.checkbox-wrapper label {
    font-size: 0.8rem;
    color: #5a6e5f;
    cursor: pointer;
    margin: 0;
}

.forgot-link {
    font-size: 0.8rem;
    color: #c27e2e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: #a06420;
    text-decoration: underline;
}

/* Login Button */
.btn-login {
    width: 100%;
    background: #e8b12c;
    color: #000000;
    border: none;
    border-radius: 60px;
    padding: 14px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 20px;
}

.btn-login:hover {
    background: #d49c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(232, 177, 44, 0.25);
}

/* Register Section */
.register-section {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0e8dd;
}

.register-section p {
    font-size: 0.8rem !important;
    color: #6b7b6e;
    margin: 0;
}

.register-section a {
    color: #e8b12c;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.register-section a:hover {
    color: #c27e2e;
    text-decoration: underline;
}

/* Reseller Info Box */
.reseller-info {
    background: #fefaf3;
    border-radius: 5px;
    padding: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    border: 1px solid #f0e4cf;
}

.reseller-info p {
    font-size: 12px !important;
    color: #8f9e93;
    margin: 0;
}

.reseller-info i {
    color: #e8b12c;
    margin-right: 5px;
}


/* support page */



/* Relationship Manager Card */
.rm-card {
    background: linear-gradient(135deg, #1e3b2c 0%, #2a5a44 100%);
    border-radius: 10px;
    padding: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.rm-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: rgba(232, 177, 44, 0.1);
    border-radius: 50%;
}

.rm-badge {
    background: #fff1d1;
    color: #1e2a1f;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 60px;
    display: inline-block;
    margin-bottom: 1rem;
}

.rm-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.rm-title {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 1.2rem;
}

.rm-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.rm-contact-item i {
    width: 24px;
    color: #e8b12c;
    font-size: 16px;

}

.rm-contact-item a {
    color: white;
    text-decoration: none;
}

.rm-contact-item a:hover {
    color: #e8b12c;
}

.btn-contact-rm {
    background: #ffdf96;
    color: #1e2a1f;
    border: none;
    border-radius: 60px;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    width: auto;
    margin-top: 1rem;
    transition: 0.2s;
}

.btn-contact-rm:hover {
    background: #ffe19a;
    transform: translateY(-2px);
}

/* Support Cards */
/* Support Cards */
.support-card {
    background: white;
    border-radius: 10px;
    padding: 1.8rem;
    border: 1px solid #f0e4cf;
    margin-bottom: 1.5rem;
    transition: all 0.2s;
}

.support-card:hover {
    transform: translateY(-3px);
    border-color: #e8b12c60;
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.08);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px solid #f0e2cf;
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: #fefaf3;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #e8b12c;
}

/* Form Styles */


.btn-send {
    background: #e8b12c;
    color: #1e2a1f;
    border: none;
    border-radius: 60px;
    padding: 8px;
    font-weight: 700;
    width: 100%;
    transition: 0.2s;
}

.btn-send:hover {
    background: #d49c1c;
    transform: translateY(-2px);
}

.btn-wa {
    background: #25D366;
    color: white;
    border: none;
    border-radius: 60px;
    padding: 10px 20px;
    font-weight: 600;
}


/* Hide scrollbar but allow scrolling */
.hide-scrollbar {
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Opera */
}

/* Header Section */

/* Ticket Card Styles */
.ticket-card {
    background: white;
    border-radius: 10px;
    border: none;
    transition: all 0.25s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.ticket-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.12);
}

.card-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.card-top-bar.open {
    background: #E67E22;
}

.card-top-bar.progress {
    background: #1565C0;
}

.card-top-bar.resolved {
    background: #2E7D32;
}

.card-top-bar.closed {
    background: #475569;
}

.status-badge {
    padding: 5px 14px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-open {
    background: #FFF3E0;
    color: #E67E22;
}

.status-progress {
    background: #E1F0FA;
    color: #1565C0;
}

.status-resolved {
    background: #E3F7EC;
    color: #2E7D32;
}

.status-closed {
    background: #E2E8F0;
    color: #475569;
}

.priority-high {
    background: #FEE2E2;
    color: #DC2626;
    padding: 3px 10px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
}

.priority-medium {
    background: #FEF3C7;
    color: #D97706;
    padding: 3px 10px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
}

.priority-low {
    background: #D1FAE5;
    color: #059669;
    padding: 3px 10px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
}

.ticket-id {
    font-family: monospace;
    font-size: 0.75rem;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 600;
}

.btn-view {
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 60px;
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
    width: 100%;
    color: #334155;
}

.btn-view:hover {
    background: #c47a2e;
    border-color: #c47a2e;
    color: white;
}

/* Professional Modal - Scroll without scrollbar */
.detail-modal .modal-content {
    border-radius: 10px;
    border: none;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-body-scroll {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.1rem;
}

.modal-body-scroll::-webkit-scrollbar {
    display: none;
}

.modal-footer-custom {
    flex-shrink: 0;
    background: #f8fafc;
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
}

.detail-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 0.6rem;
    margin-bottom: 1rem;
}

.reply-box {
    background: #ecfdf5;
    border-left: 4px solid #059669;
    border-radius: 8px;
    padding: 0.5rem 0.9rem;
    margin-top: 1rem;
    font-size: 14px;
}

.info-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.info-label {
    font-weight: 600;
    color: #475569;
    min-width: 100px;
    font-size: 0.8rem;
}

.info-value {
    color: #1e293b;
    font-size: 0.85rem;
    word-break: break-word;
}

.divider-light {
    height: 1px;
    background: #e2e8f0;
    margin: 1rem 0;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 32px;
    color: #94a3b8;
}

@media (max-width: 768px) {

    .info-label {
        min-width: 80px;
    }

    .modal-body-scroll {
        padding: 1rem;
    }
}

/* FAQ Accordion */
.faq-item {
    background: #fefaf5;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #f0e4cf;
    overflow: hidden;
}

.faq-question {
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #1e3b2c;
    font-size: 15px;
}

.faq-question:hover {
    background: #fff8ed;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    color: #5a6e63;
    font-size: 14px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.2rem 1.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* wallete page */


.welcome-text h4 {
    font-size: 1.1rem;
    margin: 0;
    color: #1e3b2c;
}

/* Wallet Balance Card */
.wallet-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1rem;
    color: white;
    margin-bottom: 1.5rem;
}

.balance-label {
    font-size: 0.8rem;
    opacity: 0.8;
    letter-spacing: 1px;
    color: #000000;
}

.balance-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #de9e4a;
}

.wallet-id {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Recharge Section */
.recharge-card {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid #f0e4cf;
    margin-bottom: 1.5rem;
}

.qr-box {
    text-align: center;
    padding: 1rem;
    background: #fefaf3;
    border-radius: 10px;
}

.qr-code {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    padding: 10px;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.upi-details,
.bank-details {
    background: #fefaf3;
    border-radius: 10px;
    padding: 12px;
    margin-top: 12px;
}

.copy-btn {
    background: #e8b12c;
    border: none;
    border-radius: 40px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 8px;
}

.recharge-input-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.recharge-input {
    flex: 1;
    padding: 6px;
    border: 1.5px solid #e8dfcf;
    border-radius: 60px;
    text-align: center;
}

.btn-recharge {
    background: #e8b12c;
    color: #1e2a1f;
    border: none;
    border-radius: 60px;
    padding: 6px 24px;
    font-size: 14px;
    font-weight: 600;
}

/* History Tables */
.history-section {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #f0e4cf;
    margin-bottom: 1.5rem;
}

.history-tabs {
    display: flex;
    gap: 15px;
    border-bottom: 2px solid #f0e2cf;
    margin-bottom: 1.2rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 0;
    font-weight: 600;
    color: #7a8e7f;
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    color: #e8b12c;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e8b12c;
}

.history-table {
    width: 100%;
    font-size: 0.85rem;
}

.history-table th {
    text-align: left;
    padding: 12px 8px;
    background: #fefaf3;
    border-radius: 12px;
    color: #5a6e5f;
}

.history-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f0e2cf;
}

.credit {
    color: #28a745;
    font-weight: 600;
}

.debit {
    color: #dc3545;
    font-weight: 600;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}


/* .btn-recharge-trigger {
            background: #c47a2e;
            color: white;
            border: none;
            border-radius: 60px;
            padding: 14px 28px;
            font-weight: 700;
            font-size: 1.1rem;
            transition: 0.2s;
            box-shadow: 0 4px 12px rgba(196,122,46,0.3);
        }
        .btn-recharge-trigger:hover {
            background: #a5661f;
            transform: translateY(-2px);
        } */
/* Modal Styling */
.recharge-modal {
    border-radius: 32px;
    border: none;
    /* overflow: hidden; */
}


.btn-submit-recharge {
    background: #ffdb83;
    border: none;
    border-radius: 5px;
    padding: 7px 12px;
    font-weight: 700;
    color: rgb(0, 0, 0);
    width: 100%;
    font-size: 14px;
}

.instruction-box {
    background: #fef9e6;
    border-radius: 10px;
    padding: 1rem;
    border-left: 3px solid #ffcc99;
    font-size: 0.8rem;
}

.qr-simple {
    background: #f8fafc;
    border-radius: 20px;
    padding: 12px;
    text-align: center;
}

.copy-badge {
    cursor: pointer;
    background: #e9ecef;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.copy-badge:hover {
    background: #c47a2e;
    color: white;
}

.amount-input-wrapper {
    position: relative;
}

.rupee-symbol {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    z-index: 2;
}

.amount-input-wrapper input {
    padding-left: 35px;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-sidebar {
        display: none;
    }

    .content-wrapper {
        margin-left: 0;
        padding: 5px;
    }

    .bottom-nav {
        display: flex;
    }

    .main-content {
        /* padding: 15px; */
    }

    .stat-card h3 {
        font-size: 1rem;
    }

    .stat-card i {
        font-size: 1.4rem;
    }

    .section-header h2 {
        font-size: 1.1rem;
    }

    .search-box input {
        width: 180px;
    }

    .orders-table {
        font-size: 0.7rem;
    }

    .action-btn {
        font-size: 0.8rem;
    }

    .stats-row {
        flex-direction: column;
    }

    .stat-card {
        padding: 0.5rem 0.3rem;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    .monthly-table,
    .profit-table {
        font-size: 0.7rem;
    }


    .leads-table {
        font-size: 0.7rem;
    }

    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input {
        width: 100%;
    }

    .product-select-row {
        flex-direction: column;
        gap: 0px;
    }

    .qty-input {
        width: 100%;
    }

    .invoice-card {
        padding: 1.2rem;
    }

    .summary-box {
        max-width: 100%;
        font-size: 13px;
        padding: 0.6rem;
    }

    .summary-box .total {
        font-size: 13px;
    }

    .partner-info-box {
        font-size: 13px;
    }

    .product-table {
        font-size: 0.7rem;
    }


    .profile-row {
        flex-direction: column;
    }

    .profile-label {
        width: 100%;
        margin-bottom: 5px;
    }

    .mobile-logo {
        display: block;
    }

    .setting-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .setting-control {
        width: 100%;
    }

    .domain-group {
        flex-direction: column;
        align-items: stretch;
    }

    .rm-name {
        font-size: 1.2rem;
    }

    .support-card {
        padding: 1.2rem;
    }

    .support-card {
        padding: 1.2rem;
    }

    .contact-method {
        gap: 12px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .customer-form,
    .product-selector,
    .cart-container,
    .order-summary {
        padding: 0.8rem 0.5rem;
    }

    .balance-amount {
        font-size: 1.5rem;
    }

    .recharge-input-group {
        flex-direction: column;
    }

    .reseller-badge {
        font-size: 0.65rem;
    }

    .history-tabs {
        font-size: 14px;
    }

    .upi-details,
    .bank-details {
        font-size: 13px;
    }

    .farmitilogo {
        width: 120px;
    }

    .rm-card {
        padding: 0.7rem;

    }
    .rm-contact-item{
gap:6px;
margin-bottom: 10px;
font-size: 13px;
    }

}

@media (max-width: 480px) {
    .dropdown-menu-custom {
        right: 10px;
        min-width: 150px;
    }

    .top-nav {
        padding: 0.6rem 0.3rem;
    }

    .nav-icons {
        gap: 2px
    }

    .login-card {
        padding: 1.3rem;
    }

    .login-brand-logo img {
        width: 130px;

    }


    .options-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}