body {
  font-family: "Tajawal", sans-serif;
  background-color: #121212; /* Very dark grey for background */
  color: #e0e0e0; /* Off-white for general text */
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background: #1e1e1e; /* Slightly lighter grey for the form container */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  max-width: 500px;
  width: 100%;
  border: 1px solid #333; /* Subtle border for definition */
}

h1 {
  color: #ff5252; /* Soft light red for the main title */
  text-align: center;
  margin-bottom: 10px;
}

p {
  color: #b0b0b0; /* Muted text for the subtitle */
  text-align: center;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #cf6679; /* Soft pinkish-red for labels */
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  background-color: #2c2c2c; /* Dark input background */
  border: 1px solid #444; /* Dark border */
  border-radius: 4px;
  color: #fff;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #ff5252; /* Red highlight on focus */
  box-shadow: 0 0 8px rgba(255, 82, 82, 0.3);
}

button {
  width: 100%;
  padding: 14px;
  background-color: #b71c1c; /* Deep dark red for the button */
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
  transition:
    background-color 0.3s ease,
    transform 0.1s;
}

button:hover {
  background-color: #d32f2f; /* Slightly brighter red on hover */
}

button:active {
  transform: scale(0.98);
}

button:disabled {
  background-color: #444;
  color: #888;
  cursor: not-allowed;
}

.status-message {
  margin-top: 20px;
  padding: 12px;
  border-radius: 4px;
  text-align: center;
  display: none;
}

.status-message.success {
  background-color: #1b5e20; /* Dark green for success */
  color: #81c784;
  border: 1px solid #2e7d32;
  display: block;
}

.status-message.error {
  background-color: #c62828; /* Dark red for error messages */
  color: #ef9a9a;
  border: 1px solid #b71c1c;
  display: block;
}

/* Customizing the select dropdown arrow for dark mode */
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 10px center;
  background-size: 20px;
  padding-left: 40px;
}
