* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
  }
  
  body, html {
    height: 100%;
  }
  
  .login-container {
    display: flex;
    height: 100vh;
  }
  
  /* ESQUERDA */
  .login-left {
    flex: 1;
    background: url('images/banner-consulta.jpg') center/cover no-repeat;
    position: relative;
  }
  
  .logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .login-logo {
    width: 220px;
    opacity: 0.95;
  }
  
  /* DIREITA */
  .login-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f8;
  }
  
  .login-box {
    width: 80%;
    max-width: 380px;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  }
  
  .login-box h2 {
    font-weight: 700;
    color: #222;
  }
  
  .login-box p {
    color: #666;
    margin-bottom: 1.5rem;
  }
  
  label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #444;
  }
  
  input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
  }
  
  input:focus {
    border-color: #222;
  }
  
  .btn-login, .btn-google {
    width: 100%;
    padding: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .btn-login {
    background: #222;
    color: white;
    border: none;
  }
  
  .btn-login:hover {
    background: #333;
  }
  
  .btn-google {
    background: #fff;
    border: 1px solid #ccc;
  }
  
  .btn-google:hover {
    background: #f0f0f0;
  }
  
  .error-message {
    color: #d32f2f;
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
    height: 20px;
  }
  
  .forgot-password,
  .no-account {
    text-align: center;
    margin-top: 1rem;
  }
  
  .forgot-password a,
  .no-account a {
    color: #007bff;
    text-decoration: none;
  }
  
  .forgot-password a:hover,
  .no-account a:hover {
    text-decoration: underline;
  }
  
  /* POPUPS */
  .popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .popup.hidden {
    display: none;
  }
  
  .popup-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    width: 320px;
  }
  
  .btn-close {
    margin-top: 1rem;
    background: #aaa;
    color: #fff;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
  }
  
  /* MOBILE: esconder lado esquerdo e centralizar tudo */
@media (max-width: 768px) {
  .login-left {
    display: none;
  }

  .login-right {
    flex: 1;
    width: 100%;
  }

  .login-box {
    width: 90%;
    max-width: 380px;
  }
}
