/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Grundlayout */

.app-body {
  color: #0f172a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f9fafb;
}

.dot-raster {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

/* DM Sans for static/main nav pages */
.static-page h1,
.static-page h2,
.static-page h3,
.pricing-page h1,
.pricing-page h2,
.pricing-page h3,
.homepage h1,
.homepage h2,
.homepage h3 {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
}

.app-main-header {
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  width: 100%;
  color: #e5e7eb;
  border: 1px solid #00000016;
  border-radius: 999px;
  margin: 24px 0 16px;
}

/* Falls du das noch nicht hast: sorgt innen für Flex-Layout */
.app-main-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  height: 72px;
  position: relative;
}

/* Tablet & kleiner */
@media (max-width: 768px) {
  .navbar-wrapper {
    width: calc(100% - 24px);
  }

  .app-main-header {
    margin: 16px 0 12px;
    border-radius: 24px;
  }

  .app-main-header-inner {
    gap: 8px;
  }

  .app-nav {
    font-size: 14px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .app-logo {
  }
}

/* Sehr kleine Smartphones */
@media (max-width: 480px) {
  .app-main-header-inner {
    padding: 8px 12px;
    height: 56px;
  }

  .app-logo {
  }

  .app-logo-image {
    height: 16px;
  }

  .navbar-menu-button {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .navbar-auth-link {
    font-size: 13px;
    padding: 6px 12px;
  }

  .navbar-auth-btn {
    height: 28px;
    padding: 4px 12px;
    font-size: 13px;
  }

  .navbar-right {
    gap: 8px;
  }
}
.app-logo-image {
  height: 36px;
  padding-top: 8px;
  display: block;
}

.app-logo {
  position: absolute;
  left: calc(50% - 16px);
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: #000000;
}

@media (max-width: 768px) {
  .app-logo-image {
    height: 29px;
  }

  .navbar-auth-link {
    display: none;
  }
}

/* Navbar Layout */
.navbar-left {
  display: flex;
  align-items: center;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Navbar Wrapper */
.navbar-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  width: calc(100% - 32px);
  margin: 0 auto;
}

/* Navbar Menu Button */
.navbar-menu-button {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid #51515120;
  background: transparent;
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.navbar-menu-button:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.09);
  background: #ffffff;
}

/* Auth Links for Main Nav Pages */
.navbar-auth-link {
  font-size: 14px;
  font-weight: 500;
  color: #28464B;
  text-decoration: none;
  padding: 8px 16px;
  transition: color 0.2s ease;
}

.navbar-auth-link:hover {
  color: #11343D;
}

.navbar-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 4px 12px;
  background: #28464B;
  color: #66F4C4;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.2s ease;
}

@media (max-width: 480px) {
  .navbar-auth-btn {
    background: transparent;
    border: 1px solid #9b9b9b;
    color: #6b7280;
  }

  .navbar-auth-btn:hover {
    background: #ffffff;
    color: #28464B;
  }
}

.navbar-auth-btn:hover {
  background: #1e3539;
  transform: translateY(-1px);
}

/* Hide menu button when menu is open */
.is-menu-open .navbar-menu-button {
  opacity: 0;
  pointer-events: none;
}

/* Spacer to balance the logo centering */
.navbar-spacer {
  width: 32px;
  flex-shrink: 0;
}

/* Menu Card */
.navbar-menu-card {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  width: 240px;
  background: rgba(255, 255, 255);
  border-radius: 20px;
  border: 1px solid #00000010;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
  padding: 12px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.is-menu-open .navbar-menu-card:not(.navbar-menu-card--right) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.navbar-menu-card-header {
  display: flex;
  align-items: center;
  padding: 0 0 8px;
}

.navbar-menu-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s ease;
}

.navbar-menu-close:hover {
  background: rgba(0, 0, 0, 0.12);
}

.navbar-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.navbar-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 10px;
  text-decoration: none;
  color: #111827;
  font-size: 14px;
  transition: background 0.15s ease;
}

.navbar-menu-item:hover {
  background: #f5f5f5;
}

