/* Authentication Pages (Login, Register, etc.) */
.login-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.login-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 100%;
  max-width: 450px;
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-header h1 {
  margin: 0 0 10px 0;
  color: #2c3e50;
  font-size: 28px;
  font-weight: 600;
}

.login-header p {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.5;
}

.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.login-form {
  margin-bottom: 30px;
}

/* Form Group - Now using unified .form-group from style.css */

.form-label {
  display: block;
  margin-bottom: 6px;
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Authentication Buttons */
.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.auth-btn-primary {
  background: #007bff;
  color: white;
}

.auth-btn-primary:hover {
  background: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.auth-btn-icon {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.auth-btn:hover .auth-btn-icon {
  transform: translateX(2px);
}

.login-footer {
  text-align: center;
  border-top: 1px solid #e9ecef;
  padding-top: 20px;
}

.login-footer p {
  margin: 0 0 20px 0;
  color: #666;
  font-size: 14px;
}

.help-info {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 20px;
  text-align: left;
}

.help-info h4 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 16px;
}

.help-info p {
  margin: 0 0 15px 0;
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-info div {
  color: #666;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .login-container {
    padding: 10px;
    min-height: 75vh;
  }

  .login-card {
    padding: 25px 15px;
    border-radius: 10px;
  }

  .login-header {
    margin-bottom: 20px;
  }

  .login-header h1 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .login-header p {
    font-size: 14px;
  }

  .alert {
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 15px;
  }

  .form-label {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .form-input {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 5px;
  }

  .auth-btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
  }

  .login-footer {
    padding-top: 15px;
  }

  .help-info {
    padding: 15px;
  }

  .help-info h4 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .help-info p {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .contact-info div {
    font-size: 13px;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .login-container {
    padding: 20px;
  }

  .login-card {
    padding: 40px;
  }

  .login-header h1 {
    font-size: 28px;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .login-card {
    max-width: 500px;
    padding: 45px;
  }

  .login-header h1 {
    font-size: 30px;
  }

  .login-header p {
    font-size: 17px;
  }

  .form-label {
    font-size: 15px;
  }

  .form-input {
    padding: 14px 18px;
  }

  .auth-btn {
    padding: 14px 26px;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .login-card {
    max-width: 550px;
  }

  .login-container {
    min-height: 85vh;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .login-card {
    max-width: 600px;
    padding: 50px;
  }

  .login-header h1 {
    font-size: 32px;
  }
}
