/* GENERAL */
.d-none {
    display: none !important;
}

.mt-24 {
    margin-top: 24px;
}

.grl__semibold {
    font-weight: 500;
}

.grl__bold {
    font-weight: 600;
}

/* KEY ERROR */

.grl__fields .grl__input.grl__keyerror {
    border: 1px solid red;
}

.grl__fields .grl__input.grl__keyerror:focus {
    border: 1px solid red;
}

.grl__keyerror-message {
    display: none;
    color: red;
    margin-top: 5px; 
}

.grl__input.grl__keyerror + .grl__keyerror-message {
    display: block;
}

/* ELEMENTS */
.grl__container {
    padding: 60px 44px 60px 24px;
    max-width: 100%;
    position: relative;
}

body:has(.grl__container) {
    background-color: #fff;
}

.grl__title {
    font-size: 36px;
    font-weight: 600;
    line-height: 54px;
    text-align: left;
    text-transform: capitalize;
}

.grl__text {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #626262;
}

.grl__wrapper {
    background-color: #fafafa;
    padding: 16px;
    border-radius: 8px;
    max-width: 100%;
    margin: 32px 0;
}

.grl__fields {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.grl__fields .grl__input {
    width: 368px;
    height: 40px;
    padding: 8px;
    gap: 0px;
    border-radius: 6px;
    border: 1px solid #D1D1D1;
    outline: none;
    margin: 0;
}

.grl__fields .grl__input:focus {
    outline: none;
    border: 1px solid #D1D1D1;
    box-shadow: none;
}

.grl__label {
    display: block;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    color: #343434;
    margin-bottom: 8px;
}

.grl__btn {
    line-height: 24px;
    font-size: 16px;
    padding: 8px 16px;
    gap: 8px;
    border-radius: 6px;
    color: white;
    pointer-events: all;
    background-color: #2172B1;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.grl__btn.grl__btn-outlined {
    background-color: transparent;
    border: 1px solid #2172B1;
    color: #2172B1;
}

.grl__btn:hover {
    box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
    transform: translateY(-1px);
}

.grl__btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* POPUP */
.grl__popup {
    display: none;
    position: fixed;
    top: 60px;
    right: 60px;
    color: #626262;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0px 0px 12px 0px #00000012;
    transition: all 0.5s ease-in-out;
    padding: 12px;
    border-radius: 6px;
}

.grl__popup.active {
    display: flex;
    gap: 12px;
    align-items: center;
}

.grl__popup-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grl__popup::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-size: cover;
}

.grl__popup.success::before {
    background-image: url('../img/success.svg');
}

.grl__popup.fail::before {
    background-image: url('../img/error.svg');
}

/* LOADER */
.grl__loader {
    width: 24px;
    height: 24px;
    border: 2px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.grl__loader-p {
    background: #2172B1;
    padding: 6px 27px;
    border-radius: 6px;
}

.grl__loader-done {
    background: #2172B1;
    padding: 6px 27px;
    border-radius: 6px;
}

.grl__static-title{
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
    text-align: left;
}

.grl__steps-wrap{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
}

.grl__steps{
    border: 1px solid #288AD7;
    max-width: 360px;
    width: 100%;
    padding: 10px;
}

.grl__steps-title{
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    text-align: left;    
}

.grl__steps-list{
    list-style: disc;
    padding: 16px 4px 0px 18px;
    margin: 0;
}

.grl__steps-list li{
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
}

.grl__steps a{
    text-decoration: none;
}

.grl__steps-img {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 10px;
    justify-content: start;
}

.grl__image {
    background-image: url(../img/explore.svg);
    width:248px;
    height: 82px;
}