* {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: linear-gradient(
    135deg,
    #00E2E0,
    #00A9F2,
    #172D9D
  );
  color: #ffffff;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 900px;
  margin: auto;
  background: linear-gradient(
    160deg,
    #787CFE,
    #48BED9
  );
  padding: 26px;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

h1 {
  text-align: center;
  margin-bottom: 6px;
  font-weight: 700;
}

.subtitle {
  text-align: center;
  opacity: 0.9;
  margin-bottom: 22px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  overflow: hidden;
}

th {
  background: rgba(23, 45, 157, 0.65);
  color: #ffffff;
}

th, td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

input, select {
  width: 95%;
  padding: 9px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: #ffffff;
  color: #172D9D;
  font-weight: 500;
}

input::placeholder {
  color: #6b7280;
}

button {
  background: linear-gradient(
    135deg,
    #00d5ff,
    #172D9D
  );
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(23, 45, 157, 0.5);
}

.delete {
  background: linear-gradient(
    135deg,
    #f80303,
    #ff0206
  );
}

.buttons {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

#output {
  margin-top: 26px;
  text-align: center;
}

#gpaR

esult {
  font-size: 24px;
  font-weight: 700;
}
.footer-icons {
  margin-top: 6px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.icon {
  position: relative;
  width: 22px;
  height: 22px;
  fill: #172D9D;
  cursor: pointer;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: #172D9D;
  transition: transform 0.2s ease, fill 0.2s ease;
}

.icon:hover svg {
  transform: scale(1.2);
  fill: #00A9F2;
}

/* Tooltip */
.icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #0F172A;
  color: #ffffff;
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.icon::before {
  content: "";
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0F172A;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.icon:hover::after,
.icon:hover::before {
  opacity: 1;
}
.icon:hover::after {
  transform: translateX(-50%) translateY(-4px);
}
@media (max-width: 600px) {
  .footer {
    display: none;
  }
}
