@import url('../all.css');
.log_reg {
    width: 430px;
    margin: 40px auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.log_reg img {
    height: 30px;
    filter: invert(100%);
}

.box_log_reg {
    width: 100%;
    padding: 30px;
    margin-top: 20px;
    background-color: var(--white);
    box-sizing: border-box;
    border-radius: 3px;
}

.box_log_reg h1 {
    text-align: center;
    font-size: 25px;
    font-weight: 500;
    color: var(--black);
}

.box_log_reg h4 {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: var(--grey);
    margin-top: 8px;
}

.box_log_reg h4 a {
    font-weight: 500;
    color: var(--orange);
}

.log_reg_social {
    width: 100%;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 13px;
}

.isi_log_reg_social {
    width: 100%;
    height: 45px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
    align-items: center;
    border: 1px solid var(--border-grey);
    border-radius: 3px;
    cursor: pointer;
    transition: 0.2s;
    box-sizing: border-box;
}

.isi_log_reg_social:hover {
    border: 1px solid var(--orange);
}

.isi_log_reg_social img {
    position: absolute;
    height: 20px;
    left: 13px;
}

.isi_log_reg_social p {
    font-size: 14px;
    color: var(--semi-black);
    font-weight: 500;
}

.line_log_reg {
    width: 100%;
    height: 1px;
    background-color: var(--border-grey);
    margin-top: 30px;
}

.text_line_log_reg {
    text-align: center;
    width: 150px;
    height: 20px;
    line-height: 20px;
    background-color: var(--white);
    font-size: 12px;
    color: var(--grey);
    margin-top: -11px;
}

.box_form_log_reg {
    width: 100%;
    margin-top: calc(30px - 9px);
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 13px;
}

.form_log_reg {
    width: 100%;
}

.form_log_reg p {
    font-size: 11px;
    margin-bottom: 3px;
    color: var(--red);
    display: none;
    font-weight: 500;
}

.button {
    margin-top: 30px;
}

#daftar_loading {
    display: none;
}

#masuk_loading {
    display: none;
}

.res {
    /* display: none; */
}

@media only screen and (max-width: 600px) {
    body{
        background-color: var(--white);
    }
    .log_reg{
        width: 100%;
    }
    .box_log_reg{
        margin-top: 0;
        padding: 20px;
    }
    
}


form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}
.sukses {
    font-size: 12px;
    margin-bottom: 3px;
    color: #158C04;
    display: none;
    font-weight: 500;
  }
.error {
    font-size: 12px;
    margin-bottom: 3px;
    color: var(--red);
    display: none;
    font-weight: 500;
  }


input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border-grey);
    padding: 10px 13px;
    border-radius: 3px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--black);
    outline: none;
    resize: none;
}

input[type="submit"] {
    width: 100%;
    height: 48px;
    background-color: var(--orange);
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    font-family: Arial, sans-serif;
}

.loading-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--orange);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}



        .message {
            padding: 20px;
            border-radius: 5px;
            background-color: #ffffff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
