body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  background-image: url('sweta.png');
  background-size: cover; 
  background-repeat: no-repeat;
  background-position: center;
}

.container {
  flex: 1;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  max-width: 800px;
  border-radius: 8px;
}

.text-container h3 {
  margin: 0;
  font-size: 24px;
  color: #333;
  text-align: center;
}

.text-container h4 {
  margin: 5px 0 0;
  font-size: 18px;
  color: #555;
  text-align: center;
}

.form {
  background-color: #517C66; 
  padding: 20px;
  border-radius: 8px;
}

.input-box, .select-box {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #ffffff; 
  font-weight: bold;
}

input[type="text"], input[type="number"], select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#addButton {
  background-color: #005f99;
  color: white;
}

#addButton:hover {
  background-color: #004477;
}

button[type="reset"] {
  background-color: #f0f0f0;
  color: #333;
  margin-left: 10px;
}

button[type="reset"]:hover {
  background-color: #dcdcdc;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #ffffff;
}

table, th, td {
  border: 1px solid #ddd;
}

th, td {
  padding: 12px;
  text-align: left;
}

th {
  background-color: #f0f8ff;
  color: #00509e;
}

.actions button {
  margin-right: 15px; 
}

.update-btn {
  background-color: #28a745;
  color: white;
}

.delete-btn {
  background-color: #dc3545;
  color: white;
}

#studentTable {
  display: none;
}
