/* ==== Global ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #6dd5fa, #2980b9);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==== Form Container ==== */
form {
  background: #fff;
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
  text-align: center;
  transition: transform 0.3s ease;
}

form:hover {
  transform: scale(1.02);
}

h2 {
  margin-bottom: 20px;
  color: #333;
  font-weight: 600;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #2980b9;
}

button {
  width: 100%;
  padding: 12px;
  background: #2980b9;
  border: none;
  color: white;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background: #1c5986;
  transform: translateY(-2px);
}

p {
  color: red;
  margin-top: 10px;
  font-size: 14px;
}

a {
  color: #2980b9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==== Dashboard ==== */
.dashboard {
  background: #fff;
  padding: 50px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  max-width: 600px;
}

.dashboard h2 {
  color: #333;
  margin-bottom: 20px;
}

.dashboard a {
  display: inline-block;
  margin-top: 20px;
  color: #fff;
  background: #2980b9;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.3s;
}

.dashboard a:hover {
  background: #1c5986;
}

/* ==== Responsive ==== */
@media (max-width: 500px) {
  form, .dashboard {
    width: 90%;
    padding: 30px;
  }
}
