:root {
  --color-primary: #ff6b6b;
  --color-primary-hover: #ff5252;
  --color-background: #fafafa;
  --color-surface: #fff;
  --color-border: #ececec;
  --color-text-primary: #2d3436;
  --color-text-secondary: #636e72;
  --radius-md: 16px;
  --shadow-sm: 0 2px 12px rgba(50,50,93,0.08);
  --font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

body {
  background: var(--color-background);
  font-family: var(--font-family);
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}

.container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem 2rem;
  max-width: 370px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.page-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.2rem;
  width: 100%;
}

label {
  display: block;
  font-size: 0.97rem;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 0.68rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-background);
  font-size: 16px;
  color: var(--color-text-primary);
  outline: none;
  transition: border-color 0.22s;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--color-primary);
  background: #fff;
}

.btn {
  display: block;
  width: 100%;
  padding: 0.82rem 0;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.07rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,107,107,0.09);
  margin-top: 18px;
  transition: background 0.19s;
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.error-message {
  margin-top: 0.8rem;
  color: #ff6b6b;
  font-size: 0.95rem;
  text-align: center;
  min-height: 22px;
}

@media (max-width: 480px) {
  .login-container {
    padding: 2rem 1rem;
    max-width: 98vw;
    border-radius: 10px;
  }
  .page-title {
    font-size: 1.08rem;
    margin-bottom: 1.4rem;
  }
  .btn {
    font-size: 1rem;
    padding: 0.7rem 0;
  }
  .form-control {
    font-size: 16px;
    padding: 0.62rem 0.8rem;
  }
}

/* Pequenas melhorias para tablets */
@media (max-width: 768px) {
  .login-container {
    max-width: 360px;
    padding: 2rem 1.1rem;
  }
}


#login-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}


.platform-logo {
    width: 100%;
    display: flex;
    max-width: 100px;
    position: relative;
    box-sizing: border-box;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin: 0;
    justify-content: center;
}

.platform-logo img {
    display: flex;
    max-width: 140px;
    height: 100%;
}