* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    background: #00bf7d;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../img/logo-recicle-white.png") center / min(760px, 72vw) auto no-repeat;
    opacity: 0.13;
    pointer-events: none;
}

.container {
    width: 950px;
    height: 550px;
    background: rgba(255, 255, 255, 0.90);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 22px 54px rgba(0, 64, 42, 0.24);
    position: relative;
    z-index: 1;
}

.left {
    width: 50%;
    background: linear-gradient(135deg, #00bf7d, #00bf7d);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 56px;
    text-align: center;
}

.left h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.login-brand-logo {
    width: min(340px, 100%);
    max-height: 110px;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 26px;
}

.left p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

.right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.login-box {
    width: 100%;
    max-width: 350px;
    position: relative;
    z-index: 1;
}

.right::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/logo-recicle-white.png") center / min(520px, 82%) auto no-repeat;
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
}

.login-mobile-logo {
    display: none;
    width: min(280px, 86%);
    max-height: 88px;
    margin: 0 auto 28px;
    object-fit: contain;
}

.login-box h2 {
    color: #00bf7d;
    margin-bottom: 10px;
    font-size: 32px;
}

.login-box span {
    color: #00bf7d;
    font-size: 14px;
}

.input-group {
    margin-top: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid rgba(17, 24, 39, .2);
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #43a047;
    box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.2);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 58px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 38px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: rgba(0, 191, 125, 0.12);
    color: #047857;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.password-toggle:hover,
.password-toggle:focus {
    background: rgba(0, 191, 125, 0.20);
    outline: none;
}

.password-toggle-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.btn-login {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #00bf7d;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login:hover {
    background: #2e7d32;
}

.forgot-password-link {
    display: block;
    margin-top: 16px;
    color: #00bf7d;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.forgot-password-link:hover {
    color: #2e7d32;
    text-decoration: underline;
}

.support-whatsapp-link {
    display: block;
    margin-top: 10px;
    color: #128c7e;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.support-whatsapp-link:hover {
    color: #075e54;
    text-decoration: underline;
}

.footer-text {
    margin-top: 20px;
    text-align: center;
    color: #888;
    font-size: 13px;
}

@media(max-width:900px) {
    .container {
        width: 95%;
        flex-direction: column;
        height: auto;
    }

    .left,
    .right {
        width: 100%;
    }

    .left {
        padding: 30px;
    }

    .login-brand-logo {
        width: min(300px, 92%);
        max-height: 96px;
    }
}

/* TELAS GRANDES */

.login-container{
    max-width: 1400px;
    margin: auto;
}

/* TABLET */

@media(max-width: 1024px){

    .login-left{
        padding: 50px;
    }

    .login-left h2{
        font-size: 30px;
    }

    .login-box{
        max-width: 380px;
    }
}

/* CELULAR */

@media(max-width: 768px){

    body{
        min-height: 100vh;
        height: auto;
        padding: 18px;
        align-items: center;
        background: #00bf7d;
    }

    .container{
        width: 100%;
        max-width: 430px;
        min-height: auto;
        height: auto;
        display: block;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .login-container{
        height: auto;
        min-height: auto;
    }

    .left,
    .login-left{
        display: none;
    }

    .right,
    .login-right{
        width: 100%;
        min-height: auto;
        padding: 0;
        background: transparent;
        align-items: center;
    }

    .right::before {
        display: none;
    }

    .login-box{
        width: 100%;
        max-width: 342px;
        margin: 0 auto;
        border: 1px solid rgba(229, 244, 239, 0.95);
        border-radius: 18px;
        padding: 0 18px 24px;
        background: #ffffff;
        box-shadow: 0 18px 40px rgba(0, 64, 42, 0.22);
        overflow: hidden;
    }

    .login-box h2{
        font-size: 26px;
        text-align: center;
    }

    .login-box span {
        display: block;
        text-align: center;
    }

    .login-mobile-logo {
        display: block;
        width: calc(100% + 36px);
        max-height: none;
        height: 116px;
        margin: 0 -18px 28px;
        padding: 30px 72px;
        border-radius: 0;
        background: #00bf7d;
        box-shadow: none;
    }

    .input-group {
        margin-top: 18px;
    }

    .input-group input{
        height: 50px;
        padding: 12px 14px;
        font-size: 16px;
    }

    .password-field input {
        padding-right: 58px;
    }

    .btn-login{
        height: 50px;
    }
}

/* CELULAR PEQUENO */

@media(max-width: 420px){

    .login-mobile-logo {
        width: calc(100% + 36px);
        height: 108px;
        margin: 0 -18px 24px;
        padding: 28px 54px;
    }

    .login-box{
        padding: 0 18px 24px;
    }

    .login-box h2{
        font-size: 24px;
    }

    .input-group input{
        height: 48px;
    }
}

input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
select,
textarea {
    border: 2px solid rgba(17, 24, 39, .2) !important;
}

input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):focus,
select:focus,
textarea:focus {
    border-color: #43a047 !important;
}
