        #quote-modal {
          transition: opacity 0.35s linear;
        }
        #quote-modal.show {
          opacity: 1 !important;
        }
        /* Always-mounted backdrop layer outside the modal — pre-blurred,
           toggled purely via opacity so the GPU compositor handles it. */
        #quote-backdrop-fixed {
          position: fixed;
          inset: 0;
          z-index: 99;
          pointer-events: none;
          background-color: rgba(15, 15, 17, 0.5);
          backdrop-filter: blur(12px);
          -webkit-backdrop-filter: blur(12px);
          opacity: 0;
          transition: opacity 0.45s linear;
          will-change: opacity;
          transform: translate3d(0, 0, 0);
          backface-visibility: hidden;
          contain: strict;
        }
        #quote-backdrop-fixed.is-open {
          opacity: 1;
          pointer-events: auto;
        }
        #quote-backdrop {
          display: none;
        }
        #quote-modal .modal-card {
          transform: translateY(16px) scale(0.98);
          opacity: 0;
          transition:
            transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) 0.08s,
            opacity 0.3s linear 0.1s;
          will-change: transform, opacity;
        }
        #quote-modal.show .modal-card {
          transform: translateY(0) scale(1);
          opacity: 1;
        }
        #quote-modal.show .modal-card {
          transform: translateY(0) scale(1);
        }
        body.modal-open {
          overflow: hidden;
        }

        /* Custom Scrollbar for Modal to match rounded corners */
        #quote-modal .modal-card::-webkit-scrollbar {
          width: 8px;
        }
        #quote-modal .modal-card::-webkit-scrollbar-track {
          background: transparent;
          margin-top: 24px;
          margin-bottom: 24px;
        }
        #quote-modal .modal-card::-webkit-scrollbar-thumb {
          background: rgba(0, 0, 0, 0.1);
          border-radius: 99px;
        }
        #quote-modal .modal-card::-webkit-scrollbar-thumb:hover {
          background: rgba(0, 0, 0, 0.2);
        }
