.page-title-box {
    background-color: #649943;
}
.user-sidebar {
    background-color: #649943;
}
#sidebar-menu ul li a:hover, #sidebar-menu ul li a:hover i {
    color: #649943;
}
.mm-active>a, .mm-active>a i {
    color: #649943 !important;
}

#sidebar-menu ul li a:hover, #sidebar-menu ul li a:hover i {
    background: #67c05626;
}
label{
    margin-top: 8px;
}

.table-bordered>:not(caption)>*>* {
    border-width: 1px 1px;
}


.card-box {
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    padding: 20px;
    background: #f8f9fc;
    transition: transform 0.3s ease;
}
.card-box:hover {
    transform: translateY(-5px);
}
.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}
.card-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
}
.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    margin-bottom: 10px;
}
.bg-jv { background: linear-gradient(135deg, #6a11cb, #2575fc); }
.bg-cv { background: linear-gradient(135deg, #fc5c7d, #6a82fb); }
.bg-invoice { background: linear-gradient(135deg, #00c9ff, #92fe9d); }
.bg-tinvoice { background: linear-gradient(135deg, #00c9ff, #4a5d4c); }
.btn-sm-view {
    background: #fff7ec;
    color: #8CB373;
    border: none;
    padding: 6px 14px;
    font-weight: 500;
    border-radius: 6px;
}
.btn-sm-view:hover {
    background: #8CB373;
    color: white;
}

 /*css voucher*/
 :root {
     --primary: #4b6cb7;
     --primary-dark: #182848;
     --secondary: #ffc107;
     --success: #28a745;
     --danger: #dc3545;
     --light: #f8f9fa;
     --dark: #343a40;
 }
.select2{
    width: 100% !important;
}
.voucher-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.voucher-header {
    background: #f7f7f7;
    color: white;
    padding: 12px 15px;
}

.voucher-header h3 {
    margin: 0;
    font-weight: 600;
    font-size: 1.25rem;
}

.section-card {
    border: 1px solid #e1e5eb;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
}

.section-header {
    background: #f8f9fa;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e1e5eb;
}

.section-header h4 {
    margin: 0;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1rem;
}

.section-content {
    padding: 15px;
    background-color: #fff;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 3px;
    color: #495057;
    font-size: 0.85rem;
}

.calculation-row {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #e9ecef;
}

.form-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e9ecef;
    color: var(--primary-dark);
}

.btn-add-more {
    background: var(--secondary);
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 10px;
}

.btn-remove {
    background: var(--danger);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 500;
}

.row-item {
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    position: relative;
    background-color: #fff;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #dee2e6;
}

.item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.summary-card {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid #e9ecef;
}

.summary-value {
    font-size: 1rem;
    font-weight: 600;
}

.required-field::after {
    content: " *";
    color: var(--danger);
    font-size: 0.8rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -8px;
    margin-left: -8px;
}

.form-row > [class*="col-"] {
    padding-right: 8px;
    padding-left: 8px;
}


.form-group.compact {
    margin-bottom: 8px;
}

.party-account-section {
    border-left: 4px solid #8AB171;
}

/* Toggle switch styling */
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.receiving-container {
    background-color: #fff9e6;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #ffeeba;
}