* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
html {
  background-color: #f0f4f8;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #2d3436;
}

.page-wrapper {
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
}

.container {
  width: 100%;
  max-width: 960px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

h1 {
  text-align: center;
  color: #192a56;
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.auth-msg {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1rem;
}

.auth-msg a {
  color: #0984e3;
  text-decoration: none;
  font-weight: 500;
}

.auth-msg a:hover {
  text-decoration: underline;
}

h2 {
  font-size: 1.5rem;
  color: #273c75;
  margin-bottom: 15px;
  border-bottom: 1px solid #dcdde1;
  padding-bottom: 5px;
}

.search-section input[type="text"] {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #dcdde1;
  border-radius: 6px;
  margin-bottom: 12px;
}

.search-section button {
  width: 100%;
  padding: 10px;
  background-color: #0984e3;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

.search-section button:hover {
  background-color: #74b9ff;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #dff9fb;
  border: 1px solid #00cec9;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.result-item a {
  font-weight: bold;
  color: #2d3436;
  text-decoration: none;
}

.result-item a:hover {
  text-decoration: underline;
}

.result-item form {
  margin-left: 15px;
}

.result-item button {
  padding: 6px 12px;
  border: none;
  border-radius: 5px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.result-item button[type="submit"] {
  width: 100px;
  background-color: #28bb0a;
  color: white;
}

.result-item button[type="submit"]:hover {
  background-color: #5bbc48;
}

.saved-section button[type="submit"] {
  background-color: #e84118;
}

.saved-section button[type="submit"]:hover {
  background-color: #ff6b6b;
}

.saved-section ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.login-header {
  font-size: 1.8rem;
  color: #192a56;
  text-align: center;
  margin-bottom: 20px;
}

.container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.container label {
  font-weight: 600;
  margin-top: 10px;
}

.container input[type="text"],
.container input[type="password"],
.container input[type="submit"] {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #dcdde1;
  border-radius: 6px;
  width: 100%;
}

.container input[type="submit"] {
  background-color: #0984e3;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.container input[type="submit"]:hover {
  background-color: #74b9ff;
}

.error-message {
  color: #e84118;
}

.container p.error-message {
  margin-top: 10px;
  font-weight: bold;
  text-align: center;
}

.login-page-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f0f4f8;
}

.login-container {
  max-width: 500px;
}
