:root {
    --bg: #196438;
    --cl: #111;
    --ff: #fff;
    --cc: #ccc;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    outline: 0;
    border: none;
    text-decoration: none !important;
    list-style: none;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bl);
}

::-webkit-scrollbar-thumb {
    background: var(--cl);
    border-radius: 20px;
}

img,
video {
    width: 100%;
}

body {
    overflow: hidden;
    overflow-y: auto;
}

.container {
    margin: auto;
}

.bg-custom {
    background: var(--bg) !important;
}

.text-custom {
    color: var(--bg) !important;
}

body.lang_ar {
    font-family: "Cairo", serif;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.bg-dark-50 {
    background-color: rgba(0, 0, 0, 0.5);
}

section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 10px;
    margin: auto;
    overflow: hidden;
}

.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999999;
    max-width: 280px;
}

.hasVerifiedEmail {
    width: 100%;
    height: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    text-align: center;
    gap: 10px;
    color: var(--bs-danger);
    font-weight: bold;
}

.disabled {
    pointer-events: none;
    opacity: 0.3;
}

textarea {
    resize: none;
    height: 150px;
}

.login {
    width: 100%;
    max-width: 500px;
    margin: auto;
    padding: 10px;
}

.login .click_eye {
    cursor: pointer;
}

i.bi {
    line-height: 0 !important;
}

body.lang_ar .login {
    direction: rtl;
}

body.lang_ar .input-group {
    flex-direction: row-reverse;
}

.img_blog {
    position: relative;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
}

.img_blog input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
}

.img_blog input[type="file"] {
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
}

.img_blog img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 5px;
    border-radius: 50%;
}

.img_blog .upload {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 30px;
    height: 30px;
    background: var(--cl);
    color: #fff;
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img_blog .upload:hover {
    opacity: 0.7;
}

.btn-check:checked + label {
    background: var(--bg) !important;
    color: var(--ff) !important;
}

.nav-tabs .nav-link {
    font-size: 11px;
}

#cameraModal {
    z-index: 9999999;
}

.signature-canvas {
    position: relative;
    width: 250px;
    height: 150px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid #000;
    border-radius: 10px;
}

#signature-canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 250px;
    height: 150px;
}

.logo_site_auth {
    width: 30%;
}

.locations_map_holder {
    height: 70vh;
    width: 100%;
    position: relative;
}

.map_wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#locations_map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

button:active {
    background-color: var(--ff) !important;
    color: var(--bg) !important;
}

.modal-content {
    margin-bottom: 30px;
}

.h-custom {
    height: 250px;
}

#confirmLocation .login {
    max-width: 100% !important;
}

.fade:not(.show) {
    display: none !important;
}

@media (max-width: 768px) {
    .locations_map_holder {
        width: 100%;
    }
}
