/* Reset básico */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f7f9fc;
  color: #333;
  line-height: 1.6;
}

.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  flex-direction: column;
}

.login-box {
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 420px;
}

.login-box h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
}

.input-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  padding-left: 0;
  overflow: hidden;
}

.input-group input,
.input-group select {
  flex: 1;
  padding: 12px;
  border: none;
  outline: none;
  font-size: 15px;
  background: transparent;
}

.input-icon, .icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  background-color: #f1f1f1;
  border-right: 1px solid #ccc;
}

.input-icon i, .icon-wrapper i {
  color: #999;
  font-size: 16px;
}

.toggle-password {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 0 10px;
  font-size: 16px;
}

.password-group {
  position: relative;
}

.password-group .toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.form-actions {
  margin-top: 20px;
}

button[type="submit"] {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  border: none;
  color: #fff;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #0056b3;
}

.login-links {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  font-size: 14px;
}

.login-links a {
  text-decoration: none;
  color: #007bff;
}

.login-links a:hover {
  text-decoration: underline;
}

/* Footer */
.login-footer {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-top: 40px;
  padding: 15px;
}

.footer-links {
  margin-top: 8px;
}

.footer-links a {
  color: #007bff;
  text-decoration: none;
  font-size: 13px;
  margin: 0 5px;
}

.footer-links a:hover {
  text-decoration: underline;
}