.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 60;
    transition: opacity 0.1s ease-in;
    overflow-y: scroll;
    overflow-x: hidden;
    /* overflow: hidden; */
}

.auth {
    position: absolute;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 130vh; */
    /* top: 50%;
    transform: translateY(-50%); */
    padding: 20px 0;
}

.overlay.hide {
    display: none;
    /* opacity: 0;
    pointer-events: none; */
}
.overlay.display {
    display: block;
    /* opacity: 1;
    pointer-events: all; */
}

.auth_container {
    position: relative;
    background: var(--secondary-color);
    max-width: 600px;
    /* height: 95vh; */
    width: 99vw;
    color: #fff;
    border-radius: 7px;
    padding: 30px 50px;
    transition: all 0.1s ease-in;
}

.cancel_container {
    position: absolute;
    top: 15px;
    right: 20px;
    height: 30px;
    width: 30px;
    cursor: pointer;
}

.heading {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 500;
    font-family: "Poppins";
}
.subheading {
    margin-bottom: 20px;
    font-size: 16px;
    color: #aaa;
    font-weight: 500;
}

.socials_auth {
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
}
.social_auth {
    /* padding: 10px 0; */
    padding: 5px;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    background: #fff;
    /* background: var(--secondary-color-light); */
    border: none;
    border-radius: 5px;
    margin: 0 5px;
    cursor: pointer;
}

/* .social_auth:first-child {
      margin-bottom: 10px;
  } */

.social_auth p {
    font-family: "Poppins";
    margin: 0 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* color: #fff !important; */
}

.or {
    display: block;
    text-align: center;
    margin: 20px 0;
}
.or p {
    position: relative;
    font-weight: 500;
    color: #9f9f9f;
}
.or p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 1px;
    width: 45%;
    background: #9f9f9f;
    transform: translateY(-50%);
}
.or p::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    height: 1px;
    width: 45%;
    background: #9f9f9f;
    transform: translateY(-50%);
}

.action_button {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    background: var(--gradient);
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
}

.action_button:active {
    transform: scale(0.98);
}

.switch_auth_popup {
    margin-top: 20px;
    cursor: pointer;
    font-size: 14px;
}
.switch_auth_popup:hover {
    text-decoration: underline;
}

.forgot_password {
    font-size: 14px;
    margin-top: 10px;
    font-weight: 400;
}

.error_message {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.error_message p {
    margin-left: 5px;
    font-size: 14px;
    color: var(--error);
    font-weight: bold;
}

.categories {
    margin-bottom: 20px;
}

.categories_head {
    margin-right: 15px;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 500;
}

.categories_error {
    color: red;
    font-size: 14px;
}

.category {
    display: inline-block;
    padding: 5px 10px;
    background: var(--secondary-color-light);
    /* background: var(--gradient); */
    margin: 5px 8px 5px 0;
    border-radius: 5px;
    font-size: 14px;
    color: #fff;
    outline: none;
    border: none;
    cursor: pointer;
}
.category.active {
    background: var(--gradient);
}

.upload_button {
    padding: 7px 20px;
    border-radius: 5px;
    outline: none;
    border: none;
    background: var(--gradient);
    color: #fff;
    text-transform: uppercase;
    margin-top: 10px;
    cursor: pointer;
}

.file_image_video {
    width: 100%;
}

@media screen and (max-width: 450px) {
    .auth {
        padding: 0;
    }
    .auth_container {
        padding: 30px 20px;
    }
    .heading {
        font-size: 28px;
    }
    .subheading {
        font-size: 14px;
    }
    .social img {
        height: 35px;
    }
    .social p {
        font-size: 12px;
    }
    .forgot_password {
        font-size: 12px;
    }
    .switch_auth_popup {
        font-size: 12px;
    }
}

@media screen and (max-width: 350px) {
    .heading {
        font-size: 18px;
    }
    .sub_heading {
        font-size: 14px;
    }
    .socials_auth {
        flex-direction: column;
    }
    .social_auth {
        width: auto;
        /* padding: 0; */
        justify-content: center;
    }
    .social_auth:first-child {
        margin-bottom: 10px;
    }
}
