* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f9f9f9;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.table-container {
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid #ccc;
  background-color: #fff;
}

.table-header, .table-row {
  display: flex;
  width: 100%;
}

.table-header {
  background-color: #f4f4f4;
  font-weight: bold;
}

.table-header div, .table-row div {
  flex: 1;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.table-row:nth-child(even) {
  background-color: #f9f9f9;
}

.table-row:hover {
  background-color: #e1e1e1;
}

.table-scrollable {
  overflow-x: auto;
}


thead th {
    background-color: #0056b3;
    color: white;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 1;
}

td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    word-wrap: break-word;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #e0f7fa;
}
.truncate {
    max-width: 150px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
}
  
#modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

#modalContent {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
  max-height: 80%;
  overflow: auto;
}




.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Card styling */
.login-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

/* Title */
.login-card h2 {
  margin-bottom: 24px;
  font-size: 24px;
  color: #333333;
}

/* Form styling */
.login-form .form-group {
  margin-bottom: 20px;
}

.login-form input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.login-form input:focus {
  border-color: #007bff;
  outline: none;
}

/* Login button */
.login-button {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-button:hover {
  background-color: #0056b3;
}

/* Error message */
.error-message {
  color: #ff4d4f;
  margin-bottom: 20px;
  font-size: 14px;
}
  
#modal {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#modalContent {
  background-color: white;
  padding: 20px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}