/* General Styling */
body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background: linear-gradient(45deg, #ffffff, #ffc5c5, #ffffff, #a1c9f2);
  background-size: 400%;
  animation: colorShift 15s ease infinite;
  min-height: 100vh;
  overflow-x: hidden;
}

@keyframes colorShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Topbar Styling */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: black;
  color: rgb(253, 253, 253);
  animation: colorShift 15s ease infinite;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.topbar .left,
.topbar .right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar .material-icons {
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.topbar .material-icons:hover {
  transform: rotate(90deg);
}

/* Drawer Styling */
.drawer {
  position: fixed;
  top: 0;
  left: -280px; /* Hidden by default */
  width: 250px;
  height: 100%;
  background-color: #ffffff;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.drawer.open {
  left: 0; /* Show drawer */
}

.drawer .profile {
  text-align: center;
  padding: 24px 16px;
  background-color: #f5f5f5;
}

.drawer .profile img {
  width: 80px;
  height: 80px; /* Ensure consistent height */
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.drawer .profile img:hover {
  transform: scale(1.1);
}

.drawer .profile h3,
.drawer .profile p {
  color: #333333;
  margin: 8px 0; /* Add margin for spacing */
}

.drawer .menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer .menu li {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border-bottom: 1px solid #eeeeee;
  color: #333333;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.drawer .menu li a {
  text-decoration: none; /* Remove underline from links */
  color: inherit; /* Inherit color from parent li */
  width: 100%; /* Make anchor fill the li */
  display: flex; /* Ensure flex layout for icon and text */
  align-items: center; /* Center align items */
}

.drawer .menu li:hover {
  background-color: #00aaff; /* Highlight color */
}

.drawer .menu li:hover a {
  color: #ffffff; /* Text color on hover */
}

.drawer .signout {
  color: #ff0000; /* Red color for sign out */
  font-weight: bold; /* Emphasize sign out */
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Responsive Design */
@media (max-width: 768px) {
  .drawer {
    width: 200px; /* Adjust width for smaller screens */
  }

  .drawer .menu li {
    padding: 10px 15px; /* Adjust padding for smaller screens */
  }
}

/* Main Content Styling */
.container {
  margin-top: 60px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2),
    -5px -5px 15px rgba(255, 255, 255, 0.5);
  padding: 30px;
  max-width: 90%;
  width: 300px;
  text-align: center;
  margin: 60px auto 20px;
  backdrop-filter: blur(10px);
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: block;
}

.interactive-logo:hover {
  animation: bounce 0.5s ease;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.header h1 {
  margin: 0;
  font-size: 24px;
  color: #333;
  font-weight: bold;
}

h5 {
  font-size: 20px;
  color: #777;
  margin-bottom: 30px;
  font-weight: normal;
}

label {
  display: block;
  margin: 10px 0;
  color: #333;
  font-size: 16px;
  text-align: left;
}

input[type="tel"],
input[type="text"] {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: #e0e5ec;
  box-shadow: inset 2px 2px 5px #c3c8d2, inset -2px -2px 5px #ffffff;
  outline: none;
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease;
}

input[type="tel"]:focus,
input[type="text"]:focus {
  box-shadow: inset 2px 2px 5px #c3c8d2, inset -2px -2px 5px #ffffff;
}

input[type="text"],
input[type="name"] {
  width: 95%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: #e0e5ec;
  box-shadow: inset 2px 2px 5px #c3c8d2, inset -2px -2px 5px #ffffff;
  outline: none;
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="name"]:focus {
  box-shadow: inset 2px 2px 5px #c3c8d2, inset -2px -2px 5px #ffffff;
}

.iti {
  width: 100%;
}

.ban-options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 10px;
  flex-wrap: nowrap; /* Prevent items from wrapping */
  overflow-x: auto; /* Allow horizontal scrolling if needed */
}

.ban-options label {
  display: flex;
  align-items: center;
  flex: 1; /* Allow labels to grow equally */
  max-width: 50%; /* Limit width to prevent overflow */
  padding: 10px;
  border-radius: 20px;
  background: #e0e5ec;
  box-shadow: 5px 5px 15px #c3c8d2, -5px -5px 15px #ffffff;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  text-align: center;
  justify-content: center;
  flex-shrink: 1; /* Allow labels to shrink if needed */
}

.interactive-option:hover {
  background: #e0e5ec;
  color: rgb(0, 0, 0);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.ban-options input[type="checkbox"] {
  margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .ban-options {
    gap: 5px; /* Adjust gap for smaller screens */
    flex-wrap: nowrap; /* Ensure items do not wrap */
  }

  .ban-options label {
    flex: 1; /* Allow labels to grow equally */
    font-size: 14px; /* Adjust font size for smaller screens */
    padding: 8px; /* Adjust padding for smaller screens */
    max-width: none; /* Remove max-width for smaller screens */
  }
}

/* Remove conflicting styles in the 480px media query */
@media (max-width: 480px) {
  .ban-options {
    flex-wrap: nowrap; /* Ensure items do not wrap */
  }

  .ban-options label {
    font-size: 12px; /* Further reduce font size */
    padding: 6px; /* Further reduce padding */
  }
}

button[type="submit"] {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 20px;
  background-color: #00aaff;
  color: white;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 5px 5px 15px #c3c8d2, -5px -5px 15px #ffffff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.interactive-btn:hover {
  transform: scale(1.05);
  background-color: #008fcc;
}

.instructions {
  text-align: left;
  color: #333;
  margin-top: 20px;
  padding: 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 5px 5px 50px #c3c8d2, inset -5px -5px 5px #ffffff;
}

.instructions h3 {
  font-size: 18px;
  color: #03a2ca;
  margin-bottom: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  width: 48%;
  padding: 10px;
  border-radius: 20px;
  background: #e0e5ec;
  box-shadow: 5px 5px 15px #c3c8d2, -5px -5px 15px #ffffff;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  text-align: center;
  justify-content: center;
  margin-left: 20%;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #008fcc;
}

.instructions ul {
  margin: 0;
  padding-left: 20px;
}

.custom-bullets li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #333;
}

.custom-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #00aaff;
  font-size: 20px;
  line-height: 1;
}

.instructions p {
  font-size: 14px;
  color: #333;
  margin-top: 10px;
}

.links {
  margin-top: 20px;
  text-align: center;
}

.watch {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.watch img {
  width: 30px;
  height: 20px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.watch img:hover {
  transform: rotate(360deg);
}

.watch a.updates {
  text-decoration: none;
  color: #00aaff;
  font-weight: bold;
  font-size: 16px;
}

.watch a.updates:hover {
  color: #008fcc;
}

.form-footer {
  margin-top: 20px;
  text-align: center;
  color: #777;
  font-size: 14px;
}

.form-footer a {
  text-decoration: none;
  color: #00aaff;
  font-weight: bold;
}

.interactive-link {
  position: relative;
  transition: color 0.3s ease;
}

.interactive-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #008fcc;
  transition: width 0.3s ease;
}

.interactive-link:hover::after {
  width: 100%;
}

.interactive-link:hover {
  color: #008fcc;
}

.status-update {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #333;
}

.status-update span {
  font-weight: bold;
  color: #00aaff;
}

/* Google Material Design Alert Styling */
.google-alert {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #d60e00;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 90%;
  width: 400px;
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 16px;
  animation: slideIn 0.3s ease;
}

.google-alert-icon {
  font-size: 24px;
  margin-right: 12px;
}

.google-alert-content {
  flex-grow: 1;
}

.google-alert-close {
  cursor: pointer;
  font-size: 20px;
  margin-left: 16px;
  transition: transform 0.3s ease;
}

.google-alert-close:hover {
  transform: scale(1.2);
}

@keyframes slideIn {
  from {
    transform: translateX(-50%) translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (min-width: 768px) {
  .container {
    width: 400px;
  }

  .ban-options label {
    font-size: 18px;
    padding: 12px;
  }

  .header h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .instructions h3 {
    font-size: 20px;
  }

  .instructions p,
  .custom-bullets li {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 90%;
    padding: 20px;
  }

  .topbar {
    padding: 10px;
  }

  .drawer {
    width: 200px;
  }

  .drawer.open {
    left: 0;
  }

  .drawer .profile {
    padding: 16px;
  }

  .header h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 18px;
  }

  .google-alert {
    width: 90%;
    font-size: 14px;
    padding: 12px 16px;
  }

  .google-alert-icon {
    font-size: 20px;
    margin-right: 8px;
  }
}
