/* VAT workspace specific tweaks */
main {
    overflow: visible !important;
}

.vat-section-title {
	font-weight: 700;
	font-size: 1.25rem;
	color: #008080;
	margin-bottom: 0.75rem;
}
.vat-card {
	border-radius: 14px;
	border: 1px solid #e5e5e5;
	background: #fff;
	padding: 18px 20px;
	margin-bottom: 20px;
}
.dropzone {
	border: 2px dashed #008080;
	border-radius: 14px;
	background: #f5fafa;
	padding: 20px;
	text-align: center;
	cursor: pointer;
	transition: 0.2s;
}
.dropzone.dragover {
	background: #e0f4f2;
	border-color: #00a99d;
}
/* Make Dropzone container cleaner */
.dropzone {
    border: 2px dashed #9cb0b9 !important;
    border-radius: 12px !important;
    background: #fafafa !important;
    min-height: 180px !important;
    padding: 25px !important;
}

/* Center message */
.custom-dz-message {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* The big icon */
.custom-dz-message .dz-icon {
    font-size: 48px;
    color: #008080; /* Yalla.Tax teal */
    margin-bottom: 10px;
}

/* Main text */
.custom-dz-message .dz-text {
    font-weight: 600;
    color: #444;
}

/* Subtitle */
.custom-dz-message .dz-subtext {
    font-size: 0.85rem;
    color: #777;
    margin-top: 4px;
}

/* Hide the default dropzone text */
.dropzone .dz-default.dz-message {
    display: none !important;
}

.vat-table thead th {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.vat-table td, .vat-table th {
	font-size: 0.85rem;
	vertical-align: middle;
}

.vat-table thead th {
    padding: 12px 30px 12px 18px !important;
}

.vat-table tbody td {
    padding: 14px 18px !important;
}


.status-pill {
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 0.7rem;
}
.status-manual { background:#e9ecef; color:#333; }
.status-pending { background:#fff3cd; color:#856404; }
.status-complete { background:#d4edda; color:#155724; }
.status-failed,.status-wrongperiod { background:#f8d7da; color:#721c24; }

.btn-disabled {
	background: #ccc !important;
	color: #666 !important;
	border: 1px solid #bbb !important;
	pointer-events: none;
}


.vat-box-grid {
	display:grid;
	grid-template-columns: repeat(4, minmax(0,1fr));
	gap: 12px;
}
@media (max-width: 991px){
	.vat-box-grid{ grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 575px){
	.vat-box-grid{ grid-template-columns: 1fr; }
}
.vat-box {
	border:1px solid #e3e3e3;
	border-radius:10px;
	padding:10px 12px;
	background:#fff;
}
.vat-box-label {
	font-size:0.8rem;
	color:#6c757d;
	margin-bottom:4px;
}
.vat-box-value {
	font-size:1rem;
	font-weight:600;
}
.vat-box-code {
	font-size:0.75rem;
	color:#999;
}

.dropzone {
    border: 2px dashed #008080;
    border-radius: 10px;
    background: #f8fafa;
    padding: 30px;
    text-align: center;
    cursor: pointer;
}

.dropzone .dz-message {
    font-size: 16px;
    color: #666;
}

.dz-preview .dz-remove {
    color: #ff4d4d;
    text-decoration: underline;
    cursor: pointer;
}

.background-highlight{
	background-color:#008080 !important;
}

.border-highlight{
	border: 2px solid #008080 !important;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #fff !important;
    opacity: 1;
}

.input-diagonal {
    background-image: repeating-linear-gradient(
        -45deg,
        #ffffff 0px,
        #ffffff 2px,
        rgba(0, 128, 128, 0.1) 2px,
        rgba(0, 128, 128, 0.1) 4px
    );
}

/******************** DROPDOWN ********************/
/* Base styling for Select2 selection (replaces your select box) */
.select2-container--default .select2-selection--single {
    height: 76px !important;
    border-radius: 14px !important;
    border: 2px solid #e0e4ea !important;
    padding: 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    color: #000 !important;
    background-color: #fff !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04) !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #000 !important;
}

/* Center the text */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    width: 100% !important;
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 28px !important; /* space for arrow */
}

/* Arrow icon */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 16px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #008080 transparent transparent transparent !important;
}

/* Focus state */
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default .select2-selection--single:focus {
    border-color: #008080 !important;
    box-shadow: 0 0 0 4px rgba(0, 128, 128, 0.12) !important;
}

/* Dropdown panel */
.select2-container .select2-dropdown {
    border-radius: 14px !important;
    border: 1px solid #e0e4ea !important;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12) !important;
    overflow: hidden !important;
}

/* Dropdown options */
.select2-container--default .select2-results__option {
    padding: 20px 26px !important;
    font-size: 0.98rem !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #008080 !important;
    color: #fff !important;
}

.select2-container--default .select2-results__option--selected {
    background-color: rgba(0, 128, 128, 0.08) !important;
}

/* Always force dropdown to appear below */
.select2-container--open .select2-dropdown {
    top: 100% !important;
    bottom: auto !important;
}


.big-select {
    font-size: 1.2rem;
    height: 75px;
	width:100%;
    padding: 12px 16px;                 /* padding restored */
    border-radius: 15px;

    text-align: center !important;      
    text-align-last: center !important;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
}

/* Ensures options inside the dropdown are centered too */
.big-select option {
    text-align: center;
	padding:12px;
	cursor: hand;
}

/* Fix for Chrome shifting text on padding */
.big-select::-ms-expand {
    display: none;
}

/* Modern select inside modal */
#addCompanyModal .form-select {
    height: 50px;
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid #d7dbdf;
    padding: 10px 14px;
    background-color: #fff;
    transition: border-color .2s, box-shadow .2s;
}

/* Remove the harsh default arrow & replace with cleaner one */
#addCompanyModal .form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,<svg fill='%23008080' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5.23 7.21a1 1 0 011.41 0L10 10.55l3.36-3.34a1 1 0 111.41 1.41l-4.06 4.06a1 1 0 01-1.41 0L5.23 8.62a1 1 0 010-1.41z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
}

#addCompanyFrequency, #abuUserSelect, #abcClientSelect {
    height: 50px;
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid #d7dbdf;
    padding: 10px 14px;
    background-color: #fff;
    transition: border-color .2s, box-shadow .2s;
	appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,<svg fill='%23008080' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5.23 7.21a1 1 0 011.41 0L10 10.55l3.36-3.34a1 1 0 111.41 1.41l-4.06 4.06a1 1 0 01-1.41 0L5.23 8.62a1 1 0 010-1.41z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
	cursor:pointer;
}

.abu-toggle:checked, .abc-toggle:checked {
    background-color: #00bfa6 !important;
    border-color: #00bfa6 !important;
}

.h-50{
	height: 50px !important;
}

/* Modern select inside modal */
/* #addCompanyFrequency {
    height: 50px;
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid #d7dbdf;
    padding: 10px 14px;
    background-color: #fff;
    transition: border-color .2s, box-shadow .2s;
} */

/* Remove the harsh default arrow & replace with cleaner one */
/* #addCompanyFrequency {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,<svg fill='%23008080' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5.23 7.21a1 1 0 011.41 0L10 10.55l3.36-3.34a1 1 0 111.41 1.41l-4.06 4.06a1 1 0 01-1.41 0L5.23 8.62a1 1 0 010-1.41z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
} */

/* Focus styling */
#addCompanyModal .form-select:focus {
    border-color: #008080;
    box-shadow: 0 0 0 3px rgba(0,128,128,0.15);
}

/* When disabled, fade + block interaction */
.workspace-disabled {
    position: relative;
    pointer-events: none;
    opacity: 0.45;
    filter: grayscale(20%);
}

/* The Select Company section stays active */
#companySelectorWrapper {
    pointer-events: auto !important;
    opacity: 1 !important;
    filter: none !important;
}

