
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html, body {
        height: 100%;
        font-family: 'Segoe UI', sans-serif;
        
    }
    body {
        background-color: #2b3a59; /* <- essa cor será vista nas laterais */
        margin: 0;
        padding: 0;
        height: 100vh;
        overflow: hidden; /* impede scroll inesperado */
        

    }

    .login-wrapper {
        display: flex;
        height: calc(100vh - 50px);
        width: 99%;
    }

    .login-left {
        flex: 1;
    }

    .login-left img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .login-right {
        width: 400px;
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 60px 40px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.05);
        
    }

    .login-right h2 {
        text-align: center;
        margin-bottom: 24px;
        color: #333;
    }

    label {
        display: block;
        margin-bottom: 6px;
        color: #555;
        font-weight: bold;
    }

    input {
        width: 100%;
        padding: 12px;
        margin-bottom: 16px;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 14px;
    }

    input[type="submit"] {
        background: #0066cc;
        color: white;
        font-weight: bold;
        border: none;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    input[type="submit"]:hover {
        background: #004c99;
    }

    .error-message {
        color: #c00;
        background-color: #ffe5e5;
        padding: 2px;
        margin-bottom: 20px;
        border-radius: 0px;
        text-align: center;
        border: 0px solid #f00;
        display: block; /* padrão: escondido */
        opacity: 0;
        animation: fadeIn 0.5s forwards;
    }
    
    
    @keyframes fadeIn {
        to {
            opacity: 1;
        }
    }

    .success-message {
        background-color: #e6ffe6;
        border: 1px solid #00aa00;
        color: #006600;
        padding: 12px;
        margin-bottom: 20px;
        border-radius: 8px;
        text-align: center;
        font-weight: bold;
    }

    .options-links {
        text-align: center;
        margin-top: 16px;
    }

    .options-links a {
        color: #0066cc;
        text-decoration: none;
        margin: 0 10px;
    }

    .options-links a:hover {
        text-decoration: underline;
    }
    .login-logo {
        width: 45px;
        height: 45px;
        display: block;
        margin: 0 auto 20px;
    }
    .input-icon {
        position: relative;
        margin-bottom: 16px;
    }
    
    .input-icon i {
        position: absolute;
        top: 40%;
        left: 12px;
        transform: translateY(-50%);
        color: #999;
        font-size: 14px;
    }
    
    .input-icon input {
        width: 100%;
        padding: 12px 12px 12px 38px; /* espaço para o ícone */
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 14px;
        transition: border-color 0.3s ease;
    }
    
    .input-icon input:focus {
        border-color: #0066cc;
        box-shadow: 0 0 4px rgba(0, 102, 204, 0.2);
        outline: none;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }
    
        
    .login-footer {
        margin-top: auto;
        font-size: 12px;
        text-align: center;
        color: #888;
        padding-top: 20px;
    }
    .divider-ou {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 24px 0 16px;
    }
    
    .divider-ou span {
        font-weight: bold;
        color: #666;
        font-size: 14px;
    }
    .google-login-wrapper {
        text-align: center;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
    
    .google-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 16px;
        background: #ffffff;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 14px;
        font-weight: bold;
        color: #444;
        cursor: pointer;
        transition: background 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .google-button:hover {
        background: #f5f5f5;
    }
    
    .google-button img {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }
/* ===== 2FA bloco ===== */
.twofa-wrap{
  width: 100%;
  margin-top: 10px;
}

.twofa-title{
  margin: 10px 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.twofa-sub{
  margin: 0 0 14px;
  font-size: 13px;
  opacity: .85;
  line-height: 1.35;
}

.twofa-divider{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  opacity: .75;
  font-size: 12px;
  letter-spacing: .06em;
}

.twofa-divider:before,
.twofa-divider:after{
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.14); /* ajuste se seu fundo for claro */
}

.twofa-divider span{
  padding: 0 6px;
}

.twofa-cancel{
  margin-top: 10px;
}

/* Botão secundário (Cancelar) */
.twofa-btn-secondary{
  width: 100%;
  border: 2px solid rgba(255,255,255,.35);
  background-color: transparent;
  color: inherit;

  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;

  appearance: none;
  -webkit-appearance: none;
}

.twofa-btn-secondary:hover{
  filter: brightness(1.05);
}

    .twofa-alt { margin-top: 10px; text-align: center; }

.twofa-link{
  all: unset;
  cursor: pointer;
  color: #0d6efd;
  font-size: 13px;
  font-weight: 600;
  opacity: .9;
}
.twofa-link:hover{
  text-decoration: underline;
  opacity: 1;
  filter: brightness(1.1);
}
.flash {
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  text-align: center;
}
.flash-success {
  color: #065f46;
  background: rgba(25,135,84,.12);
  border: 1px solid rgba(25,135,84,.35);

  animation: fadeIn 0.5s forwards;
}

.flash-error {
  color: #991b1b;
  background: rgba(220,53,69,.12);
  border: 0px solid rgba(220,53,69,.35);

  animation: fadeIn 0.5s forwards;
}

.flash-warning {
  background: rgba(255,193,7,.12);
  border: 0px solid rgba(255,193,7,.35);
}
.flash-info {
  background: rgba(13,110,253,.12);
  border: 0px solid rgba(13,110,253,.35);
}

    @media (max-width: 768px) {
        .login-wrapper {
            flex-direction: column;
        }

        .login-left {
            display: none;
        }

        .login-right {
            width: 100%;
            padding: 40px 20px;
        }
    }
