/* =========================================================
   PALAM BAKERS
   REGISTER POPUP
========================================================= */

#pbLoginModal .pb-register-box {

    position: relative;

    z-index: 2;

    width: 600px;

    max-width: calc(100vw - 30px);

    max-height: calc(100vh - 30px);

    overflow-y: auto;

    background: #ffffff;

    border: 1px solid #222;

    border-radius: 10px;

    padding: 36px 46px 30px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.30);

    animation:
        pbRegisterIn 0.25s ease;
}


/* =========================================================
   OPEN
========================================================= */

#pbLoginModal.active {

    display: flex;

}


/* =========================================================
   REGISTER BOX
========================================================= */

#pbLoginModal .pb-register-box {

    position: relative;

    z-index: 2;

    width: 600px;

    max-width: calc(100vw - 30px);

    max-height: calc(100vh - 30px);

    overflow-y: auto;

    background: #ffffff;

    border: 1px solid #222;

    border-radius: 10px;

    padding: 36px 46px 30px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.30);

    animation:
        pbRegisterIn 0.25s ease;

}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes pbRegisterIn {

    from {

        opacity: 0;

        transform:
            translateY(12px)
            scale(0.98);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}


/* =========================================================
   CLOSE
========================================================= */

#pbLoginModal .pb-register-close {

    position: absolute;

    top: 14px;
    right: 16px;

    width: 34px;
    height: 34px;

    border: 0;

    background: transparent;

    color: #222;

    font-size: 25px;

    line-height: 1;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    z-index: 10;

}


#pbLoginModal .pb-register-close:hover {

    background: #f3f3f3;

    border-radius: 50%;

}


/* =========================================================
   LOGO
========================================================= */

#pbLoginModal .pb-register-logo {

    text-align: center;

    margin-bottom: 14px;

}


#pbLoginModal .pb-register-logo img {

    width: 100px;

    height: 100px;

    object-fit: contain;

    display: block;

    margin: 0 auto;

}


/* =========================================================
   HEAD
========================================================= */

#pbLoginModal .pb-register-head {

    text-align: center;

    margin-bottom: 22px;

}


#pbLoginModal .pb-register-head h2 {

    margin: 0;

    color: #172718;

    font-family: Georgia, serif;

    font-size: 30px;

    font-weight: 500;

}


#pbLoginModal .pb-register-head p {

    margin: 8px 0 0;

    color: #777;

    font-size: 13px;

    line-height: 1.5;

}


/* =========================================================
   ERROR / SUCCESS
========================================================= */

#pbLoginModal .pb-register-message {

    margin-bottom: 15px;

    padding: 10px 12px;

    border-radius: 4px;

    font-size: 12px;

    line-height: 1.5;

}


#pbLoginModal .pb-register-message.error {

    background: #fff2f0;

    border: 1px solid #f0c8c2;

    color: #a33a2c;

}


#pbLoginModal .pb-register-message.success {

    background: #f0f7ef;

    border: 1px solid #c9ddc5;

    color: #385c32;

}


/* =========================================================
   FORM
========================================================= */

#pbLoginModal .pb-register-form {

    width: 100%;

}


/* =========================================================
   FORM GROUP
========================================================= */

#pbLoginModal .pb-register-group {

    margin-bottom: 16px;

}


#pbLoginModal .pb-register-group label {

    display: block;

    margin-bottom: 7px;

    color: #172718;

    font-size: 13px;

    font-weight: 600;

}


/* =========================================================
   INPUT WRAPPER
========================================================= */

#pbLoginModal .pb-register-input {

    position: relative;

    width: 100%;

}


#pbLoginModal .pb-register-input > i {

    position: absolute;

    left: 14px;

    top: 50%;

    transform: translateY(-50%);

    color: #687158;

    font-size: 14px;

    pointer-events: none;

}


/* =========================================================
   INPUT
========================================================= */

#pbLoginModal .pb-register-input input {

    width: 100%;

    height: 48px;

    padding:
        0 44px 0 40px;

    border: 1px solid #cfcfcf;

    border-radius: 4px;

    background: #ffffff;

    color: #222;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


#pbLoginModal
.pb-register-input
input::placeholder {

    color: #999;

}


#pbLoginModal
.pb-register-input
input:focus {

    border-color: #687158;

    box-shadow:
        0 0 0 2px
        rgba(104, 113, 88, 0.10);

}


/* =========================================================
   PASSWORD EYE
========================================================= */

#pbLoginModal .pb-password-toggle {

    position: absolute;

    right: 10px;

    top: 50%;

    transform: translateY(-50%);

    width: 32px;
    height: 32px;

    border: 0;

    background: transparent;

    color: #555;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

}


#pbLoginModal .pb-password-toggle:hover {

    color: #172718;

}


/* =========================================================
   CREATE ACCOUNT
========================================================= */

#pbLoginModal .pb-register-submit {

    width: 100%;

    min-height: 48px;

    margin-top: 3px;

    border: 0;

    border-radius: 4px;

    background: #12351f;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.3px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}


#pbLoginModal .pb-register-submit:hover {

    background: #556047;

}


#pbLoginModal .pb-register-submit:active {

    transform: translateY(1px);

}


/* =========================================================
   LOGIN LINK
========================================================= */

#pbLoginModal .pb-register-login {

    margin-top: 20px;

    padding-top: 18px;

    border-top: 1px solid #eeeeee;

    text-align: center;

    color: #555;

    font-size: 13px;

}


#pbLoginModal .pb-register-login-btn {

    border: 0;

    background: transparent;

    padding: 0;

    margin-left: 4px;

    color: #687158;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

}


#pbLoginModal .pb-register-login-btn:hover {

    text-decoration: underline;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    #pbLoginModal .pb-register-box {

        width: calc(100vw - 24px);

        max-width: calc(100vw - 24px);

        max-height: calc(100vh - 20px);

        padding:
            32px 22px 25px;

        border-radius: 8px;

    }


    #pbLoginModal .pb-register-logo {

        margin-bottom: 10px;

    }


    #pbLoginModal
    .pb-register-logo img {

        width: 82px;

        height: 82px;

    }


    #pbLoginModal
    .pb-register-head h2 {

        font-size: 25px;

    }


    #pbLoginModal
    .pb-register-head p {

        font-size: 12px;

    }


    #pbLoginModal
    .pb-register-group {

        margin-bottom: 14px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    #pbLoginModal .pb-register-box {

        padding:
            28px 18px 22px;

    }


    #pbLoginModal
    .pb-register-logo img {

        width: 75px;

        height: 75px;

    }

}