/* Galaxy Mobile — Error + Information Pages */

body.lx-inner-page {
  background: var(--lx-bg-light);
}

.lx-page-area {
  padding: 12px 0 80px;
}

.lx-page-main {
  min-width: 0;
}

.lx-page-panel {
  border: 1px solid var(--lx-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--lx-shadow);
  padding: 32px 34px;
  margin-bottom: 20px;
}

.lx-page-panel__head {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--lx-border);
}

.lx-page-panel__head h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
}

.lx-page-panel__head p {
  margin: 10px 0 0;
  color: var(--lx-gray);
  font-size: 14px;
  line-height: 1.6;
}

/* Alerts */
.lx-page-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
}

.lx-page-alert--success {
  background: rgba(4, 116, 68, 0.1);
  border: 1px solid rgba(4, 116, 68, 0.2);
  color: var(--lx-secondary);
}

.lx-page-alert--error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #dc2626;
}

/* Prose — information pages */
.lx-page-prose {
  font-size: 16px;
  line-height: 1.8;
  color: var(--lx-text);
  max-width: 820px;
}

.lx-page-prose h2,
.lx-page-prose h3 {
  margin: 28px 0 12px;
}

.lx-page-prose p,
.lx-page-prose ul,
.lx-page-prose ol {
  margin-bottom: 16px;
}

.lx-page-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

/* 404 / result cards */
.lx-page-result {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.lx-page-result__card {
  width: 100%;
  max-width: 520px;
  padding: 44px 36px;
  border-radius: 24px;
  border: 1px solid var(--lx-border);
  background: #fff;
  box-shadow: var(--lx-shadow-lg);
  text-align: center;
}

.lx-page-result__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 2.2rem;
}

.lx-page-result__icon--error {
  background: linear-gradient(135deg, rgba(146, 32, 119, 0.1) 0%, rgba(4, 116, 68, 0.08) 100%);
  color: var(--lx-primary);
}

.lx-page-result__icon--success {
  background: linear-gradient(135deg, rgba(4, 116, 68, 0.12) 0%, rgba(146, 32, 119, 0.08) 100%);
  color: var(--lx-secondary);
}

.lx-page-result__card h1 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
}

.lx-page-result__message {
  color: var(--lx-gray);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.lx-page-result__message p {
  margin: 0 0 10px;
}

.lx-page-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding-top: 8px;
}

/* Contact */
.lx-page-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.lx-page-contact-card {
  padding: 22px 20px;
  border-radius: 18px;
  border: 1px solid var(--lx-border);
  background: var(--lx-bg-light);
}

.lx-page-contact-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lx-gray);
}

.lx-page-contact-card address {
  margin: 0;
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
}

.lx-page-contact-card img {
  width: 100%;
  max-width: 160px;
  border-radius: 14px;
  margin-bottom: 12px;
}

.lx-page-section-title {
  margin: 28px 0 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

/* Sitemap */
.lx-page-sitemap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.lx-page-sitemap__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lx-page-sitemap__col > ul > li {
  margin-bottom: 14px;
}

.lx-page-sitemap__col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lx-text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.lx-page-sitemap__col a:hover {
  background: var(--lx-gradient-soft);
  color: var(--lx-primary);
}

.lx-page-sitemap__col ul ul {
  margin: 6px 0 0 16px;
  padding-left: 12px;
  border-left: 2px solid var(--lx-border);
}

.lx-page-sitemap__col ul ul a {
  font-weight: 500;
  font-size: 13px;
  padding: 6px 10px;
}

.lx-page-sitemap__col > ul > li > span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lx-gray);
  margin-bottom: 6px;
  padding-left: 12px;
}

/* GDPR */
.lx-page-gdpr-options .form-check {
  padding: 14px 16px;
  border: 1px solid var(--lx-border);
  border-radius: 14px;
  margin-bottom: 10px;
  transition: border-color 0.2s, background 0.2s;
}

.lx-page-gdpr-options .form-check:has(input:checked) {
  border-color: var(--lx-primary);
  background: var(--lx-gradient-soft);
}

.lx-page-warning {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  background: rgba(220, 38, 38, 0.06);
  font-size: 14px;
  color: #991b1b;
}

.lx-page-warning ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

/* Forms */
.lx-page-area fieldset {
  border: 0;
  margin: 0 0 28px;
  padding: 0;
}

.lx-page-area legend {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lx-border);
  width: 100%;
}

.lx-page-area .form-control,
.lx-page-area .form-select {
  border-radius: 14px;
  border: 1px solid var(--lx-border);
  padding: 12px 16px;
  font-size: 14px;
  box-shadow: none;
}

.lx-page-area .form-control:focus {
  border-color: var(--lx-primary);
  box-shadow: 0 0 0 3px rgba(146, 32, 119, 0.12);
}

.lx-page-area label,
.lx-page-area .col-form-label,
.lx-page-area .form-label {
  font-size: 13px;
  font-weight: 600;
}

.lx-page-area .btn-primary {
  background: var(--lx-gradient);
  border: 0;
  border-radius: 14px;
  padding: 12px 24px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(146, 32, 119, 0.25);
}

.lx-page-area .btn-primary:hover {
  background: linear-gradient(135deg, #a8288a 0%, #058f52 100%);
  border: 0;
}

.lx-page-area .btn-light,
.lx-page-area .btn-info,
.lx-page-area .btn-outline-secondary {
  border-radius: 14px;
  border: 1px solid var(--lx-border);
}

.lx-page-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--lx-border);
}

/* Accordion — contact locations */
.lx-page-area .accordion-item {
  border: 1px solid var(--lx-border);
  border-radius: 16px !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.lx-page-area .accordion-button {
  font-weight: 600;
  font-size: 14px;
  background: var(--lx-bg-light);
}

.lx-page-area .accordion-button:not(.collapsed) {
  background: var(--lx-gradient-soft);
  color: var(--lx-primary);
  box-shadow: none;
}

/* Information modal */
#modal-information .modal-content {
  border-radius: 22px;
  border: 1px solid var(--lx-border);
  overflow: hidden;
}

#modal-information .modal-header {
  background: var(--lx-gradient);
  color: #fff;
  border: 0;
}

#modal-information .modal-header .btn-close {
  filter: brightness(0) invert(1);
}

#modal-information .modal-body {
  padding: 24px;
  font-size: 15px;
  line-height: 1.75;
}

/* Responsive */
@media (max-width: 991px) {
  .lx-page-contact-grid {
    grid-template-columns: 1fr;
  }

  .lx-page-sitemap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .lx-page-panel {
    padding: 22px 18px;
  }

  .lx-page-form__actions {
    flex-direction: column;
  }

  .lx-page-form__actions .lx-btn,
  .lx-page-form__actions .btn,
  .lx-page-form__actions a {
    width: 100%;
    text-align: center;
  }
}
