/* static/style.css */
body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f9f9f9;
  color: #333;
  margin: 40px;
}

h1 {
  color: #005a9c;
  font-size: 28px;
  margin-bottom: 20px;
}

form {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-width: 600px;
}

label {
  font-weight: bold;
}

input[type="text"],
input[type="password"],
select {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background-color: #005a9c;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #003f6b;
}

fieldset {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 16px;
  border-radius: 4px;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
}

th, td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #e6f0ff;
}

a {
  color: #005a9c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 🔔 Error Dialog Styles */
.error-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.error-content {
  background-color: #fff0f0;
  border: 2px solid #cc0000;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.error-button {
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  background-color: #cc0000;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.error-button:hover {
  background-color: #990000;
}