.form-control:disabled, .form-control[readonly] {
    background-color: lightgray;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: lightgray;
}

.select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color: lightgray;
}

.select2-container--default {
    width: 100%!important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #444;
}

.select2-container--default .select2-selection--multiple .select2-search__field::placeholder {
    color: #444;
}

.ui-datepicker {
    z-index: 1050!important;
}

.ui-front {
    z-index: 1050!important;
}

textarea {
    resize: none!important;
}

.dropzone {
    border: 1px solid #ced4da!important;
}

.dz-button {
    color: grey!important;
}

/* Border Select2 merah */
.select2-container--default .select2-selection.is-invalid {
    border-color: #dd4b39;
}

/* Text Select2 merah */
.select2-container--default .select2-selection.is-invalid
.select2-selection__rendered {
    color: #dd4b39;
}

.modal-xl {
    max-width: 80vw;
}

.modal-2xl {
    max-width: 95vw;
}

/*@media (min-width: 992px) {
    .modal-2xl {
        max-width: 800px;
    }
}

@media (min-width: 1200px) {
    .modal-2xl {
        max-width: 1140px;
    }
}

@media (min-width: 1440px) {
    .modal-2xl {
        max-width: 1400px;
    }
}*/

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    background-color: #17a2b8;
    color: #fff;
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 12px;
    line-height: 1;
}

.tag-item .tag-remove {
    background: transparent;
    border: none;
    color: #fff;
    margin-left: 6px;
    padding: 0;
    cursor: pointer;
    font-size: 12px;
}

.tag-item .tag-remove:hover {
    color: darkslateblue;
}

th.bg-a7c7e7 {
    background-color: #A7C7E7!important;
}

.min-w-250 {
    min-width: 250px;
}

.min-w-300 {
    min-width: 300px;
}

.btn-outline-primary.no-hover:hover,
.btn-outline-primary.no-hover:focus,
.btn-outline-primary.no-hover:active {
    background-color: transparent !important;
    color: #0d6efd !important;
    border-color: #0d6efd !important;
    box-shadow: none !important;
}

/* Card on Dashboard and Task */
#divApprovalSummary {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.approval-card {
    min-width: 320px;
    border-radius: 18px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    overflow: hidden;
    position: relative;
}

    .approval-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 24px rgba(0,0,0,0.15);
    }

.approval-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.approval-company {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.approval-label {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 2px;
}

.approval-total {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.approval-icon i {
    font-size: 3rem;
    opacity: 0.25;
}

.approval-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.approval-success {
    background: linear-gradient(135deg, #10b981, #059669);
}
.error-placeholder::placeholder {
    color: red;
}