
.success{
  padding: 0.75rem 1rem;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  color: #166534;
  font-size: 0.875rem;
  text-align: center;
}

.error{
  padding: 0.75rem 1rem;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #dc2626;
  font-size: 0.875rem;
  text-align: center;
}

/* BIG BUTTON */
button.big {
  width: auto; /* size to content */
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  background-color: #3b82f6;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  border-color: #9ca3af;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
  display: block;
  /*margin-left: auto;
  margin-right: auto;*/
}

 button:hover.big {
  background-color: #2563eb;
}

 button:active.big {
  transform: translateY(1px);
}

button:disabled.big {
  background-color: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

/* ARROW BUTTON */
button.arrow {
  padding: 0;
  margin: 0;
  font-size: 1rem;
  font-weight: 400; /* normal weight */
  color: inherit; /* keep text color normal */
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

button.arrow::before {
  content: ">";
  color: #2563eb; /* blue chevron */
}

button:hover.arrow {
  text-decoration: underline;
}

button.active.arrow {
  font-weight: 600; /* bold when active */
}

button.active:hover.arrow {
  text-decoration: underline;
}

button:disabled.arrow {
  color: #9ca3af;
  cursor: not-allowed;
  text-decoration: none;
  opacity: 0.8;
}


.simple-element {
  display: block;
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border: 0px solid #e5e7eb;
  border-radius: 12px;
  /* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); */
  color: #374151;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.simple-element div {
  margin: 1rem 0;
}

.simple-element p {
  margin: 1rem 0;
}


 h2.simple-element {
  margin: 0 0 1.5rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #1f2937;
}

 h3.simple-element {
  margin: 0 0 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  color: #1f2937;
}

.simple-element div.parameters {
  margin: 1.5rem 0 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.simple-element div.parameter {
  margin:0;
  /*width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ffffff;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #ffffff;
  color: #374151;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  */
}

.simple-element input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #ffffff;
  color: #374151;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.simple-element input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.simple-element input::placeholder {
  color: #9ca3af;
}

.simple-element textarea{
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #ffffff;
  color: #374151;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.simple-element textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.simple-element textarea::placeholder {
  color: #9ca3af;
}

/* Reset & basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* Main content */
.container {
  /*max-width: 1200px;
  margin: 0 auto;
  padding: 0rem 1rem 2rem 1rem;*/
  margin: 0;
  padding: 0;
}

.content-area {
  background-color: var(--bg-primary);
  /*border-radius: 12px;
  box-shadow: var(--shadow-md);*/
  padding: 2rem;
  /* margin-bottom: 2rem; */
}

.main-section {
  /*text-align: center;*/
  text-align: left;
  margin-bottom: 3rem;
}

.main-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.main-section p {
  font-size: 1.125rem;
  color: var(--text-primary);
  max-width: 600px;
  margin: unset auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.feature-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .container {
    padding: 0rem;
  }

  .content-area {
    padding: 0.7rem;
  }

  .main-section h1 {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .main-section h1 {
    font-size: 1.75rem;
  }
}



/* ARROW ANCHOR */
a.arrow {
  padding: 0;
  margin: 0;
  font-size: 1rem;
  font-weight: 400; /* normal weight */
  color: inherit; /* keep text color normal */
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a.arrow::before {
  content: ">";
  color: #2563eb; /* blue chevron */
}

a:hover.arrow {
  text-decoration: underline;
}

a.active.arrow::before {
  font-weight: 600; /* bold when active */
}

a.active:hover.arrow {
  text-decoration: underline;
}

a:disabled.arrow {
  color: #9ca3af;
  cursor: not-allowed;
  text-decoration: none;
  opacity: 0.8;
}
.one-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  align-items: flex-start;
}

ul.type1 {
  list-style-type: none;
}
ul.type1 li {
  margin-bottom: 1rem;
}

i18n-el div {
  margin: 1rem 0;
}



i18n-el .language-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  /* Center the whole block but keep items left-aligned */
  width: max-content;
  /*margin-left: auto;
  margin-right: auto;*/
  align-items: flex-start;
}


e404-el {
  display: block-inline;
  background-color: #0099f9;
  border: 1px solid #dd0;
  padding: .4rem;
  margin: .3rem auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
logo-text-el{
  display: block ;
  width: auto;
  height: 1rem;
  vertical-align: middle;
}









.profile-el {
  display: flex;
  flex-direction: column;
}

.profile-el {
  display: flex;
  flex-direction: column;
}

/* Navigation Bar */
.navbar {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  height: 100%;
}

.nav-brand logo-replyya-el {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 0px 0 0 0;
  border: none;
  box-shadow: none;
  background: none;
  max-width: none;
  line-height: 1;
  font-size: 0.9rem;
  transform: scale(0.85);
}

/* Ensure logo text element content is properly aligned */
logo-replyya-el {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
}


.nav-link {
  display: inline-block;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: var(--bg-tertiary);
}
.nav-link.active {
  color: var(--primary-color);
  background-color: rgba(59, 130, 246, 0.1);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.mobile-menu-btn:hover {
  background-color: var(--bg-tertiary);
}

.hamburger {
  width: 24px;
  height: 24px;
  position: relative;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s ease;
  position: absolute;
}

.hamburger span:nth-child(1) {
  top: 4px;
}
.hamburger span:nth-child(2) {
  top: 11px;
}
.hamburger span:nth-child(3) {
  top: 18px;
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
  transform: rotate(45deg);
  top: 11px;
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
  transform: rotate(-45deg);
  top: 11px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 0.5rem;
  }
}

/* Footer */
.footer {
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  /*margin-top: 4rem;*/
  border-top: 1px solid var(--border-color);
  border-bottom-left-radius: 5px;
  box-shadow: var(--shadow-md);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem 0;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand-text {
  font-size: 0.875rem;
  /*font-weight: 600;*/
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

.footer-language {
  display: flex;
  align-items: center;
}


/* Footer mobile responsive */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0 1.5rem 0;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-brand {
    align-items: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 0.5rem;
  }
  
  .footer-content {
    padding: 1.5rem 0 1rem 0;
  }
}

