/**
 * Layout Styles
 * Styling for full-width header and horizontal sidebar
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #D4A574;
  --color-primary-dark: #B8860B;
  --color-text-primary: #1f2937;
  --color-text-secondary: #6b7280;
  --color-bg-primary: #ffffff;
  --color-bg-light: #f9fafb;
  --color-bg-dark: #1e293b;
  --color-border: #e5e7eb;
  --color-sidebar-bg: #f9fafb;
  --color-sidebar-hover: #f3f4f6;
  --color-sidebar-active: #fffbeb;
  --color-sidebar-active-border: #D4A574;
  --color-header-bg: #ffffff;
  --color-footer-bg: #1e293b;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-base: 1rem;
  --font-lg: 1.125rem;
  --font-xl: 1.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --sidebar-width: 220px;
  --header-height: 70px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    zoom: 0.7;
    min-height: 100vh;
    height: 100%;
    display: flex;
    flex-direction: column;
}


/* ============================================================================
   HEADER (Full Width)
   ============================================================================ */

.header {
  height: var(--header-height);
  background-color: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding:  var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header-left {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.logo {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo svg {
  width: 100%;
  height: 100%;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-size: 12px;
  color: var(--color-text-secondary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-primary);
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background-color: var(--color-bg-light);
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* ============================================================================
   LAYOUT WRAPPER
   ============================================================================ */


.layout-wrapper {
    display: flex;
    flex: 1 0 auto;
    background-color: var(--color-bg-light);
}
/* ============================================================================
   SIDEBAR
   ============================================================================ */

.sidebar {
  width: var(--sidebar-width);
  background-color: var(--color-sidebar-bg);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ============================================================================
   SIDEBAR NAVIGATION
   ============================================================================ */

.sidebar-nav {
  flex: 1;
  padding: var(--spacing-lg) 0;
  overflow-y: auto;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-item {
  display: flex;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
  font-size: var(--font-sm);
  font-weight: 500;
  border-left: 3px solid transparent;
}

.nav-link:hover {
  background-color: var(--color-sidebar-hover);
  color: var(--color-text-primary);
}

.nav-link.active {
  background-color: var(--color-sidebar-active);
  color: var(--color-primary);
  border-left-color: var(--color-primary);
}

.nav-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.nav-label {
  font-size: var(--font-sm);
}

/* ============================================================================
   MAIN CONTENT
   ============================================================================ */

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.page-content {
    flex: 1 0 auto;
    background-color: var(--color-bg-light);

}


/* ============================================================================
   USER MENU
   ============================================================================ */

.user-menu {
  position: relative;
}

.user-button {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: none;
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--spacing-sm) var(--spacing-md);
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--color-text-primary);
}

.user-button:hover {
  background-color: var(--color-bg-light);
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.user-name {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--color-text-primary);
}

.user-email {
  font-size: var(--font-xs);
  color: var(--color-text-secondary);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.user-avatar svg {
  width: 18px;
  height: 18px;
}

.dropdown-icon {
  width: 16px;
  height: 16px;
  color: var(--color-text-secondary);
  transition: transform 0.2s ease;
}

.user-button.active .dropdown-icon {
  transform: rotate(180deg);
}

/* ============================================================================
   USER DROPDOWN
   ============================================================================ */

.user-dropdown {
  position: absolute;
  top: calc(100% + var(--spacing-sm));
  right: 0;
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-header {
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--color-border);
}

.dropdown-user-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.dropdown-user-name {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

.dropdown-user-email {
  font-size: var(--font-xs);
  color: var(--color-text-secondary);
  margin: 0;
}

.dropdown-divider {
  height: 1px;
  background-color: var(--color-border);
  margin: 0;
  border: none;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  color: var(--color-text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: var(--font-sm);
}

.dropdown-item:hover {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
}

.dropdown-item.logout-item {
  color: #ef4444;
}

.dropdown-item.logout-item:hover {
  background-color: rgba(239, 68, 68, 0.1);
}

.dropdown-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.footer {
    background-color: #121828;
    color: white;
    padding: var(--spacing-2xl) var(--spacing-xl);
    margin-top: auto;
    flex-shrink: 0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-logo {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo svg {
  width: 100%;
  height: 100%;
}

.footer-description {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-title {
  font-size: var(--font-base);
  font-weight: 700;
  color: white;
  margin: 0;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: var(--font-sm);
  transition: all 0.2s ease;
}

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

    .footer-link svg {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
        filter: brightness(0) invert(1);
    }
.footer-logo img {
    filter: brightness(0) invert(1);
    height: 50px;
    width: auto;
}
.social-links {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
}

.footer-copyright {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-credit {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 1024px) {
  :root {
    --sidebar-width: 240px;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
    --sidebar-width: 0;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: var(--header-height);
    width: 280px;
    height: calc(100vh - var(--header-height));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .layout-wrapper {
    position: relative;
  }

  .layout-wrapper.sidebar-open::before {
    content: '';
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header {
    padding: 0 var(--spacing-md);
  }

  .header-brand {
    gap: var(--spacing-sm);
  }

  .brand-text {
    font-size: 10px;
  }

  .user-button {
    padding: var(--spacing-sm);
  }

  .user-info {
    display: none;
  }

  .user-avatar {
    width: 36px;
    height: 36px;
  }

  .user-dropdown {
    min-width: 240px;
    right: -var(--spacing-md);
  }



  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    padding: var(--spacing-lg) var(--spacing-md);
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 56px;
  }

  .header {
    padding: 0 var(--spacing-sm);
  }

  .sidebar {
    width: 100%;
  }

  .brand-text {
    font-size: var(--font-sm);
  }

  .user-avatar {
    width: 32px;
    height: 32px;
  }

  .user-avatar svg {
    width: 16px;
    height: 16px;
  }



  .footer-container {
    gap: var(--spacing-lg);
  }

  .footer-title {
    font-size: var(--font-sm);
  }

  .footer-description {
    font-size: var(--font-xs);
  }

  .footer-link {
    font-size: var(--font-xs);
  }

  .footer-copyright,
  .footer-credit {
    font-size: var(--font-xs);
  }

  .footer {
    padding: var(--spacing-md);
  }
}

/* ============================================================================
   ACCESSIBILITY
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.nav-link:focus-visible,
.user-button:focus-visible,
.dropdown-item:focus-visible,
.footer-link:focus-visible,
.social-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ============================================================================
   SCROLLBAR STYLING
   ============================================================================ */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-secondary);
}


/* ============================================================================
   LOGIN PAGE STYLES
   ============================================================================ */

body.login-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body.login-page .header,
body.login-page .sidebar,
body.login-page .main-content {
  display: none;
}

body.login-page .footer {
  margin-top: auto;
}

body.login-page .layout-wrapper {
  display: none;
}

.login-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23667eea;stop-opacity:1" /><stop offset="100%" style="stop-color:%23764ba2;stop-opacity:1" /></linearGradient></defs><rect width="1200" height="600" fill="url(%23grad)"/></svg>');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 2rem;
}

.login-container {
  width: 100%;
}

.login-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 3rem 2rem;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.login-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  text-align: center;
  margin-bottom: 2rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
}

.form-input {
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: #D4A574;
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-input::placeholder {
  color: #d1d5db;
}

.error-message {
  font-size: 0.85rem;
  color: #dc2626;
  display: none;
}

.error-message.show {
  display: block;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: #4b5563;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #D4A574;
}

.forgot-password {
  color: #D4A574;
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: #B8860B;
  text-decoration: underline;
}

.login-button {
    padding: 0.85rem 1.5rem;
    background-color: #d67200;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.login-button:hover {
  background-color: #B8860B;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 165, 116, 0.3);
}

.login-button:active {
  transform: translateY(0);
}

.demo-credentials {
  padding: 1rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #78350f;
}

.demo-credentials p {
  margin: 0.25rem 0;
}

.demo-credentials strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #92400e;
}

.demo-credentials code {
  background-color: #fef3c7;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-weight: 600;
}

.success-message {
  background-color: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 6px;
  padding: 1rem;
  margin-top: 1rem;
  color: #166534;
  text-align: center;
  font-weight: 600;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .layout-wrapper {
    min-height: calc(100vh - var(--header-height));
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
    .login-card {
        padding: 2rem 1.5rem;
    }

    .login-title {
        font-size: 1.5rem;
    }

    .login-page {
        padding: 1rem;
    }

    .form-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .header {
        padding: 0 var(--spacing-lg);
    }

    .mobile-menu-toggle {
        display: block;
    }
}
/* ============================================================================
   CHANGE PASSWORD MODAL (GLOBAL)
   ============================================================================ */

.cp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 9999;
}

    .cp-modal-overlay.is-open {
        display: flex;
    }

.cp-modal {
    width: 560px;
    max-width: 100%;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
}

/* ===== Header ===== */

.cp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 22px 22px 12px;
}

.cp-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.cp-subtitle {
    margin-top: 6px;
    font-size: 14px;
    color: #6b7280;
}

.cp-close {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #6b7280;
    padding: 8px;
    border-radius: 10px;
}

    .cp-close:hover {
        background: #f3f4f6;
        color: #111827;
    }

/* ===== Body ===== */

.cp-modal-body {
    padding: 10px 22px 18px;
}

.cp-field {
    margin-top: 14px;
}

.cp-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.cp-input {
    width: 100%;
    height: 46px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    padding: 0 14px;
    font-size: 14px;
    background: #ffffff;
    color: #111827;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .cp-input:focus {
        border-color: #d4b56a;
        box-shadow: 0 0 0 4px rgba(212, 181, 106, 0.18);
    }

.cp-input-muted {
    background: #f9fafb;
}

.cp-hints {
    margin-top: 10px;
    padding-left: 18px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

/* ===== Footer ===== */

.cp-modal-footer {
    display: flex;
    justify-content: right;
    gap: 14px;
    padding: 18px 22px 22px;
}

.cp-btn {
    height: 44px;
    min-width: 150px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
}

.cp-btn-ghost {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #111827;
}

    .cp-btn-ghost:hover {
        background: #f9fafb;
    }

.cp-btn-primary {
    background: #d97706;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.25);
}

    .cp-btn-primary:hover {
        filter: brightness(0.97);
    }
.toast-container {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 280px;
    max-width: 360px;
    background: #111827;
    color: #fff;
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    opacity: 0;
    transform: translateY(-8px);
    transition: all .18s ease;
}

    .toast.show {
        opacity: 1;
        transform: translateY(0);
    }

    .toast.success {
        background: #065f46;
    }
    /* green */
    .toast.error {
        background: #991b1b;
    }
    /* red */
    .toast.info {
        background: #1f2937;
    }
    /* dark */

    .toast button {
        border: none;
        background: transparent;
        color: rgba(255,255,255,.85);
        cursor: pointer;
        font-size: 16px;
        line-height: 1;
        padding: 0;
    }

@media screen {
    body {
        min-height: 142.857vh; /* 100vh / 0.7 = 142.857vh */
    }

    .layout-wrapper {
        min-height: calc((100vh - var(--header-height)) / 0.7);
    }
}