/* =========================================================
   PEEWAN PET SHOP - AUTH UI
   PC + MOBILE
========================================================= */

.peewan-auth-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    padding: 10px 14px;

    background: rgba(0,255,153,0.08);

    border: 1px solid #00ff99;

    border-radius: 10px;

    color: #00ff99;

    font-weight: 700;

    cursor: pointer;

    transition: 0.25s;

    white-space: nowrap;

}


.peewan-auth-btn:hover {

    background: #00ff99;

    color: #000;

    transform: translateY(-2px);

}


.peewan-auth-icon {

    font-size: 18px;

}


/* MODAL */

#peewanAuthModal {

    display: none;

    position: fixed;

    inset: 0;

    z-index: 999999;

    align-items: center;

    justify-content: center;

    padding: 20px;

}


.peewan-auth-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,0.78);

    backdrop-filter: blur(8px);

}


/* BOX */

.peewan-auth-box {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 430px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 30px;

    background:

        linear-gradient(
            145deg,
            rgba(20,20,20,0.98),
            rgba(5,5,5,0.98)
        );

    border:

        1px solid
        rgba(0,255,153,0.45);

    border-radius: 22px;

    box-shadow:

        0 0 40px
        rgba(0,255,153,0.15);

    color: white;

    animation:

        peewanAuthShow
        0.25s
        ease;

}


@keyframes peewanAuthShow {

    from {

        opacity: 0;

        transform:
            translateY(20px)
            scale(0.96);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}


/* CLOSE */

.peewan-auth-close {

    position: absolute;

    right: 15px;

    top: 10px;

    width: 35px;

    height: 35px;

    border: none;

    background: transparent;

    color: #aaa;

    font-size: 28px;

    cursor: pointer;

}


.peewan-auth-close:hover {

    color: #00ff99;

}


/* LOGO */

.peewan-auth-logo {

    display: flex;

    justify-content: center;

    margin-bottom: 15px;

}


.peewan-auth-logo img {

    width: 70px;

    height: 70px;

    object-fit: cover;

    border-radius: 50%;

    border: 2px solid #00ff99;

}


/* TITLE */

.peewan-auth-box h2 {

    margin: 5px 0;

    text-align: center;

    color: #00ff99;

    font-size: 25px;

}


.peewan-auth-subtitle {

    text-align: center;

    color: #999;

    font-size: 13px;

    margin-bottom: 25px;

}


/* FIELD */

.peewan-field {

    margin-bottom: 15px;

}


.peewan-field label {

    display: block;

    margin-bottom: 6px;

    color: #ccc;

    font-size: 13px;

    font-weight: 600;

}


.peewan-field input {

    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    border-radius: 10px;

    border:

        1px solid
        rgba(255,255,255,0.1);

    background: #111;

    color: white;

    outline: none;

    font-size: 14px;

    transition: 0.2s;

}


.peewan-field input:focus {

    border-color: #00ff99;

    box-shadow:

        0 0 10px
        rgba(0,255,153,0.15);

}


/* FORGOT */

.peewan-forgot {

    display: block;

    margin: 0 0 15px auto;

    border: none;

    background: transparent;

    color: #00ff99;

    cursor: pointer;

    font-size: 12px;

}


/* SUBMIT */

.peewan-submit-btn {

    width: 100%;

    padding: 13px;

    border: none;

    border-radius: 10px;

    background: #00ff99;

    color: #000;

    font-weight: 800;

    font-size: 15px;

    cursor: pointer;

    transition: 0.2s;

}


.peewan-submit-btn:hover {

    transform: translateY(-2px);

    box-shadow:

        0 0 20px
        rgba(0,255,153,0.35);

}


/* DIVIDER */

.peewan-divider {

    display: flex;

    align-items: center;

    gap: 10px;

    margin: 20px 0;

    color: #666;

    font-size: 11px;

}


.peewan-divider::before,
.peewan-divider::after {

    content: "";

    height: 1px;

    flex: 1;

    background: #333;

}


/* GOOGLE */

.peewan-google-btn {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 12px;

    border-radius: 10px;

    border: 1px solid #444;

    background: #fff;

    color: #111;

    font-weight: 700;

    cursor: pointer;

    transition: 0.2s;

}


.peewan-google-btn:hover {

    transform: translateY(-2px);

}


.peewan-google-btn img {

    width: 20px;

    height: 20px;

}


/* SWITCH */

.peewan-switch {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 5px;

    margin-top: 20px;

    color: #888;

    font-size: 13px;

}


.peewan-switch button {

    border: none;

    background: transparent;

    color: #00ff99;

    font-weight: 700;

    cursor: pointer;

}


/* MESSAGE */

.peewan-auth-message {

    text-align: center;

    min-height: 20px;

    margin-top: 15px;

    font-size: 13px;

}


.peewan-auth-message.success {

    color: #00ff99;

}


.peewan-auth-message.error {

    color: #ff6666;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .peewan-auth-btn {

        padding: 9px 11px;

        font-size: 12px;

    }


    .peewan-auth-icon {

        font-size: 16px;

    }


    .peewan-auth-box {

        max-width: 100%;

        padding: 25px 20px;

        border-radius: 18px;

    }


    .peewan-auth-box h2 {

        font-size: 22px;

    }


    .peewan-auth-subtitle {

        font-size: 12px;

    }


    .peewan-field input {

        padding: 12px;

        font-size: 16px;

    }


    .peewan-submit-btn {

        padding: 14px;

    }


    .peewan-google-btn {

        padding: 14px;

    }

}