/* CARD  ---------------------------------------------------------------- */
.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: opacity 300ms, z-index 0ms 300ms;
}
.overlay.active{
    opacity: 1;
    pointer-events: all;
    z-index: 5;
    transition: opacity 300ms, z-index 0ms;
}
.overlay .background{
    position: absolute;
    background-color: var(--black);
    opacity: 0.64;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
.overlay .container{
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
    padding-top: unset;
}

.overlay-card{
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    max-width: 32rem;
    max-height: 64dvh;
    background-color: var(--pink16);
    padding: 1rem;
    border-radius: 1rem;
    gap: 1rem;
    transform: scale(0.8);
    transition: transform 300ms;
}
.overlay.active .overlay-card{
    transform: scale(1);
    pointer-events: all;
}
/* ---------------------------------------------------------------------- */

/* CONTENT -------------------------------------------------------------- */
.overlay-card .icon.cross{
    position: absolute;
    top: 1.25rem;
    right: 1rem;
    cursor: pointer;
}
.overlay-card .h3{
    color: var(--pink);
    margin-right: 2rem;
}
.overlay-card > .btn, .overlay-card > button{
    margin-left: auto;
}

.overlay-content{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0.75rem 1rem;
    gap: 1rem;
    border-radius: 1rem;
    background-color: var(--white);
    overflow: auto;
}

.new-collection-wrapper{
    display: none;
    flex-direction: row;
    align-items: center;
}
.new-collection-wrapper input[type=text]{
    padding-top: unset;
}
.new-collection-wrapper.active{
    display: flex;
}
.create-new-collection.hidden{
    display: none;
}

.confirm-overlay-text{
    text-align: center;
}
.confirm-overlay-text span{
    color: var(--pink);
    font-weight: 700;
    white-space: nowrap;
}
/* ---------------------------------------------------------------------- */