/* Make ONLY the invoice review modal wider */
#invoiceReviewModal .modal-dialog.xxl, #expenseReviewModal .modal-dialog.xxl {
    max-width: 95vw;   /* allow almost full viewport width */
    width: 95vw;
}

#invoiceReviewModal .modal-dialog.xl, #expenseReviewModal .modal-dialog.xl {
    max-width: 50vw;   /* allow almost full viewport width */
    width: 50vw;
}

/* Make the content taller and use the height better */
#invoiceReviewModal .modal-body, #expenseReviewModal .modal-body {
    max-height: calc(100vh - 140px); /* header+footer space */
    overflow-y: auto;
}

.text-teal {
	color: #008080 !important;
}

.edit-client:hover, .delete-client:hover {
	opacity: 0.7;
}

.btn-teal {
    background-color: #008080 !important;
    border: 1px solid #008080 !important;
    color: #fff !important;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
    transition: 0.2s;
}

.btn-teal:hover {
    background-color: #006d6d !important;
    border-color: #006d6d !important;
}

/* STATUS BADGES */
.badge-approved {
    background-color: #00a65a;
    color: #fff;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.badge-pending {
    background-color: #ffca2c;
    color: #000;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.badge-ocr {
    background-color: #fff3cd;
    color: #856404;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.badge-failed {
    background-color: #f8d7da;
    color: #721c24;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

/* REVIEW BUTTON */
.btn-review {
    background-color: #008080 !important;
    color: #fff !important;
    border-radius: 10px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    transition: 0.2s;
}

.btn-review:hover {
    background-color: #006d6d !important;
}

/* OUTLINE VERSION WHEN APPROVED */
.btn-review-outline {
    background: #fff !important;
    color: #008080 !important;
    border: 2px solid #008080 !important;
}

.btn-review-outline:hover {
    background: #f0fdfd !important;
}

/* FLEX LAYOUT INSIDE APPROVED COLUMN */
.approved-wrapper {
    display: flex;
    justify-content: space-between;  /* spreads badge left + button right */
    align-items: center;
    width: 100%;
}

/* Base modern button */
.btn-modern {
    border-radius: 8px;
    font-weight: 600;
    padding: 6px 14px;
}

/* TEAL OUTLINE */
.btn-outline-teal {
    background: transparent;
    color: #008080;
    border: 1.5px solid #008080;
    border-radius: 8px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline-teal-modern {
    @extend .btn-modern;
    border: 2px solid #008080;
    color: #008080;
    background: white;
	border-radius: 10px;
	padding: 15px 10px 15px 10px;
	font-weight: 600;
}

.btn-outline-teal-modern:hover {
    background: #008080;
    color: #fff;
	/* opacity:0.7 !important; */
}

/* TEAL OUTLINE */
.btn-teal-modern {
    @extend .btn-modern;
    border: 2px solid #008080;
    color: #fff;
    background: #008080;
	border-radius: 10px;
	padding: 15px 10px 15px 10px;
	font-weight: 600;
}

.btn-teal-modern:hover {
    background: #fff;
    color: #008080;
	/* opacity:0.7 !important; */
}

/* RED OUTLINE (for Delete Invoice) */
.btn-outline-danger-modern {
    @extend .btn-modern;
    border: 2px solid #dc3545;
    color: #dc3545;
    background: white;
}

.btn-outline-danger-modern:hover {
    background: #dc3545;
    color: #fff;
}

.tax-agent-btn{
	border-radius: 0px !important;
}

input.currency-input.text-center {
    text-align: center !important;
}

input.currency-input {
    text-align: left !important;
}

.btn-icon-lg {
    background: none;
    border: none;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1.2rem; /* Larger icons */
    line-height: 1;
}

.btn-icon-lg i {
    font-size: 1.2rem; /* Ensures big visible icons */
}

.btn-icon-lg:hover {
    background: #f2f2f2;
}

.btn-edit-adj i {
    color: #008080; /* Your Teal */
}

.btn-del-adj i {
    color: #d9534f; /* Your danger red or custom */
}

.ai-notes-box {
    display: block;
    width: 100%;
   /*  min-height: 120px; */
    padding: 10px;	

    border: 1px solid #ced4da;
    border-radius: 10px;

    background: #e8f7f9;

    white-space: pre-wrap;
    word-break: break-word;

    overflow: hidden; /* IMPORTANT: prevents scrollbar */
    resize: none;     /* user cannot grab edge */
    
    line-height: 1.4;
	    font-size: small;
}

.datepicker-dropdown{
	padding: 25px !important;
}

.datepicker .day{
	padding:10px !important;
}

.datepicker table tr td.today, .datepicker table tr td.today.disabled, .datepicker table tr td.today.disabled:hover, .datepicker table tr td.today:hover {
	background-color: #008080 !important;
	background-image: none !important;
	color: #fff !important;
}

.datepicker table tr td.active.active, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled.active, .datepicker table tr td.active.disabled.disabled, .datepicker table tr td.active.disabled:active, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.active.disabled:hover.active, .datepicker table tr td.active.disabled:hover.disabled, .datepicker table tr td.active.disabled:hover:active, .datepicker table tr td.active.disabled:hover:hover, .datepicker table tr td.active.disabled:hover[disabled], .datepicker table tr td.active.disabled[disabled], .datepicker table tr td.active:active, .datepicker table tr td.active:hover, .datepicker table tr td.active:hover.active, .datepicker table tr td.active:hover.disabled, .datepicker table tr td.active:hover:active, .datepicker table tr td.active:hover:hover, .datepicker table tr td.active:hover[disabled], .datepicker table tr td.active[disabled] {
    background-color: #008080a1 !important;
	background-image: none !important;
	color: #fff !important;
}

.datepicker table tr td.active, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.active:hover {
	background-color: #008080a1 !important;
	background-image: none !important;
	color: #fff !important;
}

.datepicker table tr td span.active.active, .datepicker table tr td span.active.disabled, .datepicker table tr td span.active.disabled.active, .datepicker table tr td span.active.disabled.disabled, .datepicker table tr td span.active.disabled:active, .datepicker table tr td span.active.disabled:hover, .datepicker table tr td span.active.disabled:hover.active, .datepicker table tr td span.active.disabled:hover.disabled, .datepicker table tr td span.active.disabled:hover:active, .datepicker table tr td span.active.disabled:hover:hover, .datepicker table tr td span.active.disabled:hover[disabled], .datepicker table tr td span.active.disabled[disabled], .datepicker table tr td span.active:active, .datepicker table tr td span.active:hover, .datepicker table tr td span.active:hover.active, .datepicker table tr td span.active:hover.disabled, .datepicker table tr td span.active:hover:active, .datepicker table tr td span.active:hover:hover, .datepicker table tr td span.active:hover[disabled], .datepicker table tr td span.active[disabled] {
    background-color: #008080 !important;
	background-image: none !important;
	color: #fff !important;
}

.datepicker table tr td span.active, .datepicker table tr td span.active.disabled, .datepicker table tr td span.active.disabled:hover, .datepicker table tr td span.active:hover {
	background-color: #008080 !important;
	background-image: none !important;
	color: #fff !important;
}

.datepicker table tr td span.active.active, .datepicker table tr td span.active.disabled, .datepicker table tr td span.active.disabled.active, .datepicker table tr td span.active.disabled.disabled, .datepicker table tr td span.active.disabled:active, .datepicker table tr td span.active.disabled:hover, .datepicker table tr td span.active.disabled:hover.active, .datepicker table tr td span.active.disabled:hover.disabled, .datepicker table tr td span.active.disabled:hover:active, .datepicker table tr td span.active.disabled:hover:hover, .datepicker table tr td span.active.disabled:hover[disabled], .datepicker table tr td span.active.disabled[disabled], .datepicker table tr td span.active:active, .datepicker table tr td span.active:hover, .datepicker table tr td span.active:hover.active, .datepicker table tr td span.active:hover.disabled, .datepicker table tr td span.active:hover:active, .datepicker table tr td span.active:hover:hover, .datepicker table tr td span.active:hover[disabled], .datepicker table tr td span.active[disabled] {
    background-color: #008080 !important;
	background-image: none !important;
	color: #fff !important;
}

.datepicker table tr td span.active, .datepicker table tr td span.active.disabled, .datepicker table tr td span.active.disabled:hover, .datepicker table tr td span.active:hover {
	background-color: #008080 !important;
	background-image: none !important;
	color: #fff !important;
}

.vat-table-input{
	cursor: default;
	border:1px solid #efefef;
	border-radius:5px;
	padding:10px;
}

.vat-section {
    border-left: 6px solid #008080;   /* teal */
    padding-left: 0px;
    border-radius: 20px;
    margin-top: 30px;
}

.vat-section.profile { border-left-color: #008080; }
.vat-section.sales { border-left-color: #008080; }
.vat-section.expenses { border-left-color: #008080; }
.vat-section.adjustments { border-left-color: #008080; }
.vat-section.summary { border-left-color: #008080; }

/* #salesNavButton { border-left: 3px solid #006d6d !important;}
#expensesNavButton  { border-left: 3px solid #be6a04 !important; }
#adjustmentsNavButton  { border-left: 3px solid #805ad5 !important; }
#summaryNavButton  { border-left: 3px solid #444 !important; } */

#salesNavButton { color: #008080 !important; }
#expensesNavButton { color: #008080 !important; }
#adjustmentsNavButton { color: #008080 !important; }
#summaryNavButton { color: #008080 !important; }

#netVAT{
	font-weight: 600;
	font-size: 1.05 rem;
	background: #008080 !important;
	color: white;
	cursor:pointer !important;
}

.section-header-band {
    /* background: #f1f4f7; */
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    /* margin-bottom: 20px; */
}

.modal-body{
	border-radius: 0 0 20px 20px;
}

/* .vat-section.profile .vat-card { background: linear-gradient(to bottom, #ffffff, #e7f7f7); }
.vat-section.sales .vat-card { background: linear-gradient(to bottom, #ffffff, #e7f7f7); }
.vat-section.expenses .vat-card { background: linear-gradient(to bottom, #ffffff, #e7f7f7); }
.vat-section.adjustments .vat-card { background: linear-gradient(to bottom, #ffffff, #e7f7f7); }
.vat-section.summary .vat-card { background: linear-gradient(to bottom, #ffffff, #e7f7f7); } */

.section-divider {
    border-top: 2px solid #e4e4e4;
    margin: 50px 0 30px 0;
}

.section-icon {
    background: #008080;
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    margin-right: 10px;
}

#vat-table-income,
#vat-table-expenses,
#vat-table-net {
    table-layout: fixed;
}

.vat-table-input {
    width: 100%;
    box-sizing: border-box;
}

#apportionmentRateBox {
    border-left: 4px solid #008080;
    background: #f8fdfd;
    border-radius: 6px;
}

.background-transparent{
	background-color: transparent !important;
}

.company-profile-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px !important;
    /*border-left: 5px solid #008080;  Teal accent */
}

/* Header band */
.section-header-band {
    font-size: 1.15rem;
    font-weight: 600;
    color: #4e4e4e;
    padding: 6px 14px;
    /* border-left: 4px solid #008080; */
}

/* Edited button */
.btn-edit-company {
    border: 2px solid #008080;
    color: #008080;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.2s;
}

.btn-edit-company:hover {
    background: #008080;
    color: #fff;
}

/* Field labels */
.label-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #7a7a7a;
    letter-spacing: 0.5px;
}

/* Field values */
.value-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    margin-top: 2px;
}

/* Highlight field */
.value-text.highlight {
    color: #008080;
}

.vat-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
	padding-left: 40px;
}

