* {
    margin: 0;
    padding: 0;
}

:root {
    --custom-header-color: #7CB342;
    --custom-background-light: #DCEDC8;
}

body {
    background-color: #DCEDC8 !important;
}

.header {
    background-color: #7CB342;
}
.loaderImage {
    width: 120px;
    height: 20px;
    transform: skewX(-45deg);
    background: 
      linear-gradient(#f03355 0 0) left -30px top 0/30px 20px no-repeat 
      #ccc;
    animation: l4 1s infinite linear;
  }
  
  @keyframes l4 {
    100% {background-position: right -30px top 0}
  }
.loading-overlay {
    display: none;
    /* Hidden initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
}

.loader {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    border: 4px solid #0000;
    border-radius: 50%;
    border-color: #ccc #0000;
    animation: l16 1s infinite linear;
}

.loader::before,
.loader::after {
    content: "";
    grid-area: 1/1;
    margin: 2px;
    border: inherit;
    border-radius: 50%;
}

.loader::before {
    border-color: #f03355 #0000;
    animation: inherit;
    animation-duration: .5s;
    animation-direction: reverse;
}

.loader::after {
    margin: 8px;
}

@keyframes l16 {
    100% {
        transform: rotate(1turn)
    }
}

.hidden {
    display: none !important;
}

.show {
    display: block !important;
}

.error {
    color: red;
    font-size: 0.9em;
    display: none;

}

.success {
    border: 2px solid green !important;
}

.error-border {
    border: 2px solid red !important;
}

.profile-image-error-subtitle {
    color: rgb(212, 0, 0) !important;
}

.profile-image-success-subtitle {
    color: rgb(0, 255, 0) !important;
}

.card {
    margin: 10px;
    background-color: transparent !important;
    border-radius: 1rem !important;
}

.form-group {
    position: relative;
    width: 100%;
    margin: 10px 0;
    border-bottom: 3px solid var(--custom-secondary);
}

.form-group input {
    width: 100%;
    height: 35px;
    padding: 0 25px 0 10px;
    font-size: 1em;
    background-color: white;
    border: none;
    outline: none;
    color: black;
}

.form-group textarea {

    background-color: white;
    border: none;
    outline: none;
    resize: none;
    color: black;
}

.form-group label {
    font-size: 1em;
    color: #000;
    transition: 0.5s;
}

.custom-select {
    width: 100%;
    height: 35px;
    padding: 0 35px 0 10px;
    font-size: 1em;
    background-color: white;
    border: none;
    outline: none;
    color: black;
}

.custom-select:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25)
}

#image-preview {
    width: 20px;
    height: 150px;
}

#image-preview img {
    height: 100%;
    border: 2px solid rgb(0, 0, 0);
    display: block;
}

.custom-modal-title-login h1 {
    text-align: center;
    color: #ffffff;
}

.custom-modal-title-login {
    justify-content: center;
    background-color: var(--custom-header-color);
}

.custom-modal-body-login {
    background-color: var(--custom-background-light);

    .form-group {
        position: relative;
        width: 100%;
        margin: 10px 0;
    }

    .form-group input {
        width: 100%;
        height: 35px;
        padding: 0 25px 0 10px;
        font-size: 1em;
        background-color: white;
        border: 1px solid var(--custom-header-color);
        color: black;
    }

    .form-group label {
        font-size: 1em;
        color: #000;
        transition: 0.5s;
    }
}

.modal-footer {
    justify-content: center !important;
    background-color: var(--custom-background-light) !important;
}

.modal-backdrop {
    background-color: rgba(255, 255, 255, 0.904) !important;
    /* Adjust transparency */
    backdrop-filter: blur(10px);
    /* Blur effect */
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */
}

.modal-content {
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    /* Subtle shadow */
    border-radius: 10px;
    /* Optional: Soft rounded corners */
}

.footer {
    background-color: var(--custom-header-color);
}

.form__group {
    display: flex;
    align-items: center;
}

.form__group label {
    color: red;
}

input[type="checkbox"],
input[type="radio"] {
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.65rem;
}