body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 50%, #e8f5e8 100%);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}
html, body {
    height: 100%;
    margin: 0;
  }
  
  .wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  main {
    flex: 1;
    padding: 20px;
  }
  
  footer {
    background-color: #ffffffcc;
    text-align: center;
    padding: 20px;
    font-size: 14px;
  }
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    background: #f8f9fa;
  }
  
  header nav a {
    text-decoration: none;
    margin-left: 10px;
    color: #1976d2;
  }
  
  header nav a:hover {
    color: #1565c0;
  }
  .form-input {
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .primary-btn {
    background-color: #1976d2;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .primary-btn:hover {
    background-color: #1565c0;
  }
    
  .dashboard-btn {
    background-color: #1976d2;
    color: white;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    min-width: 250px;
    text-align: center;
    transition: background-color 0.3s ease;
  }
  
  .dashboard-btn:hover {
    background-color: #1565c0;
  }
  .form-container {
    background: #ffffffcc;
    padding: 30px;
    max-width: 1000px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px #ccc;
  }
  
  .table-container {
    overflow-x: auto;
  }
  
  .styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
  }
  
  .styled-table th,
  .styled-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
  }
  
  .primary-btn {
    background-color: #1976d2;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    margin-left: 10px;
    cursor: pointer;
  }
  
  .primary-btn:hover {
    background-color: #1565c0;
  }
  
  .form-input {
    width: 100%;
    padding: 6px;
    border: 1px solid #bbb;
    border-radius: 4px;
  }
.modal {
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background: white;
  max-width: 400px;
  margin: 100px auto;
  padding: 20px;
  border-radius: 8px;
}
.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  margin: 100px auto;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  position: relative;
}

.form-input {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.modal-btn {
  padding: 8px 16px;
  font-size: 15px;
  border: none;
  border-radius: 6px;
  margin-left: 8px;
  cursor: pointer;
}

.modal-btn.primary {
  background-color: #1976d2;
  color: white;
}

.modal-btn.secondary {
  background-color: #e5e5e5;
  color: #333;
}

.modal-btn:hover {
  opacity: 0.9;
}

.back-btn {
  background-color: #f8f9fa;
  color: #333;
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.back-btn:hover {
  background-color: #e9ecef;
  color: #333;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.back-btn i {
  font-size: 16px;
}

.back-btn-container {
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-start;
}