#vatQuickNav {
    position: sticky;
    top: 40%; /* distance from top when scrolling */
    
    display: flex;
    flex-direction: column;
    gap: 7px;

    align-self: flex-start; /* IMPORTANT for flex layouts */
	width:180px;
}

#vatQuickNav button {
	background: #fff;
	border: 1px solid #ddd;
	padding: 10px 14px;
	border-radius: 8px;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	transition: all 0.2s;
	font-weight: 700;
}

#vatQuickNav button:hover {
	background: #f5f5f5;
}

#joinCompanyId{
	font-size: 1.3rem;
    text-align: center;
}



.fs-sm{
	font-size: 0.8rem;
}

.form-check-input.toggle-admin, .form-check-input.new-user-admin, .form-check-input.abu-toggle, .form-check-input.abc-toggle, #approveIsAdmin  {
    width: 42px;
    height: 22px;
    cursor: pointer;
}

.form-check-input.toggle-admin:checked,#approveIsAdmin:checked {
    background-color: #00bfa6;
    border-color: #00bfa6;
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--bs-dropdown-link-hover-color) !important;
    text-decoration: none;
    background-color: var(--bs-dropdown-link-hover-bg) !important;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef !important;
    opacity: 1 !important;
}

.form-check-input:checked {
    background-color: #000;
    border-color: #000;
}

