/* Consolidated styles for login, contact, and portfolio pages */

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #242B38;
}

.form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 20px;
}

.form-container {
  background-color: #1a1e26;
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
  width: 100%;
  max-width: 400px;
  color: white;
}

/* For contact and portfolio pages with wider containers */
.contact-portfolio .form-container {
  max-width: 900px;
}

.form-container h2 {
  margin-bottom: 24px;
  font-size: 26px;
  color: #00ff55;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #ccc;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background-color: #2b2f38;
  color: white;
  font-size: 15px;
}

.form-group input:focus {
  outline: 2px solid #00ff55;
  background-color: #333842;
}

.forgot {
  display: block;
  font-size: 13px;
  text-align: right;
  margin-top: -12px;
  margin-bottom: 16px;
  color: #aaa;
  text-decoration: underline;
  cursor: pointer;
}

.btn {
  background-color: #00ff55;
  color: #000;
  width: 100%;
  padding: 12px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease-in-out;
}

.btn:hover {
  background-color: #00e64d;
}

.link {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: #ccc;
}

.link a {
  color: #00ff55;
  text-decoration: none;
  font-weight: bold;
}

@media (max-width: 480px) {
  .form-container {
    padding: 24px;
  }

  .form-container h2 {
    font-size: 22px;
  }
}
