/* Validation error element */
.with-validation {
    position: relative;
}

.with-validation .error-text {
    font-size: 13px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px 10px;
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: -20%;
    margin-left: -100px;
    -webkit-animation: fadeInOut 2s;
    animation: fadeInOut 5s;
    opacity: 0;
}

.with-validation .error-text::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 0px 10px 10px 10px;
    border-style: solid;
    border-color: black transparent;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    16% {
        opacity: 1;
    }
    84% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
/* --- End of validation error element --- */

.required-field:after {
    content: " *";
    color: red;
    font-weight: bold;
}

.custom-card-header {
    color: white;
    border-top-left-radius: 0.375rem!important;
    border-top-right-radius: 0.375rem!important;
    font-weight: bolder;
    font-size: 1.25rem;
}

.w-8 {
    width: 8%!important;
}

.w-5 {
    width: 5%!important;
}

.w-10 {
    width: 10%!important;
}

.w-12 {
    width: 12%!important;
}

.w-15 {
    width: 15%!important;
}

.w-22 {
    width: 22%!important;
}

.w-40 {
    width: 40%!important;
}

.w-55 {
    width: 55%!important;
}

.mw-90 {
    max-width: 90%!important;
}

/* Custom checked input element */

.option-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2.5rem;
    width: 2.5rem;
    transition: all 0.15s ease-out 0s;
    background: #cbd1d8;
    border: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin-right: 0.5rem;
    outline: none;
    z-index: 1000;
}
.option-input:hover {
    background: #9faab7;
}
.option-input:checked {
    background: #40e0d0;
}
.option-input:checked::before {
    width: 2.5rem;
    height: 2.5rem;
    display:flex;
    font-size: 1.8rem;
    position: absolute;
    align-items:center;
    justify-content:center;
    font-family: "Font Awesome 5 Solid";
    font-weight: 900;
    content: '\f00c';
}
.option-input:checked::after {
    -webkit-animation: click-wave 0.65s;
    -moz-animation: click-wave 0.65s;
    animation: click-wave 0.65s;
    background: #40e0d0;
    content: '';
    display: block;
    position: relative;
    z-index: 100;
}
.option-input.radio {
    border-radius: 50%;
}
.option-input.radio::after {
    border-radius: 50%;
}

@keyframes click-wave {
    0% {
        height: 40px;
        width: 40px;
        opacity: 0.35;
        position: relative;
    }
    100% {
        height: 200px;
        width: 200px;
        margin-left: -80px;
        margin-top: -80px;
        opacity: 0;
    }
}

/* --- End of Custom checked input element --- */

.text-justify {
    text-align: justify;
}

.nav-link-highlight {
    border: #015fc9 solid 2px;
    border-radius: 10px;
}

.nav-link-highlight:hover {
    color: white!important;
    background-color: #015fc9;
    border: white solid 2px;
}

:root {
    --post-bg-primary-gradient: linear-gradient(135deg, #015fc9 0%, #258dff 100%);;
    --post-bg-grey-gradient: linear-gradient(135deg, #f2f5f9 0%, #fbfcff 100%);;
}

.float-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.skin-type-card:hover, .float-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
