﻿/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: #0b1a24;
    color: #fff;
}


/* ================= MOBILE ================= */

/* ===== MOBILE Login ===== */
.divPopupLogin {
    position: absolute;
    top: 0px;
    width: 100%;
}

.btnCloseLogin {
    background-color: transparent;
    color: #b1bad3;
    outline: none;
    border: none;
}

.divFormLogin {
    margin-top: 1rem;
}

.InputWarpper {
    display: flex;
    width: 100%;
    gap: 5px;
}

.m-login {
    padding: 0 14px 10px;
}

    .m-login input {
        width: 100%;
        padding: 14px;
        border-radius: 10px;
        border: 0.5px solid #b1bad3;
        background: #142a38;
        color: #fff;
        margin-top: 0.375rem;
    }



    .m-login select {
        width: 40%;
        padding: 5px;
        border-radius: 10px;
        border: 0.5px solid #b1bad3;
        background: #142a38;
        color: #fff;
        margin-top: 0.375rem;
    }

        .m-login select option {
            color: white !important;
        }

    .m-login label {
        color: #b1bad3;
        font-size: .875rem;
        font-weight: 600;
    }

.divSignIn {
    text-align: center;
    padding: 1rem;
}

    .divSignIn button {
        width: 100% !important;
        padding: 15px 18px;
    }

.check-inline {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .check-inline input {
        width: auto !important;
        margin-right: 0.5rem;
    }


/*.m-title{
    position:absolute;
    top: 20%;
    width: 100%;
    display:flex;
    justify-content:center;
    color: #fff;
}*/

.m-title {
    /* font-family: 'Fredoka', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #ffcc33;
    letter-spacing: 3px;
    -webkit-text-stroke: 3px #6b3f00;
    text-shadow: 0 4px 0 #a86500, 0 6px 0 #7a4f00, 0 8px 12px rgba(0,0,0,0.35);*/


    font-family: 'Baloo 2', cursive;
    font-size: 38px;
    font-weight: 800;
    color: #ffcc33;
    text-shadow: 0 3px 0 #d89b00, 0 5px 10px rgba(0,0,0,0.25);
    -webkit-text-stroke: 2px #7a4f00;
    position: absolute;
    top: 15%;
    width: 100%;
    display: flex;
    justify-content: center;
}

.Theme-bg {
    background-image: url('../../images/ChickenLogin/BackgroundImage.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.Login-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;

    height: 100vh;
    background-image: url('../../images/ChickenLogin/Bg_mobile_720x1280.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow:hidden;
}

.BackgroundImage {
    width: 100%;
    display: block;
    height: 100vh;
}

.Login-Form {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
}

.Register-Form {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: min(450px, 92vw);
}

.Quick-Login-Form {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: min(430px, 92vw);
}

.side-board {
    position: relative;
    /* width: 430px;
    height: 48vh;*/
    width: min(430px, 90vw);
    aspect-ratio: 430 / 500;
    height: auto;
    background-image: url('../../images/ChickenLogin/LoginBoard_2.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.quick-side-board {
    position: relative;
    width: 100%;
    aspect-ratio: 430 / 570;
    height: auto;
    background-image: url('../../images/ChickenLogin/QuickLoginBoard.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.register-board {
    position: relative;
    width: 100%;
    aspect-ratio: 450 / 653;
    height: auto;
    background-image: url('../../images/ChickenLogin/RegisterBoard.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.side-board-content {
    position: absolute;
    /* top: 205px;*/
    top: 29%;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.register-board-content {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    gap: clamp(5px, 1.2vw, 9px);
}

.quick-login-board-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    width: 58%;
    max-width: 245px;
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.5vw, 12px);
}

.register-board-content .login-input {
    width: 100%;
    height: clamp(20px, 6vw, 26px);
    font-size: clamp(12px, 3vw, 16px);
}


.login-input {
    width: 100%;
    height: clamp(28px, 4vw, 36px);
    padding: 0 10px;
    border: none;
    outline: none;
    border-radius: 5px;
    font-size: clamp(12px, 2vw, 16px);
    box-sizing: border-box;
    background-color: #feedad;
    font-family: 'Nunito', 'Fredoka', sans-serif;
    font-weight: 600;
    color: #5a4a2f;
}

.btn-google,
.btn-other-login,
.btn-login,
.btn-register {
    width: 100%;
    aspect-ratio: 271 / 39;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    color: white;
    font-weight: bold;
    font-size: clamp(12px, 3vw, 16px);
    cursor: pointer;
    margin: auto;
    text-align: center;
    background-color: transparent;
    font-family: 'Fredoka One', 'Luckiest Guy', cursive;
    text-transform: uppercase;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4), 0 3px 4px rgba(0, 0, 0, 0.25);
    letter-spacing: 1px;
}

/* individual button images */
.btn-login {
    background-image: url('../../images/ChickenLogin/button_green_1.png');
}

.btn-other-login {
    background-image: url('../../images/ChickenLogin/button_red_1.png');
}

.btn-register {
    background-image: url('../../images/ChickenLogin/button_orange_1.png');
}

.btn-google {
    background-image: url('../../images/ChickenLogin/button_red_1.png');
}



    /* hover effect */
    .btn-google:hover,
    .btn-login:hover,
    .btn-register:hover,
    .btn-other-login:hover {
        transform: scale(1.05);
        filter: brightness(1.08);
    }

    /* pressing effect */
    .btn-google:active,
    .btn-login:active,
    .btn-register:active,
    .btn-other-login:active {
        transform: translateY(4px) scale(0.97);
        filter: brightness(0.85);
        box-shadow: 0 0 0 rgba(0,0,0,0.35);
    }

.Chicken-wrapper {
    position: absolute;
    /*right: -20px;*/
    /*top: 290px;*/
    right: -2%;
    bottom: -5%;
    width: 45%;
    max-width: 210px;
    min-width: 100px;
    /*width: 210px;*/
    pointer-events: none;
}

    .Chicken-wrapper img {
        width: 100%;
        height: auto;
    }


.Car-wrapper {
    position: absolute;
    /*right: 120px;
    top: 30px;*/
    right: 20%;
    top: -12%;
    width: 18%;
    max-width: 70px;
    min-width: 40px;
    /*width: 70px;*/
    pointer-events: none;
}

    .Car-wrapper img {
        width: 100%;
        height: auto;
    }

.game-error-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

    .game-error-backdrop.show {
        display: flex;
    }

.game-error-dialog {
    width: 100%;
    max-width: 340px;
    background: #1f2436;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    color: #fff;
}

.errorMessage {
    text-align: left;
    font-size: 0.85rem;
    margin: 3rem 0;
}

.btn-retry {
    border-radius: 1.5rem !important;
    padding: .375rem 2.75rem !important;
}



/* Desktop */
@media (min-width: 1200px) {
    .Car-wrapper {
        top: -8%;
    }
}
/* ===== MOBILE Login ===== */
