* {  
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #012340 0%, #73BCD9 100%);
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    display: flex;
    width: 100%;       
}

.container-direito{
    height: 550px;
    width: 34%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
   
}

.container-direito h1 {
    text-align: center;
    margin-top: 0;
    color:#012340
}

.container-esquerdo {
    height: 550px;
    width: 25%;
    padding: 40px;
    margin-left: 20%;
    background: linear-gradient(135deg, #012340, #73BCD9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.form-group{
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 10px 10px;
    font-size: 13px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.btn-login {
    width: 50%;
    display: block;
    margin: 0 auto;
    padding: 12px;
    background: linear-gradient(135deg, #012340 0%, #73BCD9 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    color: #777;
    font-size: 15px;
}

@media (max-width: 768px) {

    body {
        align-items: flex-start;
        padding: 2rem 1rem;
    }

    .login-container {
        flex-direction: column; /* empilha esquerdo e direito */
        width: 100%;
    }

    .container-esquerdo {
        width: 100%;
        height: auto;
        margin-left: 0;
        padding: 2rem;
        border-radius: 10px 10px 0 0; /* arredonda só em cima */
    }

    .container-direito {
        width: 100%;
        height: auto;
        border-radius: 0 0 10px 10px; /* arredonda só embaixo */
        padding: 2rem;
    }
}

@media (max-width: 480px) {

    .container-esquerdo {
        padding: 1.5rem;
    }

    .container-direito {
        padding: 1.5rem;
    }

    .container-direito h1 {
        font-size: 1.5rem;
    }

    .btn-login {
        width: 100%; /* botão ocupa largura toda no celular */
    }
}
