html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    overflow-x: hidden;
}

.sticky-top {
    z-index: 1020 !important;
}

input[readonly] {
    background-color: #f9f9f9;
    cursor: not-allowed;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.required-indicator{
    font-size: 14px;
}

.sub-title-text {
    font-size: 17px !important;
    color: black !important;
    margin: .5rem;
}

.form-section-box {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
    transition: box-shadow 0.3s ease-in-out;
}

    .form-section-box:hover {
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    }


.custom-alert-error {
    background-color: #f8d7da;
    color: #721c24; 
    border: 1px solid #f5c6cb;
    padding: 5px 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 1rem;
}

    .custom-alert-error ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

.alert-box {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 1rem;
    font-weight: bold;
    font-size: .7rem;
    margin-left: .5rem;
}

.autocomplete-wrapper {
    position: relative;
}

.ui-autocomplete {
    max-width: 100% !important;
    box-sizing: border-box;
    z-index: 1050;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #fff;
    border: 1px solid #ccc;
}

.ui-menu-item-wrapper {
    white-space: normal !important;
    word-break: break-word;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.4;
}

.validation-multiline {
    white-space: pre-line;
}

.alert {
    font-size: .7rem;
}

.input-validation-error {
    border: 1px solid #dc3545 !important;
    box-shadow: 0 0 6px rgba(220, 53, 69, 0.4);
}

.field-validation-error{
    font-size:14px;
}

label {
    padding-top: 0.8rem !important;
    font-weight: bold;
    font-size: 1rem;
    font-family: 'Open Sans', Arial, sans-serif !important;
}

.background-color-teal {
    background: #008c8a !important;
}

.form-table th {
    font-weight: 600;
    font-size: 0.95rem;
    background-color: lightgrey !important;
}

.form-table td {
    vertical-align: middle;
    font-size: 0.9rem;
}

.card-header h5 {
    font-size: 1.1rem;
    font-weight: bold;
}

form-table.dataTable thead .sorting:after,
form-table.dataTable thead .sorting_asc:after,
form-table.dataTable thead .sorting_desc:after {
    right: 0.5rem;
    font-size: 0.7rem;
}

.preview h2 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.preview {
    background-color: #fcf5e5;
    border: 1px solid #e0d9c8;
    border-radius: 5px;
    padding: 1.5rem;
}

.preview p {
    margin-bottom: 0.5rem;
}

.preview hr.total {
    border-top: 2px solid #ccc;
    margin: 1.5rem 0;
}

.preview .form-control {
    border-radius: 4px;
}

.preview button.form-button {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
}

body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}

.min-vh-23 {
    min-height: 23vh !important;
}

.no-border-outline {
    border: none !important;
}

.payee-description::placeholder {
    font-size: 0.80rem;
}
.form-table{
    width:100% !important;
}