#salesTable_wrapper select, #purchasesTable_wrapper select{
	background: white;
    margin-right: 8px;
    margin-left: 8px;
    cursor: pointer;
}

#salesTable_filter input, #purchasesTable_filter input{
	background: white;
	margin-left: 8px;
	margin-bottom: 20px;
}

#salesTable, #purchasesTable{
	margin-bottom: 15px;
}

.excel-button {
	background:white;
    transition: all 0.2s ease;
}

.excel-button:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

input[type="radio"][name="vatRefundRequest"],
input[type="radio"][name="vatProfitMargin"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #000;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

input[type="radio"][name="vatRefundRequest"]:checked,
input[type="radio"][name="vatProfitMargin"]:checked {
    border-color: #008080;
    background: radial-gradient(circle, #008080 45%, transparent 50%);
}

.vat-adj-input-container input.adj-amount {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.vat-adj-input-container span {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    min-width: 28px;
}

input.vat-mismatch {
    border: 2px solid #e67e22 !important;
    background-color: #fef5ec !important;
    color: #e67e22 !important;
}

/* ── Profile Stats Row ───────────────────────────────── */
.profile-stats-row {
    display: flex;
    align-items: center;
    padding: 18px;
    gap: 0;
}

.profile-stat {
    flex: 1;
    padding: 0 24px;
    text-align: center;
}

.profile-stat:first-child {
    padding-left: 8px;
}

.profile-stat-divider {
    width: 1px;
    height: 48px;
    background: #e8f4f4;
    flex-shrink: 0;
}

.profile-stat-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: teal;
    margin-bottom: 4px;
}

.profile-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.1;
    margin-bottom: 4px;
}

.profile-stat-sub {
    font-size: 11px;
    color: #94a3b8;
}

.profile-stat-sub span {
    color: #64748b;
    font-weight: 600;
}

.net-vat-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: #fee2e2;
    color: #dc2626;
}

