#loginModal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  z-index: 1000;
  overflow: hidden;
}

/* Header */
.login-header {
  background-color: #f3f6f9;
  border-bottom: 1px solid #e0e0e0;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.login-header h3 {
  font-size: 18px;
  color: #2c3e50;
  margin: 0;
  font-weight: 600;
}

.close-btn {
  font-size: 22px;
  color: #6c757d;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #000;
}

/* Body */
.login-body {
  padding: 0px 20px 20px 20px;
  display: flex;
  flex-direction: column;
}

.login-body label {
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
  margin-top: 16px;
}

.login-body input {
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ccd0d5;
  border-radius: 6px;
  background-color: #fff;
  transition: border-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.login-body input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

/* Error message */
#loginError {
  margin-top: 12px;
  font-size: 13px;
  color: #d9534f;
  background-color: #fcebea;
  border: 1px solid #f5c6cb;
  padding: 8px 12px;
  border-radius: 4px;
  display: none;
}

.login-body button {
    margin-top: 20px;
    width: 32%;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    align-self: center;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    margin-right: 0px;
}
.login-body button:hover {
  background-color: #0056b3;
}
