/* Layout styles - extracted from resources/views/layouts/app.blade.php.
 * Loaded on every page, after components.css. Edit here, not in the blade. */

    input.form-control.flatpickr-input[readonly] {
      background-color: var(--color-surface) !important;
      color: var(--color-text) !important;
    }

    input.form-input.flatpickr-input[readonly] {
      background-color: var(--color-surface-2) !important;
      color: var(--color-text) !important;
    }

    input.flatpickr-input[readonly]::placeholder {
      color: var(--color-text-muted) !important;
    }

    /* Flatpickr Global Overrides for Primary Color */
    .flatpickr-day.selected,
    .flatpickr-day.startRange,
    .flatpickr-day.endRange,
    .flatpickr-day.selected.inRange,
    .flatpickr-day.startRange.inRange,
    .flatpickr-day.endRange.inRange,
    .flatpickr-day.selected:focus,
    .flatpickr-day.startRange:focus,
    .flatpickr-day.endRange:focus,
    .flatpickr-day.selected:hover,
    .flatpickr-day.startRange:hover,
    .flatpickr-day.endRange:hover,
    .flatpickr-day.selected.prevMonthDay,
    .flatpickr-day.startRange.prevMonthDay,
    .flatpickr-day.endRange.prevMonthDay,
    .flatpickr-day.selected.nextMonthDay,
    .flatpickr-day.startRange.nextMonthDay,
    .flatpickr-day.endRange.nextMonthDay {
      background: var(--color-primary) !important;
      border-color: var(--color-primary) !important;
      color: #fff !important;
    }

    /* Light Theme inRange Background */
    .flatpickr-day.inRange,
    .flatpickr-day.prevMonthDay.inRange,
    .flatpickr-day.nextMonthDay.inRange,
    .flatpickr-day.today.inRange,
    .flatpickr-day.prevMonthDay.today.inRange,
    .flatpickr-day.nextMonthDay.today.inRange {
      background: var(--color-primary-light) !important;
      border-color: var(--color-primary-light) !important;
      box-shadow: -5px 0 0 var(--color-primary-light), 5px 0 0 var(--color-primary-light) !important;
      color: var(--color-text) !important;
    }

    /* Dark Theme Overrides */
    [data-theme="dark"] .flatpickr-calendar {
      background: var(--color-surface) !important;
      border: 1px solid var(--color-border) !important;
      box-shadow: var(--shadow-xl) !important;
    }

    [data-theme="dark"] .flatpickr-calendar.arrowTop:before {
      border-bottom-color: var(--color-border) !important;
    }

    [data-theme="dark"] .flatpickr-calendar.arrowTop:after {
      border-bottom-color: var(--color-surface) !important;
    }

    [data-theme="dark"] .flatpickr-calendar.arrowBottom:before {
      border-top-color: var(--color-border) !important;
    }

    [data-theme="dark"] .flatpickr-calendar.arrowBottom:after {
      border-top-color: var(--color-surface) !important;
    }

    [data-theme="dark"] .flatpickr-months .flatpickr-month,
    [data-theme="dark"] .flatpickr-current-month .flatpickr-monthDropdown-months,
    [data-theme="dark"] .flatpickr-current-month input.cur-year,
    [data-theme="dark"] span.flatpickr-weekday,
    [data-theme="dark"] .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
      color: var(--color-text) !important;
      fill: var(--color-text) !important;
      background: var(--color-surface) !important;
    }

    [data-theme="dark"] .flatpickr-months .flatpickr-prev-month,
    [data-theme="dark"] .flatpickr-months .flatpickr-next-month,
    [data-theme="dark"] .flatpickr-months .flatpickr-prev-month svg,
    [data-theme="dark"] .flatpickr-months .flatpickr-next-month svg {
      color: var(--color-text) !important;
      fill: var(--color-text) !important;
    }

    [data-theme="dark"] .flatpickr-months .flatpickr-prev-month:hover svg,
    [data-theme="dark"] .flatpickr-months .flatpickr-next-month:hover svg {
      fill: var(--color-primary) !important;
    }

    [data-theme="dark"] .flatpickr-day {
      color: var(--color-text) !important;
    }

    [data-theme="dark"] .flatpickr-day:hover {
      background: var(--color-surface-2) !important;
      border-color: var(--color-surface-2) !important;
    }

    [data-theme="dark"] .flatpickr-day.inRange,
    [data-theme="dark"] .flatpickr-day.prevMonthDay.inRange,
    [data-theme="dark"] .flatpickr-day.nextMonthDay.inRange,
    [data-theme="dark"] .flatpickr-day.today.inRange,
    [data-theme="dark"] .flatpickr-day.prevMonthDay.today.inRange,
    [data-theme="dark"] .flatpickr-day.nextMonthDay.today.inRange {
      background: rgba(0, 166, 81, 0.2) !important;
      border-color: transparent !important;
      box-shadow: -5px 0 0 rgba(0, 166, 81, 0.2), 5px 0 0 rgba(0, 166, 81, 0.2) !important;
      color: var(--color-text) !important;
    }

    [data-theme="dark"] .flatpickr-day.flatpickr-disabled,
    [data-theme="dark"] .flatpickr-day.flatpickr-disabled:hover {
      color: var(--color-text-muted) !important;
    }

    #nprogress-bar {
      position: fixed;
      top: 0;
      left: 0;
      width: 0%;
      height: 3px;
      background: var(--color-primary, #00A651);
      box-shadow: 0 0 10px var(--color-primary, #00A651);
      z-index: 999999;
      transition: width 0.3s ease, opacity 0.4s ease;
      pointer-events: none;
    }

    #nprogress-bar.done {
      opacity: 0;
    }

        .nav-dropdown:hover .nav-dropdown__menu {
          opacity: 1 !important;
          visibility: visible !important;
          transform: translateY(0) !important;
        }

        .nav-dropdown__item:hover,
        .nav-dropdown__item--active {
          background: var(--color-primary-light);
          color: var(--color-primary) !important;
        }

        [data-theme="dark"] .nav-dropdown__menu {
          background: #1f2937;
          border-color: #374151;
        }

        [data-theme="dark"] .nav-dropdown__item {
          color: #e5e7eb !important;
        }

        [data-theme="dark"] .nav-dropdown__item:hover,
        [data-theme="dark"] .nav-dropdown__item--active {
          background: rgba(0, 166, 81, 0.15);
          color: #00D97A !important;
        }

          .dm-icon { display: none; line-height: 0; }
          html:not([data-theme="dark"]) .dm-icon--moon { display: inline-flex; }
          [data-theme="dark"] .dm-icon--sun { display: inline-flex; }

    /* PK BUSES — Custom Modal Styles */
    .pk-modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.55);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 99999;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .pk-modal-overlay.pk-modal--open {
      opacity: 1;
      visibility: visible;
    }

    .pk-modal-box {
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-lg);
      width: 92%;
      max-width: 420px;
      padding: 1.75rem;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      transform: scale(0.94) translateY(16px);
      transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .pk-modal-overlay.pk-modal--open .pk-modal-box {
      transform: scale(1) translateY(0);
    }

    .pk-modal-header {
      display: flex;
      align-items: center;
      gap: 0.875rem;
      margin-bottom: 0.875rem;
    }

    .pk-modal-icon {
      width: 46px;
      height: 46px;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      flex-shrink: 0;
    }

    .pk-modal-icon.danger {
      background: rgba(239, 68, 68, 0.12);
    }

    .pk-modal-icon.warning {
      background: rgba(245, 158, 11, 0.12);
    }

    .pk-modal-icon.info {
      background: rgba(59, 130, 246, 0.12);
    }

    .pk-modal-title {
      font-size: 1rem;
      font-weight: 800;
      color: var(--color-text);
      line-height: 1.3;
    }

    .pk-modal-body {
      color: var(--color-text-secondary);
      font-size: 0.9rem;
      line-height: 1.65;
      margin-bottom: 1.5rem;
    }

    .pk-modal-footer {
      display: flex;
      justify-content: flex-end;
      gap: 0.625rem;
    }

    .pk-modal-btn {
      padding: 0.6rem 1.25rem;
      border-radius: var(--radius-sm);
      font-weight: 700;
      font-size: 0.875rem;
      cursor: pointer;
      border: none;
      font-family: inherit;
      transition: all 0.2s ease;
      outline: none;
      letter-spacing: 0.2px;
    }

    .pk-modal-btn-cancel {
      background: var(--color-surface-2);
      color: var(--color-text-secondary);
      border: 1px solid var(--color-border);
    }

    .pk-modal-btn-cancel:hover {
      background: var(--color-border);
      color: var(--color-text);
    }

    .pk-modal-btn-confirm {
      background: var(--color-primary);
      color: #fff;
    }

    .pk-modal-btn-confirm:hover {
      background: var(--color-primary-dark);
      box-shadow: 0 4px 12px rgba(0, 166, 81, 0.35);
      transform: translateY(-1px);
    }

    .pk-modal-btn-danger {
      background: #EF4444;
      color: #fff;
    }

    .pk-modal-btn-danger:hover {
      background: #DC2626;
      box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
      transform: translateY(-1px);
    }

    /* Modern Footer Styles */
    .footer-modern {
      position: relative;
      background: var(--color-surface);
      color: var(--color-text-secondary);
      padding: 5rem 0 2rem;
      margin-top: auto;
      border-top: 1px solid var(--color-border);
      overflow: hidden;
      clear: both;
      width: 100%;
      z-index: 10;
    }

    .footer-modern::before {
      content: '';
      position: absolute;
      top: 0;
      left: 10%;
      right: 10%;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(0, 166, 81, 0.3), transparent);
    }

    .footer-modern::after {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 600px;
      height: 150px;
      background: radial-gradient(ellipse at top, rgba(0, 166, 81, 0.08), transparent 70%);
      pointer-events: none;
    }

    .footer-modern__grid {
      display: grid;
      grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
      gap: 3rem;
      margin-bottom: 4rem;
      position: relative;
      z-index: 1;
    }

    .footer-modern__brand p {
      font-size: 0.95rem;
      line-height: 1.8;
      color: var(--color-text-secondary);
      margin-bottom: 2rem;
      max-width: 320px;
    }

    .footer-modern__social {
      display: flex;
      gap: 0.75rem;
      margin-bottom: 2.5rem;
    }

    .footer-modern__social a {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      background: var(--color-surface-2);
      border: 1px solid var(--color-border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--color-text-secondary);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .footer-modern__social a:hover {
      background: var(--color-primary);
      border-color: var(--color-primary);
      color: #fff;
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(0, 166, 81, 0.3);
    }

    .footer-modern__heading {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 0.95rem;
      color: var(--color-text);
      letter-spacing: 0.5px;
      margin-bottom: 1.75rem;
      position: relative;
    }

    .footer-modern__links {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .footer-modern__links li a {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--color-text-secondary);
      text-decoration: none;
      font-size: 0.95rem;
      transition: all 0.2s ease;
    }

    .footer-modern__links li a::before {
      content: '';
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--color-text-muted);
      transition: all 0.2s ease;
    }

    .footer-modern__links li a:hover {
      color: var(--color-primary);
      transform: translateX(4px);
    }

    .footer-modern__links li a:hover::before {
      background: var(--color-primary);
      box-shadow: 0 0 8px var(--color-primary);
    }

    .footer-modern__bottom {
      padding-top: 2rem;
      border-top: 1px solid var(--color-border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.85rem;
      color: var(--color-text-muted);
      flex-wrap: wrap;
      gap: 1rem;
      position: relative;
      z-index: 1;
    }

    .footer-modern__bottom-links {
      display: flex;
      gap: 2rem;
    }

    .footer-modern__bottom-links a {
      color: var(--color-text-secondary);
      text-decoration: none;
      transition: color 0.2s;
    }

    .footer-modern__bottom-links a:hover {
      color: var(--color-primary);
    }

    .app-download-btn {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      background: var(--color-surface-2);
      border: 1px solid var(--color-border);
      padding: 12px 24px;
      border-radius: 14px;
      color: var(--color-text);
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: var(--shadow-sm);
    }

    .app-download-btn:hover {
      background: var(--color-surface);
      border-color: var(--color-primary);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 166, 81, 0.15);
    }

    @media (max-width: 768px) {
      .footer-modern {
        padding: 3rem 0 1.5rem;
      }

      .footer-modern__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }

      .footer-modern__bottom {
        flex-direction: column;
        text-align: center;
      }

      .footer-modern__brand p {
        max-width: 100%;
      }

      .footer-modern__col.accordion {
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 1rem;
      }

      .footer-modern__col.accordion .footer-modern__heading {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0;
        cursor: pointer;
        padding: 0.5rem 0;
      }

      .footer-modern__col.accordion .footer-modern__heading::after {
        content: '+';
        font-size: 1.5rem;
        font-weight: 300;
        transition: transform 0.3s ease;
      }

      .footer-modern__col.accordion.open .footer-modern__heading::after {
        transform: rotate(45deg);
        color: var(--color-primary);
      }

      .footer-modern__col.accordion .footer-modern__links {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
      }

      .footer-modern__col.accordion.open .footer-modern__links {
        max-height: 400px;
        opacity: 1;
        margin-top: 1rem;
        padding-bottom: 0.5rem;
      }
    }

    .global-search-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.6);
      backdrop-filter: blur(8px);
      z-index: calc(var(--z-modal) + 10);
      opacity: 0;
      visibility: hidden;
      transition: all 0.2s ease;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 10vh 1rem 1rem;
    }

    .global-search-overlay.open {
      opacity: 1 !important;
      visibility: visible !important;
      pointer-events: auto !important;
    }

    .global-search-container {
      background: var(--color-surface);
      width: 100%;
      max-width: 600px;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-xl);
      overflow: hidden;
      transform: scale(0.95) translateY(-10px);
      transition: all 0.2s ease;
      border: 1px solid var(--color-border);
    }

    .global-search-overlay.open .global-search-container {
      transform: scale(1) translateY(0);
    }

    .global-search-header {
      display: flex;
      align-items: center;
      padding: 1rem 1.25rem;
      border-bottom: 1px solid var(--color-border-light);
      gap: 0.75rem;
    }

    .global-search-icon {
      font-size: 1.25rem;
      color: var(--color-text-muted);
    }

    .global-search-input {
      flex: 1;
      background: transparent;
      border: none;
      font-size: 1.1rem;
      color: var(--color-text);
      outline: none;
      font-family: var(--font-body);
    }

    .global-search-shortcut {
      font-size: 0.7rem;
      font-weight: 700;
      background: var(--color-surface-2);
      color: var(--color-text-muted);
      padding: 0.2rem 0.5rem;
      border-radius: var(--radius-sm);
      border: 1px solid var(--color-border);
    }

    .global-search-body {
      max-height: 60vh;
      overflow-y: auto;
      padding: 0.5rem;
      scrollbar-width: thin;
      scrollbar-color: var(--color-border) transparent;
    }

    .global-search-body::-webkit-scrollbar {
      width: 6px;
    }

    .global-search-body::-webkit-scrollbar-track {
      background: transparent;
    }

    .global-search-body::-webkit-scrollbar-thumb {
      background: var(--color-border);
      border-radius:var(--radius-md);
    }

    .global-search-body::-webkit-scrollbar-thumb:hover {
      background: var(--color-text-muted);
    }

    .global-search-empty,
    .global-search-loader {
      padding: 2rem;
      text-align: center;
      color: var(--color-text-muted);
      font-size: 0.95rem;
    }

    .global-search-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 0.75rem 1rem;
      color: var(--color-text);
      text-decoration: none;
      border-radius: var(--radius-md);
      transition: background 0.2s;
    }

    .global-search-item:hover {
      background: var(--color-primary-light);
      color: var(--color-primary);
    }

    [data-theme="dark"] .global-search-item:hover {
      background: rgba(0, 166, 81, 0.15);
      color: #00D97A;
    }

    .global-search-item-icon {
      font-size: 1.25rem;
    }

    .global-search-item-content {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .global-search-item-title {
      font-weight: 600;
      font-size: 0.95rem;
    }

    .global-search-item-type {
      font-size: 0.75rem;
      color: var(--color-text-muted);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .progress-wrap {
      position: fixed;
      right: 1.25rem;
      bottom: 1.25rem;
      height: 46px;
      width: 46px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50px;
      box-shadow: inset 0 0 0 2px var(--color-border-light, #e2e8f0);
      z-index: 10000;
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px);
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
      background: var(--color-surface, #ffffff)
    }

    .progress-wrap.active-progress {
      opacity: 1;
      visibility: visible;
      transform: translateY(0)
    }

    .progress-wrap:hover {
      box-shadow: inset 0 0 0 2px var(--color-primary-light, #10b981), 0 8px 20px -6px rgba(16, 185, 129, 0.3);
      transform: translateY(-4px)
    }

    .progress-wrap::before {
      position: absolute;
      content: '↑';
      font-family: system-ui, -apple-system, sans-serif;
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--color-primary, #059669);
      transition: transform 0.3s ease;
      z-index: 2;
      margin-top: -2px
    }

    .progress-wrap:hover::before {
      transform: translateY(-2px)
    }

    .progress-wrap svg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      transform: rotate(-90deg);
      z-index: 1;
      pointer-events: none
    }

    .progress-wrap svg.progress-circle path {
      stroke: var(--color-primary, #059669);
      stroke-width: 4;
      fill: none;
      stroke-linecap: round;
      transition: stroke-dashoffset 10ms linear
    }

    .modal-icon--danger {
      background: rgba(239, 68, 68, 0.1);
      color: #EF4444
    }

    .modal-icon--warning {
      background: rgba(245, 158, 11, 0.1);
      color: #F59E0B
    }

    .modal-icon--success {
      background: rgba(16, 185, 129, 0.1);
      color: #10B981
    }

    /* ── Promo Popup ── */
    .promo-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.65);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      z-index: 999990;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .promo-overlay.promo--visible {
      opacity: 1;
      visibility: visible;
    }

    .popup-promo {
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: 20px;
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
      max-width: 800px;
      width: 100%;
      position: relative;
      overflow: hidden;
      transform: scale(0.9) translateY(20px);
      transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .promo-overlay.promo--visible .popup-promo {
      transform: scale(1) translateY(0);
    }

    .popup-promo__close {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.35);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 1.1rem;
      line-height: 1;
      transition: all 0.2s ease;
      z-index: 10;
      backdrop-filter: blur(4px);
    }

    .popup-promo__close:hover {
      background: rgba(239, 68, 68, 0.8);
      border-color: rgba(239, 68, 68, 0.5);
      transform: scale(1.1) rotate(90deg);
    }

    .popup-promo__image {
      width: 100%;
      height: auto;
      max-height: 65vh;
      object-fit: contain;
      display: block;
      background: var(--color-surface-2);
      /* Slight background in case of aspect ratio gaps */
    }

    .popup-promo__body {
      padding: 1.5rem;
      text-align: center;
    }

    .popup-promo__body h2,
    .popup-promo__body h3 {
      color: var(--color-text);
      margin-bottom: 0.75rem;
      font-size: 1.4rem;
      font-weight: 800;
    }

    .popup-promo__body p {
      color: var(--color-text-secondary);
      line-height: 1.6;
      font-size: 0.95rem;
      margin-bottom: 1rem;
    }

    .popup-promo__body a:not(.popup-promo-cta) {
      color: var(--color-primary);
      font-weight: 600;
    }

    .popup-promo-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      background: var(--color-primary);
      color: #fff !important;
      text-decoration: none;
      padding: 0.85rem 2.5rem;
      font-size: 1.05rem;
      font-weight: 700;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 166, 81, 0.25);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      border: none;
      cursor: pointer;
      width: 100%;
      max-width: 300px;
      margin: 0 auto;
    }

    .popup-promo-cta:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(0, 166, 81, 0.4);
      background: #00B259;
    }

    .popup-promo__accent {
      position: absolute;
      top: -60px;
      right: -60px;
      width: 200px;
      height: 200px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(0, 166, 81, 0.15) 0%, transparent 70%);
      pointer-events: none;
    }

    [data-theme="light"] .popup-promo {
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05);
    }

    [data-theme="light"] .popup-promo__close {
      background: rgba(255, 255, 255, 0.92);
      border-color: rgba(0, 0, 0, 0.15);
      color: #1e293b;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    [data-theme="light"] .popup-promo__close:hover {
      background: rgba(239, 68, 68, 0.9);
      border-color: rgba(239, 68, 68, 0.6);
      color: #fff;
      box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
    }

    @media (max-width: 540px) {
      .popup-promo {
        border-radius:var(--radius-lg);
      }

      .popup-promo__body {
        padding: 1.25rem 1.25rem 1rem;
      }

      .popup-promo__image {
        max-height: 350px;
      }
    }
