body {
    min-height: 100vh;
    background: linear-gradient(120deg, #e0e7ff 0%, #f7fafd 100%);
    font-family: 'Inter', sans-serif;
}
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-card-modern {
    display: flex;
    max-width: 980px;
    width: 100%;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(25, 118, 210, 0.10), 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
}
.login-card-left {
    background: linear-gradient(135deg, #2563eb 0%, #22c55e 100%);
    color: #fff;
    width: 400px;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.2rem 2.5rem;
}
.login-card-left img {
    max-width: 70px;
    height: auto;
    margin-bottom: 1.2rem;
    object-fit: contain;
}
.login-card-left h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.login-card-left p {
    font-size: 1.08rem;
    opacity: 0.93;
}
.login-card-right {
    flex: 1;
    padding: 3.2rem 2.7rem 2.5rem 2.7rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.login-title {
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.3rem;
}
.login-subtitle {
    color: #7a8a99;
    text-align: center;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
.form-label {
    font-weight: 600;
    color: #222;
    font-size: 0.98rem;
}
.form-control {
    border-radius: 8px;
    font-size: 1rem;
}
.form-check-label {
    font-size: 0.97rem;
}
.login-btn {
    background: linear-gradient(90deg, #2563eb 0%, #22c55e 100%);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1.1rem;
    padding: 0.7rem 0;
    margin-top: 0.7rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 12px rgba(34, 197, 94, 0.10);
    border: none;
    transition: background 0.2s, box-shadow 0.2s;
}
.login-btn:hover {
    background: linear-gradient(90deg, #1746a2 0%, #15803d 100%);
    box-shadow: 0 4px 18px rgba(34, 197, 94, 0.13);
}
.login-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.97rem;
    margin-bottom: 0.5rem;
}
.login-links a {
    color: #2563eb;
    text-decoration: none;
}
.login-links a:hover {
    text-decoration: underline;
}
.login-footer {
    text-align: center;
    font-size: 0.97rem;
    color: #7a8a99;
    margin-top: 0.7rem;
}
.login-footer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}
.login-footer a:hover {
    text-decoration: underline;
}
.login-social {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 1.1rem;
    justify-content: center;
}
.login-social-btn {
    border: 1.5px solid #e5e7eb;
    background: #f7fafd;
    color: #222;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-size: 1.05rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.18s, border 0.18s;
}
.login-social-btn:hover {
    background: #e0e7ff;
    border-color: #2563eb;
}
.login-message {
    text-align: center;
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
    color: #e11d48;
    font-weight: 500;
}

/* Acessibilidade */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus styles para acessibilidade */
.form-control:focus,
.btn:focus,
.form-check-input:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Skip link para acessibilidade */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #2563eb;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Validação visual */
.form-control.is-invalid {
    border-color: #e11d48;
    box-shadow: 0 0 0 0.2rem rgba(225, 29, 72, 0.25);
}

.form-control.is-invalid:focus {
    border-color: #e11d48;
    box-shadow: 0 0 0 0.2rem rgba(225, 29, 72, 0.25);
}

/* Melhorias de performance */
.login-card-modern {
    will-change: transform;
}

/* Redução de motion para acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
@media (max-width: 900px) {
    .login-card-modern {
        max-width: 98vw;
    }
    .login-card-left {
        width: 220px;
        padding: 1.5rem 1rem;
    }
}
@media (max-width: 700px) {
    .login-card-modern {
        flex-direction: column;
        min-width: 0;
        max-width: 98vw;
    }
    .login-card-left {
        width: 100%;
        min-height: 120px;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 1.2rem 1rem;
        border-radius: 18px 18px 0 0;
    }
    .login-card-left img {
        margin-bottom: 0;
        margin-right: 1rem;
        max-width: 50px;
        height: auto;
    }
    .login-card-right {
        padding: 2rem 1.2rem 1.2rem 1.2rem;
    }
}