﻿body { background-color: #ecf0f5; }

/* x-cloak hiding the element until Alpine is fully loaded on the page. */
[x-cloak] { display: none !important; }

/* checkbox custom style */
.form-check-inline { display: inline-flex; align-items: center; margin-right: 1.5rem; }
.form-check-inline input[type="checkbox"] { background-color: #fff; -webkit-appearance: none; appearance: none; margin: 0; font: inherit; color: currentColor; width: 2rem; height: 2rem; border: 1px solid #969595; border-radius: 0.15em; transform: translateY(-0.075em); display: grid; place-content: center; cursor: pointer; }
.form-check-inline input[type="checkbox"]::before { content: ""; width: 1.1rem; height: 1.1rem; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); transform: scale(0); transform-origin: bottom left; transition: 50ms transform ease-in-out; /* Windows High Contrast Mode */ background-color: CanvasText; }
.form-check-inline input[type="checkbox"]:checked::before { transform: scale(1); }
.form-check-inline label { margin-left: 0.5rem; cursor: pointer; margin-bottom: 0; }

/*custom radio button*/
.form-check-custom { cursor: pointer; margin-bottom: 0; }
.form-check-custom input { position: absolute; opacity: 0; visibility: hidden; }
.form-check-custom span { display: inline-block; position: relative; width: 13px; height: 13px; border: 1px solid #6b757d; border-radius: 50%; background-color: #fff; box-sizing: border-box; transition: border-color 200ms ease; }
.form-check-custom.with-icon span,
.form-check-custom.with-icon-side span { width: 21px; height: 21px; }
.form-check-custom input:checked + span { border-color: #007bff; }
.form-check-custom.success input:checked + span { border-color: #28a745; }
.form-check-custom span:before { content: ""; position: absolute; top: 2px; left: 2px; z-index: 1; width: 7px; height: 7px; border-radius: 50%; background-color: #007bff; opacity: 0; transition: opacity 200ms ease; }
.form-check-custom.with-icon span:before,
.form-check-custom.with-icon-side span:before { top: 1px; left: 1px; width: 17px; height: 17px; }
.form-check-custom.success span:before { background-color: #28a745; }
.form-check-custom input:checked + span:before { opacity: 1; }
.form-check-custom.with-icon i,
.form-check-custom.with-icon-side i { position: absolute; top: 4px; left: 5px; z-index: 2; color: #fff; font-size: 10px; opacity: 0; transition: opacity 200ms ease; }
.form-check-custom.success.with-icon-side i { color: #28a745; }
.form-check-custom.with-icon input:checked + span i,
.form-check-custom.with-icon-side input:checked + span i { opacity: 1; }

/* filled radio **/
.custom-radio input[type="radio"] { display: none; }
.custom-radio input[type="radio"] + label { position: relative; display: inline-block; padding-left: 1.6em; margin-right: 1.6rem; margin-bottom: 0; cursor: pointer; line-height: 17px; transition: all 0.3s ease-in-out; color: #4f4e4e; font-weight: 600; }
.custom-radio input[type="radio"] + label:before,
.custom-radio input[type="radio"] + label:after { content: ''; position: absolute; top: 0; left: 0; width: 2rem; height: 2rem; text-align: center; color: white; border-radius: 50%; border: 1px solid #b7b7b7; transition: all .3s ease; }
.custom-radio input[type="radio"] + label:before { transition: all .3s ease; box-shadow: inset 0 0 0 0.2em white, inset 0 0 0 1em white; }
.custom-radio input[type="radio"] + label:hover:before { transition: all .3s ease; box-shadow: inset 0 0 0 0.3em white, inset 0 0 0 1em #c6c6c6; }
.custom-radio input[type="radio"]:checked + label:before { transition: all .3s ease; box-shadow: inset 0 0 0 0.2em white, inset 0 0 0 1em #4CAF50; }

/* custom input style */
.custom-form-control { display: block; width: 100%; padding: 8px 12px; font-size: 14px; line-height: 1.42857143; color: #555; background-color: #fff; background-image: none; border: 1px solid #d3d3d3; border-radius: 5px; transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; }
.custom-form-control:focus { border-color: #a0cbed; outline: 0; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(141, 191, 232, 0.6); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(141, 191, 232, 0.6); }

/* toggle checkbox */
.toggle-switch-container { display: flex; gap: 10px; align-items: center; }
.toggle-switch-container .toggle-label { font-size: 1.5rem; margin-bottom: 0; font-weight: normal; cursor: pointer; }

.checkbox-toggle-switch { position: relative; display: inline-block; width: 50px; height: 25px; margin-bottom: 0; }
.checkbox-toggle-switch input { opacity: 0; width: 0; height: 0; }
.checkbox-toggle-switch .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; -webkit-transition: 0.2s; transition: 0.4s; }
.checkbox-toggle-switch .slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 3px; background-color: white; -webkit-transition: 0.4s; transition: 0.4s; }
.checkbox-toggle-switch input:checked + .slider { background-color: #398adb; }
.checkbox-toggle-switch input:focus + .slider { box-shadow: 0 0 1px #398adb; }
.checkbox-toggle-switch input:checked + .slider:before { -webkit-transform: translateX(20px); -ms-transform: translateX(20px); transform: translateX(20px); }

/* Rounded sliders */
.checkbox-toggle-switch .slider.round { border-radius: 34px; }
.checkbox-toggle-switch .slider.round:before { border-radius: 50%; }

/* custom-modal */
.custom-modal .modal-header, .modal-body, .modal-footer { padding: 20px; }
.custom-modal .modal-header { border-bottom: none; padding-bottom: 0; }
.custom-modal .modal-footer { border-top: none; padding-top: 0; }
.custom-modal .modal-header button.close { padding: 0; cursor: pointer; background: 0 0; border: 1px solid #000; height: 30px; width: 30px; border-radius: 50%; }
.custom-modal .modal-header .modal-title { margin: 0; line-height: 1.42857143; font-size: 2.3rem; font-weight: bold; color: #444; }
.custom-modal .modal-body .body-text { color: #5e5e5e; font-size: 1.7rem; font-weight: normal; }

/* Utils class */
.text-right { text-align: right; }
.text-center { text-align: center; }
.mx-auto { margin: 0 auto; }
.pt-2 { padding-top: 2.5rem; }
.mb-5 { margin-bottom: 2.5rem; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 3rem; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.flex-wrap{flex-wrap:wrap}

.bg-white { background-color: #fff; }
.card { box-shadow: 1px 2px 5px 3px rgba(0, 0, 0, 0.14); -webkit-box-shadow: 1px 2px 5px 3px rgba(0, 0, 0, 0.14); -moz-box-shadow: 1px 2px 5px 3px rgba(0, 0, 0, 0.14); background-color: #fff; padding: 26px; border-radius: 3px; }
.empty-data-message-conainer { background-color: #fff; padding: 3rem; text-align: center; font-size: 1.8rem; font-style: italic; color: #444; border-radius: 8px; }
.flex-container { display: flex; justify-content: space-between; align-items: center }

/* custom button */
.btn-custom-blue { background-color: #3D57DE; color: #fff; text-transform: unset; }
.btn-custom-blue:hover { background-color: #2e44c4; color: #fff; }
.btn-custom-blue:focus { background-color: #2e44c4; color: #fff; }
.btn-custom-blue:active { background-color: #2e44c4; color: #fff; }
.btn-custom-blue:disabled { background-color: #3D57DE; color: #fff; }

/* close button */
.btn-close {text-transform: unset}
