/* Modal styles extracted from templates/components/login.html */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.login-modal {
  background: #fff;
  padding: 30px 20px;
  width: 400px;
  border-radius: 10px;
  position: relative;
}

.login-modal h2 {
  text-align: center;
  margin-bottom: 10px;
}

.login-modal p {
  text-align: center;
  color: #666;
  margin-bottom: 20px;
}

.login-modal label {
  display: block;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 5px;
}

.login-modal input[type="email"],
.login-modal input[type="text"],
.login-modal input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.password-toggle {
  position: relative;
}

.password-toggle-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 14px;
  color: #666;
}

.checkbox-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  font-size: 14px;
}

.checkbox-forgot a {
  text-decoration: none;
  color: #3366ff;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background-color: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

.login-btn:disabled {
  background-color: #93c5fd;
  cursor: not-allowed;
}

.login-status {
  min-height: 20px;
  margin-top: 10px;
  color: #64748b;
  font-size: 13px;
}

.footers {
  color: #666;
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.footers a {
  color: #0057ff;
  text-decoration: none;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 18px;
  cursor: pointer;
}

