.login-container{width:100%;height:100vh;display:flex;justify-content:center;align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.login-card{width:100%;max-width:400px;box-shadow:0 10px 40px #0003;border-radius:12px}.login-header{text-align:center;margin-bottom:32px}.login-footer{text-align:center;margin-top:16px}.dashboard-header{background:linear-gradient(135deg,#667eea,#764ba2);padding:0 24px;box-shadow:0 2px 8px #0000001a}.dashboard-header-content{display:flex;justify-content:space-between;align-items:center;height:100%}.ant-layout-sider .ant-menu{max-height:calc(100vh - 64px);overflow-y:auto;overflow-x:hidden}.rates-dashboard-card{background:#fff;border-radius:12px;box-shadow:0 2px 12px #00000014;padding:20px 24px;margin-top:16px}.rates-dashboard-card .rates-section-title{font-size:18px;font-weight:600;margin:0 0 16px;color:#1f2937}.rates-dashboard-card .rates-header-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.rates-dashboard-card .rate-box{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:10px;font-weight:600;font-size:15px;color:#1f2937;min-width:100px}.rates-dashboard-card .rate-box-gold-green{background:#d1fae5;color:#065f46}.rates-dashboard-card .rate-box-gold-pink{background:#fce7f3;color:#9d174d}.rates-dashboard-card .rate-box-silver{background:#e0e7ff;color:#3730a3}.rates-dashboard-card .gold-row{display:flex;align-items:center;gap:16px;margin-bottom:12px}.rates-dashboard-card .gold-row .carat-label{width:90px;font-weight:500;color:#4b5563}.rates-dashboard-card .gold-row .gold-grams{display:flex;gap:12px}.rates-dashboard-card .silver-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:8px}.rates-dashboard-card .silver-item{display:flex;flex-direction:column;align-items:center;gap:6px}.rates-dashboard-card .silver-item .silver-weight{font-size:13px;color:#6b7280;font-weight:500}@media (max-width: 768px){.rates-dashboard-card .silver-grid{grid-template-columns:repeat(2,1fr)}}.pending-payment-card{margin-top:24px;width:100%;border-radius:14px;overflow:hidden;box-shadow:0 4px 20px #f59e0b1f;border:1px solid rgba(245,158,11,.2)}.pending-payment-card .ant-card-head{background:linear-gradient(135deg,#fef3c7,#fde68a,#fcd34d);border-bottom:1px solid rgba(245,158,11,.25);padding:14px 20px;min-height:52px}.pending-payment-card .ant-card-head-title{font-weight:600;font-size:15px;color:#92400e;display:flex;align-items:center;gap:10px}.pending-payment-card .pending-payment-badge{background:#b4530933;color:#b45309;font-weight:700;font-size:12px;padding:2px 10px;border-radius:20px}.pending-payment-card .ant-card-body{padding:20px 24px;background:#fffbeb}.pending-payment-card .pending-payment-subtitle{color:#78716c;font-size:13px;margin-bottom:16px;display:block}.pending-payment-card .ant-table{background:transparent!important}.pending-payment-card .ant-table-thead>tr>th{background:#fef3c7cc!important;color:#92400e;font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid rgba(245,158,11,.35);padding:12px 16px}.pending-payment-card .ant-table-tbody>tr>td{padding:14px 16px;border-bottom:1px solid rgba(245,158,11,.15);color:#44403c}.pending-payment-card .ant-table-tbody>tr:hover>td{background:#fef3c766!important}.pending-payment-card .ant-table-tbody>tr:last-child>td{border-bottom:none}.pending-payment-card .pending-status-tag{font-weight:600;font-size:11px;padding:4px 10px;border-radius:6px;border:none}.pending-payment-card .pending-status-tag.pending{background:linear-gradient(135deg,#fed7aa,#fdba74);color:#9a3412}.pending-payment-card .pending-status-tag.partial{background:linear-gradient(135deg,#fef08a,#fde047);color:#854d0e}.pending-payment-card .pending-amount{font-weight:700;color:#b45309;font-size:14px}.pending-payment-card .pending-open-btn{border-radius:8px;font-weight:600;font-size:12px;background:linear-gradient(135deg,#d97706,#b45309);border:none;box-shadow:0 2px 8px #d9770659}.pending-payment-card .pending-open-btn:hover{background:linear-gradient(135deg,#b45309,#92400e)!important;border:none!important;box-shadow:0 4px 12px #d9770666;transform:translateY(-1px)}.pending-payment-card .pending-empty{color:#78716c;font-size:14px;padding:8px 0}:root{--app-header-height: 64px;--app-mobile-pad: 8px}#root{min-height:100vh;min-height:100dvh;overflow-x:hidden}.app-page-invoice-form{display:flex;flex-direction:column;height:calc(100vh - var(--app-header-height));height:calc(100dvh - var(--app-header-height));overflow:hidden}.app-module-page{width:100%;max-width:100%;overflow-x:hidden}.app-module-page>.ant-card,.app-module-page .ant-card{max-width:100%}@media (max-width: 768px){#root{height:auto!important;min-height:100dvh}.dashboard-header{padding:0 var(--app-mobile-pad)!important;height:auto!important;min-height:var(--app-header-height);line-height:1.2!important}.dashboard-header-content{flex-wrap:wrap;gap:8px;padding:8px 0;height:auto!important;min-height:48px}.dashboard-header-content .dashboard-header-title,.dashboard-header-content .ant-typography-title{font-size:14px!important;max-width:46vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-header-actions{flex:1 1 100%;justify-content:flex-end;flex-wrap:wrap;gap:6px!important}.dashboard-header-actions .ant-select{width:100%!important;max-width:100%!important}.dashboard-header-actions .ant-tag{margin:0}.dashboard-header-actions .header-user-text{display:none}.dashboard-main-layout{padding:var(--app-mobile-pad)!important}.dashboard-main-layout>.ant-layout-content{padding:0!important;min-height:auto!important;overflow-x:hidden}.dashboard-desktop-sider{display:none!important}.ant-layout-sider-collapsed+.ant-layout .dashboard-main-layout{margin-left:0!important}.app-module-page{padding:0}.app-module-page .ant-typography h1,.app-module-page .ant-typography h2,.app-module-page .ant-typography h3{font-size:1.15rem!important;line-height:1.35!important}.app-module-page>.ant-card>.ant-space:first-child,.app-module-page>div>.ant-card>.ant-space:first-child,.app-module-page .page-header-toolbar{flex-direction:column!important;align-items:stretch!important;width:100%!important;gap:10px!important}.app-module-page>.ant-card>.ant-space:first-child>.ant-space,.app-module-page .page-header-toolbar .ant-space{flex-wrap:wrap!important;width:100%!important;justify-content:flex-start!important}.app-module-page .ant-card-head{flex-wrap:wrap;min-height:auto!important;padding:10px 12px!important}.app-module-page .ant-card-head-wrapper{flex-wrap:wrap;gap:8px;align-items:flex-start!important}.app-module-page .ant-card-head-title{flex:1 1 100%;padding:0!important;white-space:normal!important;font-size:15px!important}.app-module-page .ant-card-extra{margin-inline-start:0!important;width:100%;padding:0!important}.app-module-page .ant-card-extra .ant-space{flex-wrap:wrap!important;width:100%}.app-module-page .ant-card-body{padding:10px 12px!important}.app-module-page .ant-row{margin-left:0!important;margin-right:0!important;row-gap:8px}.app-module-page .ant-col,.app-module-page [class*=ant-col-]{max-width:100%!important;flex:0 0 100%!important}.app-module-page .ant-col-xs-24,.app-module-page .ant-col-sm-24,.app-module-page .ant-col-md-24{flex:0 0 100%!important;max-width:100%!important}.app-module-page .ant-space{max-width:100%}.app-module-page .ant-space-horizontal{flex-wrap:wrap!important;gap:8px!important}.app-module-page .ant-space-horizontal .ant-space-item{max-width:100%}.app-module-page .ant-input,.app-module-page .ant-input-number,.app-module-page .ant-select,.app-module-page .ant-picker,.app-module-page .ant-input-affix-wrapper{max-width:100%!important}.app-module-page .ant-select[style*=width],.app-module-page .ant-input[style*=width],.app-module-page .ant-picker[style*=width],.app-module-page .ant-input-number[style*=width]{width:100%!important;min-width:0!important}.app-module-page .ant-form-item{margin-bottom:12px}.app-module-page .ant-form-item-label>label{height:auto}.app-module-page .ant-tabs-nav{margin-bottom:8px!important}.app-module-page .ant-tabs-nav-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch}.app-module-page .ant-tabs-tab{padding:8px 12px!important;font-size:13px}.app-module-page .ant-table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}.app-module-page .ant-table{min-width:560px}.app-module-page .ant-table-title{padding:8px 0!important}.app-module-page .ant-table-title .ant-input{width:100%!important}.app-module-page .ant-pagination{flex-wrap:wrap;gap:4px;justify-content:center}.app-module-page .ant-pagination-options{display:none}.app-module-page .ant-statistic{text-align:center}.app-module-page .ant-descriptions-view{overflow-x:auto}.app-module-page .ant-descriptions-row>th,.app-module-page .ant-descriptions-row>td{padding:8px 10px!important}.app-module-page .ant-drawer-content-wrapper{max-width:100vw!important}.app-module-page .ant-modal{max-width:calc(100vw - 16px)!important;margin:8px auto!important;top:12px}.app-module-page .ant-modal-content{max-height:calc(100dvh - 24px);overflow:auto}.app-module-page .ant-modal-body{padding:12px 16px!important}.app-module-page .ant-btn{min-height:36px}.app-module-page .ant-btn-group{flex-wrap:wrap}.app-module-page .ant-segmented{max-width:100%;overflow-x:auto}.app-module-page .ant-radio-group{flex-wrap:wrap;gap:6px}.app-module-page .ant-upload-list{flex-wrap:wrap}.app-module-page .ant-image{max-width:100%}.app-module-page img{max-width:100%;height:auto}.dashboard-home-page .rates-dashboard-card{padding:12px 14px}.dashboard-home-page .gold-row{flex-wrap:wrap;gap:8px}.dashboard-home-page .gold-row .carat-label{width:100%}.dashboard-home-page .gold-row .gold-grams{flex-wrap:wrap;width:100%}.dashboard-home-page .gold-row .gold-grams>span{width:auto!important;flex:1 1 40%}.dashboard-home-page .pending-payment-card .ant-card-body{padding:12px!important}.dashboard-home-page .ant-table{min-width:480px}.app-page-invoice-form{height:auto!important;min-height:calc(100dvh - var(--app-header-height));max-height:none!important;overflow:visible!important}.app-page-invoice-form .ant-card,.app-page-invoice-form .ant-card-body,.app-page-invoice-form .ant-form,.app-page-invoice-form .ant-row,.app-page-invoice-form .ant-col{overflow:visible!important;min-height:unset!important;flex:none!important}.app-page-invoice-form .ant-card{flex:1 1 auto!important}.app-page-invoice-form .ant-card-body{padding:8px!important}.app-page-invoice-form .ant-col{max-width:100%!important;flex:0 0 100%!important}.app-page-invoice-form .ant-table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch}.app-page-invoice-form .sale-invoice-items-table .ant-table,.app-page-invoice-form .ant-table{min-width:640px}.app-page-invoice-form .ant-space-compact{flex-wrap:wrap;max-width:100%}.app-page-invoice-form .ant-input-number,.app-page-invoice-form .ant-select,.app-page-invoice-form .ant-input{width:100%!important;max-width:100%!important}.app-page-invoice-form [style*=minWidth],.app-page-invoice-form [style*=maxWidth]{min-width:0!important;max-width:100%!important;flex:1 1 100%!important}.ant-modal{max-width:calc(100vw - 16px)!important;margin:8px auto!important}.ant-modal-content{max-height:calc(100dvh - 16px);overflow:auto}.ant-drawer-content-wrapper{max-width:100vw!important}.mobile-barcode-scanner-modal.ant-modal{max-width:100vw!important;margin:0!important;top:0!important;padding:0!important;height:100dvh!important;max-height:100dvh!important}.mobile-barcode-scanner-modal .ant-modal-content{border-radius:0;min-height:100dvh;height:100dvh;max-height:100dvh;display:flex;flex-direction:column}.mobile-barcode-scanner-modal .ant-modal-header{flex-shrink:0;padding:12px 16px}.mobile-barcode-scanner-modal .ant-modal-body{flex:1 1 auto;min-height:0;overflow:hidden;display:flex!important;flex-direction:column!important}.mobile-barcode-scanner-modal .ant-modal-footer{flex-shrink:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom))}.mobile-barcode-scanner-hint{display:block;margin-bottom:8px;font-size:12px;flex-shrink:0}.mobile-barcode-scanner-region{flex:1 1 auto;min-height:0;width:100%;border-radius:8px;overflow:hidden;background:#000;position:relative;display:flex;align-items:center;justify-content:center}.mobile-barcode-scanner-modal--portrait .mobile-barcode-scanner-region{min-height:45dvh}.mobile-barcode-scanner-region>div,.mobile-barcode-scanner-region video,.mobile-barcode-scanner-region canvas{max-width:100%!important;max-height:100%!important}.mobile-barcode-scanner-region video{object-fit:contain!important;width:100%!important;height:100%!important;max-height:100%!important}.mobile-barcode-scanner-modal--portrait .mobile-barcode-scanner-region{min-height:52dvh}.mobile-barcode-scanner-modal .ant-modal-footer{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.mobile-barcode-scanner-modal .ant-modal-footer .ant-btn{flex:1 1 auto;min-width:0}.login-container{min-height:100dvh;height:auto!important;padding:16px;align-items:flex-start;padding-top:max(16px,env(safe-area-inset-top))}.login-card{margin-top:12vh;max-width:100%}.login-header{margin-bottom:20px}}@media (max-width: 480px){.dashboard-header-content .ant-typography-title{font-size:13px!important}.app-module-page .ant-btn{font-size:13px;padding:4px 10px}.app-module-page .ant-table{font-size:12px}}@media (max-width: 1024px) and (min-width: 769px){.dashboard-main-layout{padding:16px!important}.app-module-page .ant-col-lg-6,.app-module-page .ant-col-lg-8,.app-module-page .ant-col-lg-10,.app-module-page .ant-col-lg-12,.app-module-page .ant-col-lg-18,.app-page-invoice-form .ant-col-lg-6,.app-page-invoice-form .ant-col-lg-18{flex:0 0 100%!important;max-width:100%!important}.app-module-page .ant-table-wrapper{overflow-x:auto}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{width:100%;min-height:100vh;min-height:100dvh}.sale-invoice-items-table .ant-table-thead>tr>th,.sale-invoice-items-table .ant-table-tbody>tr>td{padding:2px 4px!important}.sale-invoice-items-table .ant-table-thead>tr>th{font-size:11px;font-weight:600;line-height:1.15}.sale-invoice-items-table .ant-input-number-input{padding:0 4px;font-size:12px}.sale-invoice-items-table .ant-select-selector{padding:0 4px!important;min-height:24px!important;font-size:12px}@media print{html,body{overflow:visible!important;height:auto!important}#root{display:none!important}.invoice-print-copy{display:block;box-sizing:border-box}.invoice-print-copy:not(:last-child){break-after:page;page-break-after:always}.ant-modal-mask{display:none!important}.ant-modal-root .ant-modal-wrap{position:static!important;inset:auto!important;transform:none!important;overflow:visible!important;height:auto!important;max-height:none!important;width:auto!important;z-index:auto!important}.ant-modal-root .ant-modal{position:static!important;top:auto!important;transform:none!important;margin:0!important;padding-bottom:0!important;max-width:none!important;width:auto!important;pointer-events:auto!important}.ant-modal-root .ant-modal-content,.ant-modal-root .ant-modal-body{overflow:visible!important;max-height:none!important;height:auto!important}}
