/* ===== AUTH PAGE ===== */

.auth-body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #0f3d3e, #1c5e5f);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.auth-screen {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  animation: authPop 0.35s ease;

  box-shadow: 
      0 10px 25px rgba(0,0,0,0.15),
      0 2px 6px rgba(0,0,0,0.08);

  max-width: 420px;
  margin: 40px auto;
}

@keyframes authPop {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.auth-logo {
  width: 170px;
  display: block;
  margin: 0 auto 16px auto;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.15));
}

.auth-wrapper {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h1 {
  margin: 0;
  font-size: 26px;
  color: #2c786c;
}

.auth-subtitle {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
}

.auth-tabs {
  display: flex;
  margin-bottom: 25px;
  border-bottom: 1px solid #ddd;
}

.tab {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  color: #777;
}

.tab.active {
  color: #2c786c;
  border-bottom: 2px solid #2c786c;
}

.auth-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  font-size: 13px;
  color: #444;
  margin-bottom: 5px;
  display: block;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
}

.form-group input:focus {
  border-color: #2c786c;
  outline: none;
}

.auth-button {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background-color: #2c786c;
  color: white;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.auth-button:hover {
  background-color: #1e5c52;
}

.auth-error {
  margin-top: 12px;
  font-size: 13px;
  color: #c0392b;
  text-align: center;
}

.hidden {
  display: none;
}

/* ===== Mobile ===== */

@media (max-width: 480px) {
  .auth-card {
    padding: 25px;
  }

  .auth-header h1 {
    font-size: 22px;
  }
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  color: #2c786c;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
}

.link-button:hover {
  color: #1e5c52;
}

#forgotPasswordBlock,
#resetPasswordBlock {
  margin-top: 16px;
}

#forgotPasswordBlock h3,
#resetPasswordBlock h3 {
  margin: 0 0 14px 0;
  font-size: 18px;
  color: #2c786c;
}