.form-control {
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #555;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #555;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    display: block;
    width: 100%;
    padding: 0.475rem 0.75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(#212529);
    background-color: #fff;
    background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #777;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

@media (prefers-reduced-motion: reduce) {
    .form-select {
        transition: none;
    }
}

.form-select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-select[multiple],
.form-select[size]:not([size="1"]) {
    padding-right: 0.75rem;
    background-image: none;
}

.form-select:disabled {
    background-color: var(--bs-form-control-disabled-bg);
}

.form-select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 var(#212529);
}

.form-select-sm {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}

.form-select-lg {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    font-size: 1.25rem;
    border-radius: 0.5rem;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-col {
    width: 100%;
}

.flex-col-6 {
    width: 50%;
}

.full-width {
    width: 95%;
}

.form-group {
    padding: 1ex 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.placeholder {
    color: #555;
}

.btn {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: #212529;
    --bs-btn-bg: transparent;
    --bs-btn-border-width: 1px;
    --bs-btn-border-color: #444;
    --bs-btn-border-radius: 0.375rem;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.title {
    font-size: 18px;
    padding: 0 1em;
}

.crmform select {
    width: 100%;
    overflow: hidden;
    white-space: pre;
    text-overflow: ellipsis;
    -webkit-appearance: none;
}

.crmform option {
    border: solid 1px #DDDDDD;
}
.crmform {
    max-width: 100%;
}
.crm-error-field {
    color: red;
}

.server-success {
    min-width: 100%;
    border-radius: 5px;
    padding: 1em;
    background: #4caf50;
    color: #fff;
    display: none;
    width: 100%;
    margin-bottom: 30px;
}

.error-info, .server-errors {
    min-width: 520px;
    border-radius: 5px;
    padding: 1em;
    background: #f44336;
    color: #fff;
    display: none;
    width: 100%;
}
.error-info {
    display: block;
    background: transparent;
    padding: 0 1em;
    color: red;
    max-width: 500px;
}

.crm-loader {
    display: none;
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 0.5s linear infinite;
} 
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/*Abd CSS*/
.property-form li.agent-link a {
    color: #00aeff !important;
    font-weight: 500 !important;
    font-family: 'Roboto';
}
.theiaStickySidebar {
    background: #fff;
    padding: 30px;
    margin-top: 30px;
}
.theiaStickySidebar .property-form-wrap {
    padding-top: 15px;
}
.ibsFormCustom .flex-row {
    flex-direction: column !important;
}
.ibsFormCustom .flex-row .form-group {
    padding: 0px;
}
.ibsFormCustom .flex-row .form-group input.form-control, 
.ibsFormCustom .flex-row .form-group select.form-select {
    font-size: 15px;
    border: 1px solid #dce0e0;
    font-family: 'Roboto';
    color: #a1a7a8;
}
.ibsFormCustom .flex-row .form-group textarea.form-control {
    height: auto;
    color: #222222;
    font-family: 'Roboto';
    font-size: 15px;
}
.ibsFormCustom .flex-row .form-group button:hover, .border_text_color:hover {
    background: #34ce57;
    border-color: #34ce57;
    color: #fff;
}
.ibsFormCustom .flex-row .form-group button {
    border: 1px solid #28a745;
    background: #28a745;
    color: #fff;
}
.bottom_btn_row .flex-col {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.border_text_color {
    color: #28a745;
    border: 1px solid #28a745;
    padding: 8px 15px 8px;
    border-radius: 4px;
}
.ibsFormCustom .flex-row .form-group button, .border_text_color {
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Roboto';
    transition: 0.3s ease;
    width: 100%;
}
.bottom_btn_row .flex-col .form-group {
    width: 100%;
}
section.ibsCustomButtons {
    background: #fff;
    padding-bottom: 30px;
    padding-top: 10px;
}
/* Responsive Styles */
section.ibsCustomButtons .buttonsFlex {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

/* Desktop Styles */
@media (min-width: 992px) {
    section.ibsCustomButtons .buttonsFlex {
        flex-wrap: nowrap;
    }
}
section.ibsCustomButtons .buttonsFlex a.btn {
    width: 100%;
    font-size: 16px !important;
    padding: 8px 0px;
    height: auto;
}