body{
    margin:0;
    min-height:100vh;
    background:linear-gradient(135deg,#00111f,#003b66,#3979aa);
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
}

.auth-wrapper{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
}

.auth-card{
    width:100%;
    max-width:950px;
    min-height:540px;
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    display:grid;
    grid-template-columns:1fr 1fr;
    box-shadow:0 18px 40px rgba(0,0,0,.28);
    animation:fadeIn .6s ease;
}

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(20px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.auth-left{
    padding:60px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.auth-title{
    text-align:center;
    color:#06395b;
    font-size:36px;
    font-weight:800;
    margin-bottom:10px;
}

.auth-subtitle{
    text-align:center;
    color:#6b7280;
    font-size:15px;
    line-height:1.6;
    margin-bottom:35px;
}

.auth-field{
    margin-bottom:25px;
}

.auth-field label{
    display:none;
}

.auth-field input{
    width:100%;
    height:56px;
    border:1px solid #c5cbd3;
    border-radius:10px;
    padding:0 18px;
    font-size:15px;
    color:#1f2937;
    background:#fff;
    outline:none;
    transition:.25s ease;
}

.auth-field input:focus{
    border-color:#0b67a8;
    box-shadow:0 0 0 3px rgba(11,103,168,.15);
}

.auth-actions{
    margin-top:10px;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.back-link{
    text-align:center;
    color:#0067ad;
    font-size:14px;
    font-weight:700;
    text-decoration:none;
}

.back-link:hover{
    text-decoration:underline;
}

.auth-button{
    width:100%;
    height:56px;
    background:#0067ad !important;
    color:#fff !important;
    border-radius:10px !important;
    font-size:17px;
    font-weight:700;
    justify-content:center;
    transition:.25s ease;
    box-shadow:0 6px 14px rgba(0,0,0,.22);
}

.auth-button:hover{
    background:#00548f !important;
    transform:translateY(-2px);
}

.success-box{
    margin-bottom:20px;
    padding:14px 18px;
    border-radius:10px;
    background:#dcfce7;
    color:#166534;
    font-size:14px;
    font-weight:600;
}

.auth-right{
    background:linear-gradient(to bottom right,#03233b 0%,#3979aa 100%);
    position:relative;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center;
}

.auth-right::before{
    content:'';
    position:absolute;
    width:380px;
    height:380px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,.10);
    animation:rotate 18s linear infinite;
}

.auth-right::after{
    content:'';
    position:absolute;
    width:520px;
    height:520px;
    border-radius:50%;
    border:2px dashed rgba(255,255,255,.08);
    animation:rotateReverse 28s linear infinite;
}

.logo-granja{
    position:relative;
    z-index:2;
    width:100%;
    height:100%;
    padding:35px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.logo-granja img{
    width:100%;
    max-width:430px;
    height:auto;
    object-fit:contain;
    filter:drop-shadow(0 10px 20px rgba(0,0,0,.45));
    animation:floatLogo 4s ease-in-out infinite;
}

.circuit-lines{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    z-index:1;
    pointer-events:none;
}

.circuit-lines img{
    width:100%;
    display:block;
    opacity:.95;
}

@keyframes floatLogo{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0px);
    }

}

@keyframes rotate{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }

}

@keyframes rotateReverse{

    from{
        transform:rotate(360deg);
    }

    to{
        transform:rotate(0deg);
    }

}

@media(max-width:900px){

    .auth-card{
        grid-template-columns:1fr;
        max-width:500px;
    }

    .auth-right{
        display:none;
    }

    .auth-left{
        padding:45px 30px;
    }

}