/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #681368, #e0e7ff);
  min-height: 100vh;
  color: #333;
}

/* Shared Buttons */
button {
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

button:hover {
  opacity: 0.9;
}

/* Login Page */
.login-card {
  background: #ffffff;
  width: 350px;
  margin: 80px auto;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
  animation: fadeIn 0.8s ease;
}

.login-card h2 {
  margin-bottom: 5px;
  color: #5f2eea;
}

.login-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.login-card input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  transition: border 0.3s;
}

.login-card input:focus {
  border-color: #5f2eea;
  outline: none;
}

.input-group {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 60%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #777;
}




.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin: 10px 0;
}

.remember-label {
  display: inline-flex;
  align-items: center;
  gap: 5px; /* space between checkbox and text */
}

.options a {
  color: #5f2eea;
  text-decoration: none;
}

.options a:hover {
  text-decoration: underline;
}



.login-btn {
  background: #5f2eea;
  color: white;
  font-size: 15px;
  width: 100%;
}

.demo-text {
  font-size: 12px;
  color: #999;
  margin-top: 12px;
}

/* Modal Common Styles */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  
}

.modal-content {
  background: #fff;
  padding: 25px;
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s ease-in-out;
}

.modal-content h3 {
  margin-bottom: 15px;
  color: #333;
}

.modal-content input, select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 15px;
}

.modal-actions button {
  padding: 8px 14px;
  border-radius: 6px;
}

