/**
 * Info / About screen — editorial layout (masthead, section labels, link tiles, action buttons).
 * Background is white; ink/muted/primary accents match Flutter Info styling.
 */
.about-editorial {
  background-color: #ffffff;
  min-height: 100%;
  box-sizing: border-box;
}

.about-editorial .dx-scrollable-content,
.about-editorial .dx-scrollview-content {
  background-color: #ffffff;
}

.about-editorial-inner {
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  max-width: 100%;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #2c2420;
}

.about-rule {
  height: 1px;
  background-color: rgba(44, 36, 32, 0.15);
  margin: 18px 0;
}

.about-section-label {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6e655e;
}

.about-section-label-first {
  margin-top: 0;
}

.about-rule + .about-section-label {
  margin-top: 0;
}

/* Preuzmi: one row — app name + version (left), store badges (right); images 75% of former 200px cap */
.about-download-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  margin-top: 2px;
  margin-bottom: 4px;
}

.about-download-identity {
  flex: 1 1 auto;
  min-width: 0;
  border-left: 4px solid #ff6100;
  padding: 2px 0 2px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.about-download-appname {
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  color: #2c2420;
  line-height: 1.2;
}

.about-download-version {
  font-size: 0.72rem;
  font-weight: 600;
  font-style: normal;
  color: #ff6100;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.about-download-banner .about-store-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 1 auto;
  min-width: 0;
}

.about-download-banner .about-store-badge {
  flex: 0 1 auto;
  max-width: 150px;
}

a.about-store-badge {
  display: block;
  line-height: 0;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(44, 36, 32, 0.08);
}

a.about-store-badge:active {
  opacity: 0.88;
}

/* 25% smaller than previous 200px cap → 150px */
.about-store-badge img {
  display: block;
  max-width: 150px;
  width: 100%;
  height: auto;
}

/* Tappable rows: bottom border + chevron */
a.about-link-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  padding: 12px 0;
  border-bottom: 1px solid rgba(44, 36, 32, 0.12);
  -webkit-tap-highlight-color: rgba(44, 36, 32, 0.08);
}

a.about-link-tile:active {
  opacity: 0.85;
}

.about-link-body {
  flex: 1;
  min-width: 0;
  padding-right: 8px;
}

.about-link-title {
  font-size: 1rem;
  font-weight: 500;
  color: #2c2420;
}

.about-link-sub {
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ff6100;
}

.about-link-chevron {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(44, 36, 32, 0.35);
  font-weight: 300;
}

/* Primary actions (order: delete → sync → manual export) */
.about-actions-primary {
  margin-top: 20px;
}

.about-actions-primary .dx-button,
.about-actions-location .dx-button {
  width: 100%;
  margin-bottom: 10px;
}

.about-actions-primary .dx-button:last-child,
.about-actions-location .dx-button:last-child {
  margin-bottom: 0;
}

/* Delete — danger red (McColors.red-ish) */
.about-btn-delete.dx-button {
  background-color: #ff2424 !important;
  color: #fff !important;
  border-color: #ff2424 !important;
}

/* Sync — white card on paper */
.about-btn-sync.dx-button {
  background-color: #fff !important;
  color: #262a2a !important;
  border: 1px solid rgba(44, 36, 32, 0.22) !important;
}

/* Manual export — blue */
.about-btn-export.dx-button {
  background-color: #1e88e5 !important;
  color: #fff !important;
  border-color: #1e88e5 !important;
}

.about-actions-location {
  margin-top: 8px;
}

.about-btn-location.dx-button {
  background-color: rgba(255, 255, 255, 0.65) !important;
  color: #2c2420 !important;
  border: 1px solid rgba(44, 36, 32, 0.18) !important;
}
