body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #f2f2f2;
  color: #333;
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 20px;
}

h1 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 20px;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
}

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

th, td {
  padding: 12px;
  text-align: center;
  border: 1px solid #ddd;
}

select {
  padding: 6px;
  width: 100%;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.submit-btn {
  display: block;
  margin: 20px auto;
  padding: 12px 24px;
  background-color: #27ae60;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #219150;
}

.result {
  text-align: center;
  margin-top: 20px;
  font-size: 22px;
  font-weight: bold;
  color: #2980b9;
}

.footer {
  text-align: center;
  padding: 10px;
  padding-bottom: 10px;
  margin-top: 40px;
  background: #2c3e50;
  color: white;
}

.footer a {
  color: #00c8ff;
  text-decoration: none;
}

@media (max-width: 600px) {
  h1 {
    font-size: 24px;
  }

  th, td {
    padding: 8px;
  }

  .submit-btn {
    width: 100%;
  }

  select {
    font-size: 14px;
  }
}

.custom-navbar .nav-link,
.custom-navbar .navbar-brand {
  color: white;
  transition: color 0.3s ease;
}

.custom-navbar.scrolled .nav-link,
.custom-navbar.scrolled .navbar-brand {
  color: black !important;
}
.profile-hover {
  position: relative;
}

.profile-tooltip {
  display: none;
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
  text-align: center;
  z-index: 1000;
  width: 200px;
}

.profile-tooltip img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.profile-tooltip .social-icons a {
  margin: 0 5px;
  color: #333;
  text-decoration: none;
  font-size: 18px;
}

.profile-tooltip .social-icons a:hover {
  color: #007bff;
}

.profile-hover:hover .profile-tooltip {
  display: block;
}
