.link {
    color: var(--primary-clr);
    transition: all 180ms ease;
    display: block;

    &:hover {
        scale: 1.05;
        color: var(--secondary-clr);
    }
}

.signin {
    padding-block: clamp(2.25rem, 7vw, 4.375rem);
    position: relative;
    background-color: #f9f2f74d;

    &::after {
        content: "";
        background-image: url("../images/dotted-pattern.svg");
        position: absolute;
        display: block;
        height: 216px;
        aspect-ratio: 2/1;
        right: 0;
        bottom: 0;
        z-index: -1;
    }
}

.signin-content {
    padding: 1.75rem 2rem;
    display: grid;

    border-radius: 0.75rem;
    background-color: var(--white-clr);
    box-shadow: 0 2px 4px hsla(0, 0%, 0%, 0.07);

    @media (width<=600px) {
        .column:last-of-type {
            display: none;
        }
    }

    @media (600px<width <=1024px) {
        grid-template-rows: 352px 1fr;

        .column:last-of-type {
            grid-row: 1;

            .signin-img {
                clip-path: none;
                width: 100%;
                height: 100%;

                &::before {
                    display: none;
                }
            }
        }
    }

    @media (1024px<width<=1280px) {
        grid-template-columns: 1fr 480px;
        column-gap: clamp(2rem, 3vw, 4rem);
    }

    @media (width > 1280px) {
        column-gap: 4rem;
        grid-template-columns: 1fr 528px;
    }
}

.signin-header {
    margin-bottom: 1.5rem;

    h1 {
        color: var(--black-clr);
        font-size: var(--fs-800);
        font-weight: var(--fw-500);
    }
}

.signin-form {
    /* display: grid;
    gap: 1.5rem; */

    .input-wrapper:first-of-type {
        margin-bottom: 1.5rem;
    }
}

.forgot-password-link {
    display: block;
    margin-block: 1rem 3.125rem;
    margin-inline-start: auto;
    width: fit-content;
}

.or-text {
    margin-block-start: 1.5rem;
    text-align: center;
    position: relative;
    isolation: isolate;

    &::before,
    &::after {
        content: "";
        width: calc(50% - 72px);
        height: 1px;
        position: absolute;
        display: block;
        z-index: -1;
        inset-block: 0;
        margin-block: auto;
        background-color: #e0e0e0;
    }

    &::before {
        inset-inline-start: 0;
    }

    &::after {
        inset-inline-end: 0;
    }
}

.btn-signin-socials {
    margin-block: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.btn-signin-social {
    --_btn-icon-clr: var(--white-clr);
    --_btn-icon-txt-clr: var(--black-clr);

    padding: 0.25rem 1rem;
    border: 1px solid var(--_btn-txt-clr);
}

.signin-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.25rem;
}

.signin-img {
    width: 528px;
    height: 580px;
    position: relative;
    border-radius: 0.5rem;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 0 98%);

    &::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 47px;
        width: 2px;
        height: 96%;
        background-color: #701b64;
        rotate: 9.5deg;
    }

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: inherit;
    }

    @media (1024px<width<=1280px) {
        width: 480px;
        /* height: ; */

        &::before {
            left: 43px;
            rotate: 8.5deg;
        }
    }
}


.forgot-password {
    .column:first-child {
        align-self: center;
    }

    img {
        transform: scaleX(-1);
        object-fit: contain;
        object-position: bottom;
    }

    .reset-btn {
        margin-top: 3rem;
    }
}

.confirmation {
    p {
        padding-bottom: 3rem;
    }
}

.confirmation-content {
    margin-inline: auto;
    padding: 2rem 2.5rem;
    width: min(100%, 500px);
    background-color: var(--white-clr);
    box-shadow: 0 2px 4px hsla(0, 0%, 0%, 0.07);
    text-align: center;
    border-radius: 0.75rem;
}

.refresh-btn {
    margin-bottom: 1rem;
}