.net-vat-badge.refundable {
    background: #d1fae5;
    color: #059669;
}

.section-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #008080;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    margin-right: 10px;
    flex-shrink: 0;
    vertical-align: middle;
}

.rounded-3-top {
    border-radius: 14px 14px 0 0 !important;
}

.rounded-3-bottom {
    border-radius: 0 0 14px 14px !important;
}

.br-14{
	border-radius: 14px !important;
}

.user-badge-verified { background: #dcfce7; color: #16a34a; border-radius: 20px; padding: 3px 10px; font-size: 11px; font-weight: 600; }
.user-badge-pending { background: #fef3c7; color: #d97706; border-radius: 20px; padding: 3px 10px; font-size: 11px; font-weight: 600; }
.user-badge-inactive { background: #f1f5f9; color: #94a3b8; border-radius: 20px; padding: 3px 10px; font-size: 11px; font-weight: 600; }

.user-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 8px; background: #fff; }
.user-info { flex: 1; }
.user-name { font-size: 14px; font-weight: 600; color: #1e293b; }
.user-meta { font-size: 12px; color: #64748b; margin-top: 2px; }
.user-badges { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.user-actions { display: flex; gap: 8px; align-items: center; font-size:1.2rem }

.empty-state { text-align: center; padding: 40px; color: #94a3b8; }
.empty-state i { font-size: 40px; margin-bottom: 12px; display: block; }
.btn-choice {
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    border-color: #ddd !important;
}
.btn-choice:hover {
    border-color: #1D9E75 !important;
    background: #E1F5EE !important;
}

#accountModal .form-control:focus,
#accountModal .input-group .form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: #ced4da;
}
.fw-semibold {
    font-weight: 500 !important;
}
#reportTabs .nav-link {
    color: #64748b;
    border-color: transparent;
}

#reportTabs .nav-link:hover {
    color: #008080;
    border-color: transparent;
}

#reportTabs .nav-link.active {
    color: #008080;
    border-bottom-color: #fff;
    border-top-color: #e2e8f0;
    border-left-color: #e2e8f0;
    border-right-color: #e2e8f0;
    font-weight: 600;
}

div:where(.swal2-icon).swal2-info {
    border-color: #005e5e !important;
    color: #005e5e !important;
}