/* General Styles */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f6f9;
  color: #2c3e50;
  padding: 20px;
}

h1, h2 {
  color: #34495e;
}

button {
  padding: 8px 12px;
  background-color: #0f293a;
  color: white;
  border: none; 
  
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

button:hover {
  background-color: #2980b9;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, #8e44ad, #3498db);
  padding: 15px;
  border-radius: 5px;
}

header h1 {
  font-size: 2.5rem;
  color: white;
  text-align: center;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table, th, td {
  border: 1px solid #ddd;
}

th, td {
  padding: 12px;
  text-align: left;
}

.table thead {
  background-color: #2c3e50;
  color: white;
}

.table-hover tbody tr:hover {
  background-color: #ecf0f1;
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}

/* Placeholder Text */
.placeholder {
  font-style: italic;
  color: #95a5a6;
}

/* Footer Styles */
footer {
  background: #2c3e50;
  color: white;
  padding: 15px;
  border-radius: 5px;
  margin-top: 30px;
  text-align: center;
}

/* Form Elements */
textarea, input[type="number"], input[type="text"], input[type="file"] {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  background-color: #ecf0f1;
}

textarea {
  min-height: 100px;
}

/* Alert Styles */
.alert {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(243, 241, 241, 0.4);
  padding-top: 60px;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 700px;
  border-radius: 5px;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  float: right;
}

.close:hover,
.close:focus {
  color: rgb(70, 54, 54);
  text-decoration: none;
  cursor: pointer;
}

/* Image in Modal */
.uploaded-photo-modal {
  width: 100%;
  height: auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .modal-content {
      width: 90%;
  }
  header h1 {
      font-size: 2rem;
  }
  .table th, .table td {
      padding: 10px;
  }
  footer {
      font-size: 14px;
  }
}
