* { 
  box-sizing: border-box; 
  font-family: "Poppins", sans-serif; 
}

body { 
  margin: 0; 
  padding: 0; 
  background: #f8f8f8; 
  color: #222; 
  transition: background 0.3s, color 0.3s; 
}

header {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 10px 0; 
  background: #000; 
  olor: #fff;
  position: sticky; 
  top: 0; 
  z-index: 999;
}

header .brand img { 
  width: 150px; 
  height: 35px; 
}

.top-right { 
  display: flex; 
  gap: 10px; 
  margin-right: 20px;
}

.btn-icon {
  border: none; 
  cursor: pointer; 
  padding: 8px 12px; 
  border-radius: 8px;
  font-weight: bold; 
  font-size: 1rem; 
  background: #000; 
  color: #ffd000; 
  border: 1px solid #ffd000;
  transition: background 0.3s;
}

main { 
  padding: 20px; 
  max-width: 600px; 
  margin: auto;
}

.rate-table {
  background: #fff; 
  border-radius: 12px; 
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); 
  margin-bottom: 20px;
}

.rate-table h2 { 
  text-align: center; 
  margin-bottom: 10px; 
}

table { 
  width: 100%; 
  border-collapse: collapse; 
}

th, td { 
  padding: 10px; 
  text-align: center; 
  border-bottom: 1px solid #eee; 
}

tr:hover { 
  background: #f3f3f3; 
}

th { 
  background: #ffd000; 
}

.provider-logo { 
  width: 25px; 
  vertical-align: middle;
  margin-right: 5px; 
}

.form {
  background: #fff; 
  border-radius: 12px; 
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.form label { 
  display: block; 
  margin: 10px 0 5px;
}

.form input, .form select {
  width: 100%; 
  padding: 10px; 
  border: 1px solid #ccc; 
  border-radius: 6px;
}

.form button {
  margin-top: 15px; 
  width: 100%; 
  padding: 12px;
  background: #ffd000; 
  border: none; 
  border-radius: 8px;
  font-size: 1rem; 
  font-weight: bold; 
  cursor: pointer;
}

.note {
  margin-top: 15px; 
  font-size: 0.9rem;
  background: #fff8d1; 
  padding: 10px; 
  border-radius: 8px;
  text-align: left;
}

.notif {
  margin-top: 10px;
  padding: 10px 12px;
  background: #fff8d1;
  color: #000;
  border-left: 4px solid #ffd000;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.notif.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.notif span.icon { 
  font-size: 1.2rem;
}

.dark .notif {
  background: #333;
  color: #ffd000;
  border-left-color: #fff;
}

.sidebar {
  position: fixed; 
  top: 0; 
  right: -280px; 
  height: 100%;
  width: 250px; 
  background: #fff;
  box-shadow: -3px 0 8px rgba(0,0,0,0.3);
  padding: 20px; 
  transition: right 0.4s ease, backdrop-filter 0.4s ease;
  z-index: 1001; 
  backdrop-filter: blur(0px);
}

.sidebar.show { 
  right: 0; 
  backdrop-filter: blur(10px); 
}

.sidebar h3 { 
  margin-bottom: 15px; 
  text-align: center; 
}

.sidebar a {
  display: flex; 
  align-items: center; 
  gap: 10px;
  text-decoration: none; 
  color: #222;
  padding: 8px 0; 
  transition: color 0.3s, transform 0.3s;
}

.sidebar a:hover { 
  color: #ffd000; 
  transform: translateX(5px); 
}

.sidebar img { 
  width: 22px; 
  height: 22px; 
}

.sidebar .close-btn { 
  display: block; 
  text-align: right; 
  font-size: 1.5rem; 
  cursor: pointer; 
  color: #000; 
  transition: color 0.3s; 
}

.sidebar .close-btn:hover { 
  color: #ffd000; 
}

.overlay {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
  display: none; 
  z-index: 1000; 
  transition: opacity 0.4s;
}

.overlay.show { 
  display: block; 
  opacity: 1; 
}

.dark { 
  background: #111; 
  color: #fff; 
}

.dark .form, .dark .rate-table { 
  background: #222; 
  color: #fff; 
}

.dark th { 
  background: #333; 
  color: #fff; 
}

.dark td {
  color: #fff; 
}

.dark .note { 
  background: #333; 
  color: #ffd000;
}

.dark .sidebar { 
  background: #1c1c1c; color: #fff; 
}

.dark .sidebar a {
  color: #fff; 
}

.dark .sidebar .close-btn { 
  color: #fff; 
}

.dark .home-btn { 
  background: #ffd000; 
  color: #000;
}

.dark .home-btn a { 
  color: #000;
}

.dark tr:hover { 
  background: #444;
}