.navbar-menu-item i {
  width: 20px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

/* Right-aligned user menu card */
.navbar-menu-card--right {
  left: auto;
  right: 8px;
}

.navbar-menu-card-header--right {
  display: flex;
  justify-content: flex-end;
}

.is-user-menu-open .navbar-menu-card--right {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.app-nav-link {
  border-radius: 999px;
  border: 1px solid #51515120;
  padding: 8px 16px;
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-nav-link:hover {
  opacity: 1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  background: #ffffff;
  transition: all 0.3s ease;
}

.app-main {
  position: relative;
  z-index: 1;
  padding: 16px 0 32px;
}

.app-main-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Flash-Messages */

.flash {
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 13px;
}

.flash-notice {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.flash-alert {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.flash-toast-container {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flash-toast {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  background: #111827;
  color: #f9fafb;
  opacity: 1;
  transition: opacity 0.3s ease-out;
}

.flash-toast-fade-out {
  opacity: 0;
}

/* Projekt-Show */

.project-show {
  margin-top: 4px;
}

/* Desktop/Tablet: Bild links, Text rechts */
.project-show-header {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  align-items: start;
  gap: 24px;
  margin-top: 8px;
}

.project-header-left {
  min-width: 0;
  margin: 24px;
}

.project-header-text {
  min-width: 0;
  margin: 24px;
  line-height: 1.5;
}

.project-actions-card {
  align-self: stretch;
}

/* Tablet: 2 columns, actions below */
@media (max-width: 991px) {
  .project-show-header {
    grid-template-columns: 1fr 1fr;
  }

  .project-actions-card {
    grid-column: 1 / -1;
  }
}

/* Mobile: single column */
@media (max-width: 767px) {
  .project-show-header {
    grid-template-columns: 1fr;
  }
}


.project-show-meta {
  font-size: 12px;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08); /* dezentes Grau */
}

.project-total-duration {
  font-family: "SF Mono", "Monaco", "Consolas", monospace;
  color: #1d4ed8;
  font-weight: 500;
}

.project-show-description {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #111827;
}

.project-show-actions {
  padding-top: 24px;
  padding-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.08); /* dezentes Grau */
}

/* Project Actions Card */
.project-actions-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  padding: 12px;
}

.project-actions-nav {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.project-actions-form {
  display: contents;
}

button.navbar-menu-item {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.project-actions-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 6px 0;
}

.project-actions-status-label {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 8px 2px;
}

.project-actions-danger {
  color: #b91c1c !important;
}

.project-actions-danger i {
  color: #b91c1c !important;
}

.project-meta-section {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  padding: 24px;
  margin-top: 32px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.project-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 16px;
  transition: margin-bottom 0.2s ease;
}

.project-meta-header:has(+ .is-collapsed) {
  margin-bottom: 0;
}

.project-meta-header:hover .project-meta-chevron {
  color: #28464B;
}

.project-meta-section .section-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.5px;
}

.project-meta-chevron {
  color: #9ca3af;
  transition: transform 0.3s ease, color 0.2s ease;
  transform: rotate(180deg); /* Standardmäßig nach unten zeigen */
}

.project-meta-chevron.is-rotated {
  transform: rotate(0deg);
}

.project-meta-content {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.project-meta-content.is-collapsed {
  max-height: 0 !important;
}

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}

.project-meta-grid > div {
  padding-right: 24px;
}

.project-meta-grid > div:first-child {
  border-right: 1px solid #e5e7eb;
}

.project-meta-grid > div:last-child {
  padding-right: 0;
}

.project-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-meta-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 4px;
  margin-top: 12px;
}

.project-meta-label:first-child {
  margin-top: 0;
}

.project-meta-value {
  font-size: 14px;
  color: #111827;
  line-height: 1.5;
}

/* Mobile: project-meta-section */
@media (max-width: 768px) {
  .project-meta-section {
    padding: 20px;
    margin-top: 24px;
    border-radius: 12px;
  }

  .project-meta-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .project-meta-grid > div {
    padding-right: 0;
    border-right: none;
  }

  .project-meta-grid > div:first-child {
    border-right: none;
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
  }

  .project-meta-label {
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .project-meta-section {
    padding: 16px;
    margin-top: 16px;
  }

  .project-meta-section .section-title {
    font-size: 13px;
  }

  .project-meta-value {
    font-size: 13px;
  }
}

/* Projekt-Detailseite – Titelbild */

/*
.project-cover-wrapper {
  margin: -4px -4px 8px; /* leicht über den Rand, kannst du anpassen
}

.project-cover-image {
  width: 100%;
  max-width: 720px;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}
*/

.project-cover-wrapper {
  border-radius: 16px;
  overflow: hidden;
  max-width: 400px;
}

.project-cover-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
}


/* Projektliste – Thumbnail in Karten */

.project-card-cover {
  margin-bottom: 0px;
  overflow: hidden;
  border-radius: 10px;
}

.project-card-cover-image {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  display: block;
}


/* Badges */



.badge {
  display: inline-flex;
  place-items: center;
  align-items: center;        /* vertikal zentrieren */
  justify-content: center;    /* horizontal zentrieren */
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 75px;
}

.badge-in_progress {
  background: #dbeafe;  /* blau */
  color: #1d4ed8;
  align-items: center;
}

.badge-in_review {
  background: #fef3c7;  /* gelb */
  color: #92400e;
  min-width: 75px;
}

.badge-done {
  background: #dcfce7;  /* grün */
  color: #166534;
}

.badge-none {
  background: #e5e7eb;
  color: #4b5563;
}

/* New Project – Seite zentrieren und schmaler machen */

.project-form-page {
  max-width: 800px;      /* begrenzt die Gesamtbreite */
  margin: 0 auto;        /* zentriert innerhalb von app-main-inner */
}

.project-form-header {
  margin: 24px;
  padding: 32 auto;
}

.project-form-card {
  background-color: rgba(255, 255, 255, 0.3); /* 0.2 = 20% Deckkraft */
  opacity: 0.95;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 40px 40px 40px 24px;
}

.project-form-cover-image {
  max-width: 400px;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
  .project-form-cover-image {
    max-width: 320px;
    max-height: 320px;
  }
}

/* Auf größeren Screens etwas schmaler (ungefähr halbe Breite) */
@media (min-width: 1024px) {
  .project-form-page {
    max-width: 800px;
  }
}

/* Mobile: 20px rechts & links sind schon durch .app-main-inner gegeben,
   aber falls du sicherstellen willst, dass es nicht enger wird: */

@media (max-width: 767px) {
  .app-main-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}



/* ProjectsNewStyles */

.projects-page {
  background-color: rgba(255, 255, 255, 0.3);
  opacity: 0.95;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  border-radius: 32px;
  padding: 20px;
  border: 1px solid #00000016;
  max-width: 100%;
  box-sizing: border-box;
}

.projects-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.projects-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.projects-grid-toggle {
  display: flex;
  gap: 4px;
  background: #f3f4f6;
  padding: 4px;
  border-radius: 8px;
}

@media (max-width: 480px) {
  .projects-grid-toggle {
    gap: 2px;
    padding: 3px;
  }
}

.grid-toggle-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #9ca3af;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.grid-toggle-btn:hover {
  color: #4b5563;
}

.grid-toggle-btn--active {
  background: #ffffff;
  color: #28464B;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.projects-header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.projects-filter {
  display: flex;
  gap: 6px;
}

.projects-filter-btn {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  color: #6b7280;
  background: transparent;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.projects-filter-btn:hover {
  background: #f3f4f6;
  color: #111827;
}

.projects-filter-btn--active {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.projects-filter-btn--in_progress {
  border-color: #D9EBFF;
}

.projects-filter-btn--in_progress:hover {
  background: #D9EBFF;
  color: #1d4ed8;
}

.projects-filter-btn--in_progress.projects-filter-btn--active {
  background: #D9EBFF;
  border-color: #D9EBFF;
  color: #1d4ed8;
}

.projects-filter-btn--in_review {
  border-color: #FFF4C5;
}

.projects-filter-btn--in_review:hover {
  background: #FFF4C5;
  color: #92400e;
}

.projects-filter-btn--in_review.projects-filter-btn--active {
  background: #FFF4C5;
  border-color: #FFF4C5;
  color: #92400e;
}

.projects-filter-btn--done {
  border-color: #D5FDE7;
}

.projects-filter-btn--done:hover {
  background: #D5FDE7;
  color: #166534;
}

.projects-filter-btn--done.projects-filter-btn--active {
  background: #D5FDE7;
  border-color: #D5FDE7;
  color: #166534;
}

/* Mobile: projects page */
@media (max-width: 768px) {
  .projects-page {
    padding: 16px;
    border-radius: 24px;
  }

  .projects-header {
    padding-left: 0;
    gap: 12px;
  }

  .projects-header .page-title {
    font-size: 20px;
  }

  .projects-title-row {
    flex-wrap: wrap;
  }

  .grid-toggle-btn {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .projects-header-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .projects-filter {
    flex-wrap: wrap;
    gap: 6px;
  }

  .projects-filter-btn {
    padding: 5px 10px;
    font-size: 12px;
  }

  .projects-status-grid {
    gap: 12px;
  }

  .projects-search {
    margin: 0px 0px 16px 0px;
  }

  .projects-search-input {
    padding: 8px 36px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .projects-page {
    padding: 12px;
    border-radius: 20px;
  }

  .projects-title-row {
    gap: 8px;
  }

  .projects-header .page-title {
    font-size: 18px;
  }

  .grid-toggle-btn {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .projects-header-actions {
    width: 100%;
  }

  .projects-filter {
    width: 100%;
    justify-content: flex-start;
  }

  .projects-filter-btn {
    padding: 4px 8px;
    font-size: 11px;
  }

  .project-card {
    padding: 8px 10px;
  }

  .project-card-title {
    font-size: 14px;
  }

  .project-card-cover-image {
    max-height: 120px;
  }
}

.projects-search {
  margin-bottom: 24px;
}

.projects-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.projects-search-icon {
  position: absolute;
  left: 14px;
  font-size: 14px;
  color: #9ca3af;
  pointer-events: none;
}

.projects-search-input {
  width: 100%;
  padding: 10px 40px 10px 40px;
  font-size: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.projects-search-input::placeholder {
  color: #9ca3af;
}

.projects-search-input:focus {
  border-color: #66F4C4;
  box-shadow: 0 0 0 3px rgba(102, 244, 196, 0.15);
}

.projects-search-clear {
  position: absolute;
  right: 12px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.2s ease;
}

.projects-search-clear:hover {
  background: #f3f4f6;
  color: #111827;
}

.projects-empty {
  text-align: center;
  padding: 32px 16px;
  border-radius: 12px;
  border: 1px dashed #d1d5db;
  background: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 12px;
}


.project-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  min-width: 0;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.project-card:hover {
  border-color: #cbd5f5;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
}

.project-card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.project-card-title {
  margin: 0;
  font-size: 15px;
}

.project-card-meta {
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
}

.project-card-client {
  margin-top: 6px;
  font-size: 12px;
}

.project-card-client-label {
  font-weight: 600;
  color: #4b5563;
  margin-right: 4px;
}

.project-card-footer {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6b7280;
}

.project-card-docsteps {
  font-weight: 500;
}

.project-card-link-hint {
  opacity: 0.8;
}

.projects-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
  min-width: 0;
  max-width: 100%;
}

.projects-status-grid.projects-status-grid--columns {
  grid-template-columns: repeat(3, 1fr);
}

.projects-status-grid.projects-status-grid--single {
  grid-template-columns: 1fr !important;
}

@media (max-width: 1024px) {
  .projects-status-grid.projects-status-grid--columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-status-grid.projects-status-grid--columns {
    grid-template-columns: 1fr;
  }
}

.projects-status-section {
  border-radius: 0px;
  border: 0px solid #e5e7eb;
  background: rgba(0, 0, 0, 0.00);
  padding-bottom: 12px;
  min-width: 0;
}

.projects-status-header {
  display: flex;
  height: 12px;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  padding: 16px;
  border-radius:12px;
  background-color: #f1f1f1;
}

.projects-status-header--in_progress {
  background-color: #D9EBFF;
}

.projects-status-header--in_review {
  background-color: #FFF4C5;
}

.projects-status-header--done {
  background-color: #D5FDE7;
}

.projects-status-title {
  margin: 0;
  font-size: 14px;
}

.projects-status-count {
  font-size: 12px;
  color: #6b7280;
}

.projects-status-empty {
  font-size: 12px;
  color: #9ca3af;
}

/* Collapsible status sections */
.projects-status-header {
  cursor: pointer;
  user-select: none;
}

.projects-status-header-left {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.projects-status-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: #6b7280;
  font-size: 12px;
}

.projects-status-chevron.is-rotated {
  transform: rotate(-90deg);
}

.projects-status-content {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.projects-status-content .projects-grid {
  padding-bottom: 16px;
}

.projects-status-content.is-collapsed {
  max-height: 0 !important;
}

/* Compact list view */
.projects-status-grid--compact .projects-grid {
  grid-template-columns: 1fr !important;
  gap: 6px;
}

.projects-status-grid--compact .project-card {
  flex-direction: row;
  align-items: center;
  min-height: auto;
  padding: 10px 16px;
  gap: 16px;
  border-radius: 10px;
}

.projects-status-grid--compact .project-card-cover {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
  order: -1;
}

.projects-status-grid--compact .project-card-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-status-grid--compact .project-card-top {
  margin-bottom: 0;
  order: 2;
  flex-shrink: 0;
  gap: 8px;
}

.projects-status-grid--compact .project-card-title {
  flex: 1;
  min-width: 0;
  order: 1;
}

.projects-status-grid--compact .project-card-title h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.projects-status-grid--compact .project-card-footer {
  margin-top: 0;
  padding-top: 0;
  flex-shrink: 0;
  order: 3;
  gap: 12px;
}

.projects-status-grid--compact .project-card-client {
  display: none;
}

@media (max-width: 768px) {
  .projects-status-grid--compact .project-card {
    padding: 8px 12px;
    gap: 10px;
  }

  .projects-status-grid--compact .project-card-cover {
    width: 40px;
    height: 40px;
    border-radius: 6px;
  }

  .projects-status-grid--compact .project-card-footer {
    display: none;
  }
}

@media (max-width: 480px) {
  .projects-status-grid--compact .project-card {
    padding: 8px 10px;
    gap: 8px;
  }

  .projects-status-grid--compact .project-card-cover {
    width: 36px;
    height: 36px;
  }

  .projects-status-grid--compact .project-card-top {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }

  .projects-status-grid--compact .project-card-title {
    font-size: 13px;
  }
}


/* Buttons */

/* Download loading bar */
.download-wrapper {
  position: relative;
}

.download-bar {
  display: none;
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  border-radius: 2px;
  background: #e5e7eb;
  overflow: hidden;
}

.download-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  border-radius: 2px;
  background: #28464B;
  animation: download-bar-slide 1.2s ease-in-out infinite;
}

@keyframes download-bar-slide {
  0%   { left: -40%; }
  100% { left: 100%; }
}

.download-link--loading {
  pointer-events: none;
  opacity: 0.6;
}

.download--done .download-bar {
  display: none !important;
}

.download--done .navbar-menu-item i {
  color: #22c55e;
}


.btn {
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border: 1px solid #d1d5db;
  color: #111827;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn:hover {
  opacity: 0.9;
}

.btn-primary {
  background: #28464B;
  border-color: #28464B;
  color: #66F4C4;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #1e3539;
  border-color: #1e3539;
  color: #66F4C4;
  box-shadow: 0 0 24px rgba(102, 244, 196, 0.5);
}

.btn-secondary {
  border: 1px solid #b9b9b9;
  color: #6b7280;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #ffffff;
  color: #28464B;
  box-shadow: 0 0 24px rgba(102, 244, 196, 0.4);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: #111827;
}

.btn-ghost:hover {
  background: #e5e7eb;
}

.btn-small {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  color: #8d8d8d;
}

.btn-danger {
  border-color: #ef4444;
  color: #b91c1c;
}

/* Docsteps */

.docstep-list-section {
  border-radius: 24px;
  border: 0px solid #e5e7eb;
  background-color: rgba(255, 255, 255, 0.0); /* 0.2 = 20% Deckkraft */
  padding: 0px;
  margin-bottom: 16px;
}

/* Body scroll lock when sheet is open */
html.no-scroll,
body.no-scroll {
  overflow: hidden !important;
  touch-action: none;
}

/* Space at bottom for the peek area */
.project-show {
  padding-bottom: 120px;
}

/* ============================================
   BOTTOM SHEET - Mobile-first sliding panel
   ============================================ */

/* Container: fixed fullscreen overlay */
.docstep-form-section {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  /* IMPORTANT: none by default so page behind is interactive when closed */
  pointer-events: none;
}

/* Backdrop overlay - fades in */
.docstep-overlay-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 200ms ease-out;
  pointer-events: none;
}

.docstep-form-section.is-open .docstep-overlay-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* The sheet panel - slides up from bottom */
.docstep-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  background: #F5F5F5;
  border-radius: 40px;
  border: 1px solid #66F4C4;
  border-bottom: none;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);

  /* Layout */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;

  /* Height: full viewport minus top margin */
  height: 85vh;
  height: 85dvh;
  max-height: calc(100vh - 60px);
  max-height: calc(100dvh - 60px);

  /* Closed state: only peek (84px) visible */
  transform: translateY(calc(100% - 84px));
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;

  /* Always clickable (for handle in closed state) */
  pointer-events: auto;
}

/* When open, backdrop becomes clickable to close */
.docstep-form-section.is-open {
  pointer-events: auto;
}

/* Open state: sheet fully visible */
.docstep-form-section.is-open .docstep-sheet {
  transform: translateY(0);
}

/* Handle bar at top */
.docstep-sheet-handle {
  flex-shrink: 0;
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  background: #F5F5F5;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 40px;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
}

.docstep-sheet-title {
  padding: 12px 16px;
  border-radius: 999px;
  background: #11343D;
  color: #66F4C4;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.docstep-form-section.is-open .docstep-sheet-title {
  background: transparent;
  color: #9ca3af;
  border-color: #e5e7eb;
  pointer-events: none;
}

.docstep-sheet-chevron {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.docstep-sheet-chevron::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-left: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(135deg);
  transition: transform 250ms ease;
}

.docstep-form-section.is-open .docstep-sheet-chevron::before {
  transform: rotate(-45deg);
}

/* Form wrapper */
.docstep-form {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* Content area - scroll container */
.docstep-sheet-body {
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 6px;
}

.docstep-text-input-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.docstep-textarea {
  flex: 1 1 auto;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  resize: vertical;
  min-height: 60px;
  background: #fff;
  box-sizing: border-box;
  width: 100%;
}

.docstep-textarea-small {
  min-height: 30px;
  padding: 6px 14px;
}

/* Prevent mobile zoom on input focus - font-size must be >= 16px */
@media (max-width: 768px) {
  input,
  textarea,
  select,
  .docstep-textarea,
  .docstep-textarea-small {
    font-size: 16px !important;
  }
}

.docstep-icon-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.5);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  transition: all 0.4s ease;
}

.docstep-icon-button:hover {
  background: #11343D;
  color: #66F4C4;
  transform: scale(1.05);
}

.docstep-icon-button:active {
  transform: scale(0.95);
}

.docstep-icon-button .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.docstep-image-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.docstep-image-placeholder {
  width: 160px;
  height: 120px;
  border-radius: 10px;
  border: 2px dashed #d1d5db;
  background: rgba(0, 0, 0, 0.02);
  flex-shrink: 0;
}

.docstep-image-placeholder.has-image {
  border-style: solid;
  border-color: #e5e7eb;
  background-size: cover;
  background-position: center;
}

.docstep-file-input {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  overflow: hidden !important;
}

.docstep-geo-display {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

/* Bottom info bar */
.docstep-bottom-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.docstep-bottom-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.docstep-bottom-label {
  font-size: 11px;
  color: #9ca3af;
}

.docstep-bottom-number {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.docstep-bottom-arrow {
  display: none;
}

.docstep-bottom-plus {
  font-size: 22px;
  font-weight: 600;
  color: #66F4C4;
}

/* Submit button area */
.docstep-sheet-actions {
  flex-shrink: 0;
  padding: 12px 24px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: #F5F5F5;
}

.docstep-submit-btn {
  width: 100%;
  height: 48px;
  font-size: 15px;
  font-weight: 600;
}

/* Screenreader-only Text (für Labels in Icon-Buttons) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}





.docstep-empty {
  font-size: 13px;
  color: #6b7280;
}

.docstep-list {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
}

.docstep-item {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background-color: rgba(255, 255, 255);
  padding: 8px 16px;
  margin-bottom: 8px;
  padding : 16px;
  scroll-margin-bottom: 100px;
}

.docstep-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.docstep-header-right {
  display: flex;
  gap: 6px;
  align-items: center;
}

.docstep-number {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.docstep-body {
  display: flex;
  gap: 20px;
  flex-direction: row; /* Standard: nebeneinander */
}

/* Für Mobilgeräte (Bildschirme schmaler als 768px) */
@media (max-width: 768px) {
  .docstep-body {
    flex-direction: column; /* Jetzt untereinander */
  }
}

.docstep-image-wrapper {
  flex-shrink: 0;
}

.docstep-image {
  box-shadow: inset 0 8px 16px rgba(15, 23, 42, 0.06);
  width: 320px;
  height: 240px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  background-color: rgba(0, 0, 0, 0.05);
}

.docstep-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 0px 20px;
}

/* Ab einer bestimmten Breite (z.B. Tablet runter) anders skalieren */
@media (max-width: 640px) {
  .docstep-image {
    max-width: 240px;
    max-height: 160px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
  }

  .docstep-content {
    padding-left: 0;
  }
}

.docstep-headline {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.docstep-description {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.docstep-comment {
  margin: 0;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.75);
}

.inline-form {
  display: inline-block;
}

.docstep-footer {
  display: flex;
  margin-top: 16px;
  padding-top: 16px; /* etwas Abstand zwischen Inhalt und Linie */
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;

  /* nur obere Rahmenlinie */
  border-top: 1px solid rgba(15, 23, 42, 0.08); /* dezentes Grau */
}

.docstep-footer-left {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.docstep-footer-left .btn {
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  border: 1px solid #d1d5db;
  color: #6b7280;
  background: transparent;
  transition: all 0.2s ease;
}

.docstep-footer-left .btn:hover {
  background: #f3f4f6;
  color: #28464B;
  border-color: #28464B;
}

.docstep-footer-right {
  display: flex;
  align-items: right;
  gap: 8px;
}

.docstep-footer-right .btn {
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  border: 1px solid #d1d5db;
  color: #6b7280;
  background: transparent;
  transition: all 0.2s ease;
}

.docstep-footer-right .btn:hover {
  background: #f3f4f6;
  color: #28464B;
  border-color: #28464B;
}

.docstep-footer-label {
  font-size: 11px;
  color: #6b7280;
}


.docstep-image-input-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* duplicate removed — .docstep-file-input is defined above */

.docstep-file-label {
  cursor: pointer;
}

.docstep-geo-display,
.docstep-geo {
  font-size: 12px;
  color: #6b7280;
}


/* Page-Titel */

.page-title {
  margin-top: 20px;
  font-size: 24px;
}

.page-subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  color: #6b7280;
}

/* Form-Felder */

.field {
  margin-bottom: 8px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 2px;
}

.field label.docstep-icon-button {
  display: inline-flex;
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 0;
}

.field input[type="text"],
.field input[type="file"],
.field textarea,
.field select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  padding: 6px 8px;
  font-size: 13px;
}

.actions {
  margin-top: 8px;
}

.inline-form {
  display: inline-block;
}

/* Docstep Timer - Bottom Sheet */
.docstep-timer-group {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #11343D;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  flex-shrink: 0;
}

.docstep-timer-display {
  font-family: "SF Mono", "Monaco", "Consolas", monospace;
  font-size: 14px;
  font-weight: 600;
  color: #66F4C4;
  min-width: 48px;
  text-align: center;
}

.docstep-timer-pause-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: #66F4C4;
  color: #11343D;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.docstep-timer-pause-btn:hover {
  background: #4ee0ad;
  transform: scale(1.05);
}

.docstep-timer-pause-btn.is-paused {
  background: rgba(102, 244, 196, 0.3);
  color: #66F4C4;
  animation: pulse-pause 1.5s ease-in-out infinite;
}

@keyframes pulse-pause {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* Docstep Meta Row - timing + geo in one line */
.docstep-meta-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin: 8px 0 16px;
  padding: 8px 0 12px;
  border-bottom: 1px solid #e5e7eb;
}

/* Legacy - keep for backwards compatibility */
.docstep-timing {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 8px 0 16px;
  padding: 8px 12px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.docstep-timing-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.docstep-timing-label {
  font-size: 11px;
  min-width: 8px;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.docstep-timing-value {

  font-family: "SF Mono", "Monaco", "Consolas", monospace;
  background: #F5F5F5;
  opacity: 0.9;
  color: #676767;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 400;
  font-size: 12px;
}
/*
  font-size: 13px;
  font-weight: 500;
  color: #111827;
*/

.docstep-timing-duration {
  font-family: "SF Mono", "Monaco", "Consolas", monospace;
  background: #F5F5F5;
  color: #676767;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 400;
  font-size: 12px;
}

.docstep-geo-display,
.docstep-geo {
  font-family: "SF Mono", "Monaco", "Consolas", monospace;
  background: #F5F5F5;
  color: #676767;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 400;
  font-size: 12px;
}


/* Mobile adjustments for timer */
@media (max-width: 480px) {
  .docstep-timer-group {
    gap: 6px;
    padding: 8px;
  }

  .docstep-timer-display {
    font-size: 14px;
    min-width: 48px;
  }

  .docstep-timer-pause-btn {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .docstep-timing {
    flex-direction: column;
    gap: 6px;
  }

  .docstep-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ============================================
   IMAGE PREVIEW MODAL
   ============================================ */

.image-previewable {
  cursor: pointer;
}

.image-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.image-preview-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.image-preview-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  max-width: 520px;
  width: calc(100% - 32px);
  overflow: hidden;
}

.image-preview-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.15s ease;
}

.image-preview-close:hover {
  background: #ffffff;
}

.image-preview-img {
  display: block;
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  background: #f5f5f5;
}

.image-preview-meta {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: #111827;
}

.image-preview-meta-row {
  display: flex;
  gap: 0px;
}

.image-preview-meta-label {
  font-weight: 600;
}

.image-preview-docstep-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid #b9b9b9;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.image-preview-docstep-link:hover {
  background: #ffffff;
  color: #28464B;
  box-shadow: 0 0 24px rgba(102, 244, 196, 0.4);
}

/* ============================================
   HOMEPAGE
   ============================================ */

.homepage {
  padding-bottom: 90px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Hero */
.hero-section {
  text-align: center;
  padding: 48px 0 72px;
}

.hero-title {
  font-size: 64px;
  font-weight: 600;
  color: #28464B;
  line-height: 1.1;
  margin: 0 0 20px;
}

.hero-subtitle {
  font-size: 24px;
  color: #6b7280;
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.65;
  padding: 0 16px;
}

.hero-buttons {

  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-buttons .btn {
  padding: 0.9rem 1.4rem;
  font-size: 1.0rem;
  font-weight: 5  00;
  transition: all 0.25s ease;
}

.hero-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-image-wrapper {
  max-width: 100%;
}

/* ===== CUSTOMER LOGOS MARQUEE ===== */
.logos-section {
  padding: 48px 0;
  overflow: hidden;
}

.logos-title {
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
  text-transform: uppercase;
  margin: 0 0 32px;
}

.logos-marquee {
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
}

.logos-marquee::before,
.logos-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.logos-marquee::before {
  left: 0;
  background: linear-gradient(to right, #f9fafb 0%, transparent 100%);
}

.logos-marquee::after {
  right: 0;
  background: linear-gradient(to left, #f9fafb 0%, transparent 100%);
}

.logos-track {
  display: flex;
  gap: 48px;
  width: max-content;
}

/* Left to Right animation */
.logos-marquee--ltr .logos-track {
  animation: marquee-ltr 60s linear infinite;
}

/* Right to Left animation */
.logos-marquee--rtl .logos-track {
  animation: marquee-rtl 60s linear infinite;
}

@keyframes marquee-ltr {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

@keyframes marquee-rtl {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-item {
  flex-shrink: 0;
  width: 160px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
}

/* Pause animation on hover */
.logos-marquee:hover .logos-track {
  animation-play-state: paused;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .logos-section {
    padding: 32px 0;
  }

  .logos-title {
    font-size: 12px;
    margin-bottom: 24px;
  }

  .logos-track {
    gap: 24px;
  }

  .logo-item {
    width: 100px;
    height: 48px;
    font-size: 12px;
  }

  .logos-marquee::before,
  .logos-marquee::after {
    width: 40px;
  }
}

/* ===== CARDS MARQUEE (Section 8) ===== */
.cards-marquee {
  overflow: hidden;
  position: relative;
  padding: 16px 0;
}

.cards-marquee::before,
.cards-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.cards-marquee::before {
  left: 0;
  background: linear-gradient(to right, #dceeef 0%, transparent 100%);
}

.cards-marquee::after {
  right: 0;
  background: linear-gradient(to left, #dceeef 0%, transparent 100%);
}

.cards-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
}

/* Left to Right animation */
.cards-marquee--ltr .cards-marquee-track {
  animation: cards-marquee-ltr 45s linear infinite;
}

@keyframes cards-marquee-ltr {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

.cards-marquee-card {
  flex: 0 0 280px;
  min-width: 280px;
}

/* Pause animation on hover */
.cards-marquee:hover .cards-marquee-track {
  animation-play-state: paused;
}

/* Mobile adjustments for cards marquee */
@media (max-width: 768px) {
  .cards-marquee::before,
  .cards-marquee::after {
    width: 40px;
  }

  .cards-marquee-track {
    gap: 16px;
  }

  .cards-marquee-card {
    flex: 0 0 240px;
    min-width: 240px;
  }

  .cards-marquee--ltr .cards-marquee-track {
    animation-duration: 35s;
  }
}

/* ===== CARD SLIDER ===== */
.card-slider {
  position: relative;
  padding: 0 60px;
}

.card-slider-viewport {
  overflow: hidden;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.card-slider-viewport.is-dragging {
  cursor: grabbing;
}

.card-slider-viewport.is-dragging .card-slider-card {
  pointer-events: none;
}

.card-slider-track {
  display: flex;
  gap: 32px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.card-slider-card {
  flex: 0 0 50%;
  max-width: 500px;
  min-width: 0;
  transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
  opacity: 0.5;
  transform: scale(0.9);
  filter: blur(1px);
}

.card-slider-card--active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  z-index: 1;
}

.card-slider-card--prev,
.card-slider-card--next {
  opacity: 0.6;
  cursor: pointer;
}

.card-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-slider-btn:hover:not(.card-slider-btn--disabled) {
  background: #11343D;
  color: #66F4C4;
  border-color: #11343D;
}

.card-slider-btn:active:not(.card-slider-btn--disabled) {
  transform: translateY(-50%) scale(0.95);
}

.card-slider-btn--prev {
  left: 0;
}

.card-slider-btn--next {
  right: 0;
}

.card-slider-btn--disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.card-slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding: 8px 0;
}

.card-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.card-slider-dot:hover {
  background: #9ca3af;
}

.card-slider-dot--active {
  background: #11343D;
  transform: scale(1.3);
}

/* Swipe hint for mobile */
.card-slider-hint {
  display: none;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 8px;
}

/* Card Slider Tablet */
@media (max-width: 1024px) {
  .card-slider-card {
    flex: 0 0 45%;
    max-width: 400px;
  }
}

/* Card Slider Mobile */
@media (max-width: 768px) {
  .card-slider {
    padding: 0 16px;
    margin: 0 -16px;
  }

  .card-slider-track {
    gap: 16px;
    padding: 0 16px;
  }

  .card-slider-card {
    flex: 0 0 calc(100% - 32px);
    max-width: none;
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }

  .card-slider-card--prev,
  .card-slider-card--next {
    opacity: 1;
  }

  .card-slider-btn {
    display: none;
  }

  .card-slider-dots {
    gap: 16px;
    margin-top: 20px;
  }

  .card-slider-dot {
    width: 14px;
    height: 14px;
    position: relative;
  }

  .card-slider-dot::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
  }

  .card-slider-hint {
    display: block;
  }
}

@media (max-width: 480px) {
  .card-slider {
    padding: 0 12px;
    margin: 0 -12px;
  }

  .card-slider-track {
    gap: 12px;
    padding: 0 12px;
  }

  .card-slider-card {
    flex: 0 0 calc(100% - 24px);
  }
}

/* Placeholder images with gradient */
.hero-image-placeholder {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: radial-gradient(63.68% 49.09% at 50.91% 52.09%, #50C29E 0%, #28464B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c0c0c0;
  margin-bottom: 32px;
  font-size: 18px;
  font-weight: 300;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
              box-shadow 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Feature card illustrations */
.feature-scene {
  position: relative;
  overflow: hidden;
}

.feature-scene span {
  display: none;
}

.feature-scene i {
  position: absolute;
  transition: transform 0.4s ease;
}

.hp-card:hover .feature-scene i {
  transform: scale(1.08);
}

/* Shared icon circle used in scenes */
.feature-scene .scene-icon-main {
  font-size: 52px;
  color: #66F4C4;
  -webkit-text-stroke: 4px rgba(255, 255, 255, 0.9);
  paint-order: stroke fill;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.4));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: #ffffff;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-scene .scene-icon-main.hero-main-icon {
  width: 140px;
  height: 140px;
  font-size: 64px;
}

.hp-card:hover .feature-scene .scene-icon-main {
  transform: translate(-50%, -50%) scale(1.08);
}

.feature-scene .scene-icon-accent {
  color: rgba(255, 255, 255, 0.18);
  z-index: 1;
}

.feature-scene .scene-icon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(40, 70, 75, 0.15);
  position: absolute;
}

.feature-scene .scene-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.feature-scene .scene-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
}

.hero-image-placeholder:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.hero-image-placeholder--large {
  width: 100%;
  aspect-ratio: 1040 / 720;
  max-height: 480px;
  font-size: 24px;
}

.hero-image-placeholder--medium {
  width: 100%;
  aspect-ratio: 480 / 320;
}

.hero-image-placeholder--tall {
  width: 100%;
  aspect-ratio: 480 / 480;
}

.hero-image-placeholder--medium-sm {
  width: 100%;
  aspect-ratio: 360 / 320;
}

/* Sections */
.hp-section {
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(102, 244, 196, 0.5);
}

.hp-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hp-section-title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 40px;
  color: #28464B;
}

/* Row: image + text side by side */
.hp-row {
  display: flex;
  gap: 48px;
  align-items: center;
}

.hp-row--reverse {
  flex-direction: row-reverse;
}

.hp-col {
  flex: 1 1 0;
  min-width: 0;
}

.hp-col--text p {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 16px;
  padding: 0px 16px;
}

.hp-col--text p:last-child {
  margin-bottom: 0;
}

.hp-block-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 20px;
  color: #28464B;
  padding: 0px 16px;
}

/* Card rows */
.hp-cards-row {
  display: grid;
  gap: 24px;
}

.hp-cards-row--2 {
  grid-template-columns: repeat(2, 1fr);
}

.hp-cards-row--3 {
  grid-template-columns: repeat(3, 1fr);
}

.hp-cards-row--4 {
  grid-template-columns: repeat(4, 1fr);
}

.hp-card {
  text-align: left;
  padding: 16px 16px 32px 16px;
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.hp-card-title {
  font-size: 24px;
  font-weight: 400;
  margin: 16px 0 8px;
  color: #28464B;
}

.hp-card-text {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}

/* Use Cases Bento Grid */
.usecases-section {
  padding: 80px 0;
}

.usecases-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.usecases-intro {
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.usecases-intro-title {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #28464B;
}

.usecases-intro-text {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 20px;
}

.usecases-intro-link {
  color: #28464B;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.usecases-intro-link:hover {
  gap: 10px;
}

.usecases-card {
  background: #f8f6f3;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 180px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.usecases-card:hover {
  background: #11343D;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.usecases-card:hover .usecases-card-title,
.usecases-card:hover .usecases-card-text {
  color: #ffffff;
}

.usecases-card:hover .usecases-card-icon {
  background: #ffffff;
  color: #11343D;
}

.usecases-card-icon {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #28464B;
  margin-bottom: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.usecases-card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #28464B;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.usecases-card-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .usecases-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .usecases-intro {
    grid-column: 1 / -1;
    padding-right: 0;
    margin-bottom: 8px;
  }
}

@media (max-width: 600px) {
  .usecases-bento {
    grid-template-columns: 1fr;
  }

  .usecases-section {
    padding: 48px 0;
  }

  .usecases-intro-title {
    font-size: 26px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .hero-section {
    padding: 36px 0 56px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hp-section {
    margin-bottom: 64px;
    padding-bottom: 64px;
  }

  .hp-row {
    gap: 32px;
  }

  .hp-cards-row--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-section {
    padding: 24px 0 40px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hp-section-title {
    font-size: 28px;
  }

  .hp-section {
    margin-bottom: 48px;
  }

  .hp-row,
  .hp-row--reverse {
    flex-direction: column;
    gap: 24px;
  }

  .hp-col {
    flex: none;
    width: 100%;
  }

  .hp-cards-row--2,
  .hp-cards-row--3,
  .hp-cards-row--4 {
    grid-template-columns: 1fr;
  }

  .hp-block-title {
    font-size: 32px;
  }
}

/* Small mobile */
@media (max-width: 479px) {
  .hero-title {
    font-size: 32px;
  }

  .hp-section-title {
    font-size: 24px;
  }

  .hp-block-title {
    font-size: 20px;
  }

  .hp-card {
    padding: 12px 12px 24px;
  }
}

/* ===== STATIC PAGES ===== */
.static-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.static-page-section {
  margin-bottom: 48px;
}

.page-headline {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  color: #28464B;
}

.page-subhead {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 20px;
  color: #28464B;
  padding: 0px 16px;
}

.page-text p {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 16px;
  padding: 0px 16px;
}

.page-text p:last-child {
  margin-bottom: 0;
}

/* Static Pages Mobile */
@media (max-width: 768px) {
  .static-page {
    padding: 32px 16px 64px;
  }

  .page-headline {
    font-size: 40px;
  }

  .page-subhead {
    font-size: 24px;
  }

  .page-text p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .page-headline {
    font-size: 32px;
  }

  .page-subhead {
    font-size: 20px;
  }
}

/* ===== PRICING PAGE ===== */
.pricing-page {
  max-width: 100%;
  overflow-x: hidden;
}

.pricing-hero {
  text-align: center;
  padding: 48px 24px 32px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-hero-title {
  font-size: 48px;
  font-weight: 400;
  color: #28464B;
  margin: 0 0 16px;
}

.pricing-hero-subtitle {
  font-size: 18px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

.pricing-section {
  padding: 32px 24px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.pricing-card * {
  box-sizing: border-box;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card--highlighted {
  background: linear-gradient(135deg, #11343D 0%, #1a4a56 50%, #11343D 100%);
  border: 1px solid rgba(102, 244, 196, 0.3);
  box-shadow: 0 8px 32px rgba(17, 52, 61, 0.25);
}

.pricing-card--highlighted:hover {
  box-shadow: 0 16px 48px rgba(17, 52, 61, 0.35);
}

.pricing-card--highlighted .pricing-plan-name,
.pricing-card--highlighted .pricing-amount,
.pricing-card--highlighted .pricing-period,
.pricing-card--highlighted .pricing-plan-tagline,
.pricing-card--highlighted .pricing-features-intro,
.pricing-card--highlighted .pricing-features-list li {
  color: #ffffff;
}

.pricing-card--highlighted .pricing-features-list li i {
  color: #66F4C4;
}

.pricing-card-top {
  margin-bottom: 20px;
}

.pricing-plan-name {
  font-size: 20px;
  font-weight: 700;
  color: #28464B;
  margin: 0 0 4px;
}

.pricing-plan-tagline {
  font-size: 13px;
  color: #9ca3af;
  margin: 0;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}

.pricing-amount {
  font-size: 42px;
  font-weight: 800;
  color: #28464B;
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  color: #6b7280;
}

.pricing-features-intro {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #4b5563;
  padding: 6px 0;
}

.pricing-features-list li i {
  color: #11343D;
  font-size: 11px;
  flex-shrink: 0;
}

.pricing-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
}

.pricing-btn--primary {
  background: #66F4C4;
  color: #11343D;
  border: none;
}

.pricing-btn--primary:hover {
  background: #4de0ad;
  transform: translateY(-1px);
}

.pricing-btn--secondary {
  background: transparent;
  color: #6b7280;
  border: 1px solid #b9b9b9;
}

.pricing-btn--secondary:hover {
  background: #ffffff;
  color: #28464B;
  box-shadow: 0 0 24px rgba(102, 244, 196, 0.4);
  transform: translateY(-1px);
}

.pricing-btn--outline {
  background: transparent;
  color: #28464B;
  border: 1px solid #d1d5db;
}

.pricing-btn--outline:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.pricing-btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* Enterprise Card (Combined) */
.pricing-enterprise {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #66F4C4;
  border-radius: 16px;
  padding: 32px;
  margin-top: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-enterprise:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(102, 244, 196, 0.15);
}

.pricing-enterprise-col {
  display: flex;
  flex-direction: column;
}

.pricing-enterprise-header {
  gap: 6px;
}

.pricing-enterprise-title {
  font-size: 20px;
  font-weight: 700;
  color: #28464B;
  margin: 0;
}

.pricing-enterprise-tagline {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.pricing-enterprise-cta {
  align-items: center;
  text-align: center;
  gap: 12px;
}

.pricing-enterprise-description {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}

.pricing-enterprise-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-enterprise-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #28464B;
}

.pricing-enterprise-feature i {
  color: #11343D;
  font-size: 18px;
}

.pricing-enterprise-bottom {
  grid-column: 1 / -1;
  margin-top: 16px;
  text-align: center;
}

/* Enterprise Details Section (deprecated, keeping for backwards compat) */
.enterprise-details {
  display: none;
}

.enterprise-details-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.enterprise-details-title {
  font-size: 32px;
  font-weight: 700;
  color: #28464B;
  margin: 0 0 20px;
}

.enterprise-details-text {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 32px;
}

.enterprise-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.enterprise-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #28464B;
}

.enterprise-feature i {
  color: #11343D;
  font-size: 18px;
}

/* Pricing Table */
.pricing-table-section {
  padding: 64px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-table-title {
  font-size: 32px;
  font-weight: 700;
  color: #28464B;
  text-align: center;
  margin: 0 0 40px;
}

.pricing-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 8px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.pricing-table th,
.pricing-table td {
  padding: 18px 24px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.pricing-table thead th {
  font-size: 18px;
  font-weight: 700;
  color: #28464B;
  background: #f3f4f6;
  vertical-align: bottom;
  padding: 24px 20px;
}

.pricing-table-price {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #11343D;
  margin-top: 6px;
}

.pricing-table-feature-col {
  width: 35%;
  text-align: left !important;
  background: #f9fafb;
}

.pricing-table-feature {
  text-align: left !important;
  background: #f9fafb;
}

.pricing-table-feature strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #28464B;
  margin-bottom: 2px;
}

.pricing-table-feature span {
  font-size: 12px;
  color: #9ca3af;
}

.pricing-table tbody td {
  font-size: 14px;
  color: #4b5563;
}

.pricing-table tbody td i.fa-check {
  color: #11343D;
}

.pricing-table tbody td i.fa-xmark {
  color: #d1d5db;
}

.pricing-table-highlight {
  background: rgba(17, 52, 61, 0.03);
}

.pricing-table thead th.pricing-table-highlight {
  background: rgba(17, 52, 61, 0.08);
  border-radius: 12px 12px 0 0;
}

.pricing-table tfoot td {
  padding-top: 24px;
  border-bottom: none;
}

/* FAQ Section */
.pricing-faq {
  padding: 64px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-faq-title {
  font-size: 32px;
  font-weight: 700;
  color: #28464B;
  text-align: center;
  margin: 0 0 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-item:first-child {
  border-top: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #28464B;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #11343D;
}

.faq-question span {
  flex: 1;
  padding-right: 16px;
}

.faq-icon {
  font-size: 16px;
  color: #9ca3af;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item--open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 0 24px;
  margin: 0;
  font-size: 17px;
  color: #4b5563;
  line-height: 1.7;
}

/* Pricing Page Mobile */
@media (max-width: 900px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 24px;
    gap: 16px;
  }

  .pricing-card--highlighted {
    order: -1;
  }

  .pricing-enterprise {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-enterprise-features {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .pricing-hero-title {
    font-size: 36px;
  }

  .pricing-hero-subtitle {
    font-size: 16px;
  }

  .pricing-amount {
    font-size: 36px;
  }

  .pricing-table-title,
  .enterprise-details-title,
  .pricing-faq-title {
    font-size: 26px;
  }

  .enterprise-details {
    padding: 48px 24px;
  }

  .enterprise-feature {
    font-size: 13px;
  }

  .enterprise-feature i {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .pricing-hero {
    padding: 32px 16px 24px;
  }

  .pricing-hero-title {
    font-size: 32px;
  }

  .pricing-section {
    padding: 24px 16px 32px;
  }

  .pricing-card {
    padding: 24px 20px;
  }

  .pricing-enterprise {
    grid-template-columns: 1fr;
    padding: 20px;
    text-align: center;
  }

  .pricing-enterprise-header {
    align-items: center;
  }

  .pricing-enterprise-features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .pricing-enterprise-feature {
    flex: 0 0 calc(50% - 8px);
    font-size: 13px;
  }

  .pricing-table-section,
  .pricing-faq {
    padding: 48px 16px;
  }

  .faq-question {
    font-size: 16px;
    padding: 18px 0;
  }

  .faq-answer p {
    font-size: 15px;
  }
}

/* ===== FOOTER ===== */
.hp-footer {
  background: #11343D;
  color: #ffffff;
  margin-top: 80px;
  padding: 64px 0 0;
  border-radius: 24px;
}

.hp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hp-footer-brand {
  max-width: 280px;
}

.hp-footer-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.hp-footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0 0 24px;
}

.hp-footer-social {
  display: flex;
  gap: 12px;
}

.hp-footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hp-footer-social-link:hover {
  background: #66F4C4;
  color: #11343D;
  transform: translateY(-2px);
}

.hp-footer-column {
  min-width: 0;
}

.hp-footer-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #66F4C4;
  margin: 0 0 20px;
}

.hp-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hp-footer-links li {
  margin-bottom: 12px;
}

.hp-footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hp-footer-links a:hover {
  color: #ffffff;
}

.hp-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.hp-footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.hp-footer-made {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.hp-footer-made i {
  color: #66F4C4;
}

/* Footer Mobile */
@media (max-width: 768px) {
  .hp-footer {
    margin-top: 48px;
    padding: 48px 0 0;
  }

  .hp-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hp-footer-brand {
    grid-column: 1 / -1;
    max-width: none;
    text-align: center;
  }

  .hp-footer-social {
    justify-content: center;
  }

  .hp-footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hp-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .hp-footer-column {
    text-align: center;
  }
}

/* ===== LIGHT FOOTER (for logged-in pages) ===== */
.footer-light {
  margin-top: 64px;
  padding: 24px 0;
  border-top: 1px solid #e5e7eb;
  background: transparent;
}

.footer-light-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-light-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-light-links a {
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-light-links a:hover {
  color: #111827;
}

.footer-light-divider {
  color: #d1d5db;
  font-size: 13px;
}

.footer-light-copyright {
  font-size: 13px;
  color: #9ca3af;
  margin: 0;
}

/* Light Footer Mobile */
@media (max-width: 768px) {
  .footer-light {
    margin-top: 48px;
  }

  .footer-light-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-light-links {
    justify-content: center;
  }
}

/* ============================================
   PROJECT MAP PAGE
   ============================================ */

.project-map-page {
  margin-top: 4px;
}

.project-map-container {
  margin-top: 16px;
  position: relative;
}

.project-map-canvas {
  width: 100%;
  height: 70vh;
  min-height: 400px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

/* Empty state */
.project-map-empty {
  text-align: center;
  padding: 80px 20px;
  color: #6b7280;
}

.project-map-empty i {
  font-size: 48px;
  color: #d1d5db;
  margin-bottom: 16px;
  display: block;
}

.project-map-empty p {
  font-size: 16px;
  margin-bottom: 16px;
}

/* Custom numbered marker pin */
.project-map-numbered-marker {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-map-marker-circle {
  width: 36px;
  height: 36px;
  background: #0e1012;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 3px solid #4b5563;
}

.project-map-marker-pin {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid #4b5563;
  margin-top: -2px;
}

.project-map-marker-circle span {
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  font-family: "SF Mono", "Monaco", "Consolas", monospace;
}

/* Docstep detail panel overlay on map */
.project-map-detail {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  width: 360px;
  max-height: calc(100% - 32px);
  overflow-y: auto;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.12);
}

.project-map-detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: #6b7280;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  z-index: 1;
}

.project-map-detail-close:hover {
  background: #f3f4f6;
  color: #111827;
}

/* Popup docstep layout - force mobile/column layout */
.docstep-map-popup .docstep-body {
  flex-direction: column;
  gap: 12px;
}

.docstep-map-popup .docstep-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: 200px;
}

.docstep-map-popup .docstep-content {
  padding: 0;
}

.docstep-map-popup .docstep-header {
  margin-bottom: 8px;
}

.docstep-map-popup .docstep-meta-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 4px 0 8px;
  padding: 4px 0 8px;
}

.docstep-map-popup .docstep-headline {
  font-size: 14px;
}

.docstep-map-popup .docstep-description {
  font-size: 13px;
}

.docstep-map-popup .docstep-comment {
  font-size: 11px;
}

@media (max-width: 768px) {
  .project-map-canvas {
    height: 60vh;
    min-height: 300px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .project-map-canvas {
    height: 50vh;
    min-height: 250px;
  }

  .project-map-detail {
    width: calc(100% - 24px);
    left: 12px;
    top: 12px;
  }
}

/* ===== Share Link (project show page) ===== */
.share-link-display {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  align-items: center;
}

.share-link-input {
  flex: 1;
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.03);
  color: #333;
  font-family: monospace;
  min-width: 0;
}

.share-link-input:focus {
  outline: none;
  border-color: #93c5fd;
}

/* ===== Shared Project View ===== */
.shared-body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1a1a1a;
  background: #f8f9fa;
  margin: 0;
  padding: 0;
}

.shared-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px;
}

.shared-header {
  text-align: center;
  padding: 16px 0 24px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 32px;
}

.shared-logo {
  height: 28px;
  width: auto;
}

.shared-project-header {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.shared-cover-image img {
  max-width: 300px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

.shared-project-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.shared-project-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
}

.shared-project-description {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.shared-metadata {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 32px;
}

.shared-metadata h2 {
  font-size: 16px;
  margin-bottom: 12px;
}

.shared-metadata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  font-size: 13px;
}

.shared-docsteps h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

.shared-docstep-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  background: white;
}

.shared-docstep-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #555;
  margin-bottom: 12px;
  align-items: center;
}

.shared-docstep-number {
  font-weight: 700;
  color: #1a1a1a;
}

.shared-docstep-body {
  display: flex;
  gap: 16px;
}

.shared-docstep-image img {
  max-width: 250px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.shared-docstep-image img:hover {
  opacity: 0.85;
}

.shared-cover-image img {
  cursor: pointer;
  transition: opacity 0.15s;
}

.shared-cover-image img:hover {
  opacity: 0.85;
}

.shared-docstep-headline {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.shared-docstep-description {
  font-size: 13px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 6px;
}

.shared-docstep-comment {
  font-size: 12px;
  color: #666;
  font-style: italic;
}

.shared-footer {
  text-align: center;
  font-size: 11px;
  color: #999;
  padding: 32px 0 16px;
  border-top: 1px solid #e0e0e0;
  margin-top: 32px;
}

.shared-empty {
  color: #999;
  font-style: italic;
}

@media (max-width: 600px) {
  .shared-project-header { flex-direction: column; }
  .shared-cover-image img { max-width: 100%; }
  .shared-docstep-body { flex-direction: column; }
  .shared-docstep-image img { max-width: 100%; }
}

/* ── PWA / Offline Styles ── */

.hidden {
  display: none !important;
}

.badge-offline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #ef4444;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #f59e0b;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.docstep-header-right .badge-offline {
  margin-left: 6px;
}

/* ── Install Banner ── */

.install-banner {
  width: 100%;
  background: linear-gradient(135deg, #28464B 0%, #1e3538 100%);
  color: #fff;
}

.install-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.install-banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.install-banner-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #66F4C4;
}

.install-banner-text {
  min-width: 0;
}

.install-banner-headline {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2px;
}

.install-banner-description {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.install-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.install-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #66F4C4;
  color: #1e3538;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.install-banner-btn:hover {
  background: #88f7d3;
}

.install-banner-dismiss {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.install-banner-dismiss:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

@media (max-width: 640px) {
  .install-banner-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
    gap: 16px;
  }

  .install-banner-actions {
    justify-content: space-between;
  }

  .install-banner-btn {
    flex: 1;
    justify-content: center;
  }
}

/* ===== Tab Bar ===== */
.tab-bar {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #f1f5f9;
  border-radius: 12px;
  margin-bottom: 20px;
}

.tab-bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.tab-bar-btn:hover {
  color: #334155;
  background: rgba(255, 255, 255, 0.5);
}

.tab-bar-btn--active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ===== Gallery Grid ===== */
.gallery-section {
  padding: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  aspect-ratio: 1;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-image:hover {
  transform: scale(1.03);
}

.gallery-item-number {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.gallery-item-headline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: #fff;
  font-size: 11px;
  padding: 16px 8px 8px;
  line-height: 1.3;
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }

  .tab-bar-btn {
    font-size: 13px;
    padding: 8px 12px;
  }
}
