:root {
  --jipso_color_dark: #065F46;
  --jipso_color_light: #10B981;
}

.jipso-brand {
  color: var(--jipso_color_dark);
  font-weight: bold;
  font-family: 'Times New Roman';
}

body {
  background-color: #ECFDF5;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#__next {
  width: 740px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  #__next {
    width: 100%;
    max-width: 740px;
  }
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 4rem;
  padding-bottom: 2rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 480px) {
  .footer-links {
    gap: 1.5rem;
  }
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-links img {
  height: 1rem;
}

.review-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--jipso_color_dark), var(--jipso_color_light));
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-top: 2rem;
  transition: transform 0.3s ease;
}

main {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: all 0.3s ease;
}

main p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.powered-by {
  margin-top: 1rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.powered-by a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #FF6A00;
  font-weight: bold;
  gap: 0.4rem;
  transition: opacity 0.2s;
}

.powered-by a:hover {
  opacity: 0.7;
}

.powered-by img {
  height: 1rem;
}

#language-switcher {
  margin-top: 1rem;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
}

#language-switcher:hover {
  border-color: var(--jipso_color_light);
}

#language-switcher:focus {
  outline: none;
  border-color: var(--jipso_color_light);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.content-fade {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.content-visible {
  opacity: 1;
}

/* Animation for language switch */
.switching {
  opacity: 0.7;
  transform: translateY(-2px);
}