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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1100px;
    height: auto;
    min-height: 580px;
    margin: 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-gap: 4rem;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.06);
    padding: 3rem;
    align-items: center;
}

.img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.img img {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(37, 99, 235, 0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.login-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

form {
    width: 100%;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-content img {
    height: 70px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.15));
}

.login-content h2.card-title,
.login-content h2.title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.3;
}

.login-content .input-div {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
}

.login-content .input-div.focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}

.i {
    color: #94a3b8;
    margin-right: 0.75rem;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.3s ease;
}

.login-content .input-div.focus .i {
    color: #0d9488;
}

.input-div > div {
    position: relative;
    width: 100%;
    height: 38px;
}

.input-div > div > h5 {
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    pointer-events: none;
}

.input-div.focus > div > h5,
.input-div.has-content > div > h5 {
    top: 0px;
    font-size: 11px;
    color: #0d9488;
    font-weight: 600;
}

.input-div > div > input {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 28px;
    border: none;
    outline: none;
    background: none;
    padding: 0 4px;
    font-size: 15px;
    color: #1e293b;
    font-family: 'Poppins', sans-serif;
}

.input-div.pass {
    padding-right: 2.5rem;
}

#togglePassword {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background: none;
    border: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

#togglePassword:hover {
    background-color: #f1f5f9;
    color: #2563eb;
}

.btn {
    display: block;
    width: 100%;
    height: 48px;
    border-radius: 12px;
    outline: none;
    border: none;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    margin-top: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.btn:active {
    transform: translateY(0);
}

/* Ocultar a onda padrão do antigo layout */
.wave {
    display: none !important;
}

/* Estilo do botão Entrar da tela de Logout */
.btn-md {
    font-size: 16px !important;
    padding: 10px 24px;
    height: auto !important;
}

@media screen and (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem;
        max-width: 450px;
    }

    .img {
        display: none;
    }
}