/* Google Fonts Loading */
        @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&family=Cinzel:wght@500;700;900&display=swap');

        /* Scoped container styling targeting only this widget wrapper */
        #bps-service-widget-wrapper {
            font-family: 'Tajawal', 'Inter', sans-serif;
            background-color: #0d0d0f;
            color: #f3f4f6;
            border-radius: 20px;
            border: 1px solid rgba(199, 166, 104, 0.15);
            position: relative;
            overflow: hidden;
            direction: rtl;
            text-align: right;
            width: 100%;
            max-width: 1200px;
            margin: 20px auto;
            box-sizing: border-box;
        }

        #bps-service-widget-wrapper * {
            box-sizing: border-box;
        }

        /* Font configurations */
        #bps-service-widget-wrapper h1,
        #bps-service-widget-wrapper h2,
        #bps-service-widget-wrapper .bps-serif {
            font-family: 'Cinzel', 'Tajawal', serif;
        }

        /* Outer layout */
        .bps-container {
            display: flex;
            flex-direction: column;
        }

        @media (min-width: 992px) {
            .bps-container {
                flex-direction: row-reverse;
            }
        }

        /* SIDEBAR (Right aspect in RTL) */
        .bps-sidebar {
            width: 100%;
            background: #111114;
            padding: 30px 25px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            position: relative;
            flex-shrink: 0;
        }

        @media (min-width: 992px) {
            .bps-sidebar {
                width: 350px;
                border-bottom: none;
                border-right: 1px solid rgba(255, 255, 255, 0.08);
            }
        }

        /* Subtle Gold Diagonal Design corners */
        .bps-sidebar::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 80px;
            height: 80px;
            border-top: 1px solid rgba(199, 166, 104, 0.25);
            border-right: 1px solid rgba(199, 166, 104, 0.25);
            pointer-events: none;
        }

        /* Brandy logo block */
        .bps-brand-logo {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding-bottom: 25px;
            border-b: 1px solid rgba(255, 255, 255, 0.08);
            margin-bottom: 25px;
        }

        .bps-logo-circle {
            width: 65px;
            height: 65px;
            border-radius: 50%;
            border: 2px solid #c7a668;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            background: linear-gradient(180deg, #181613 0%, #0f0e0c 100%);
            box-shadow: 0 0 15px rgba(199, 166, 104, 0.2);
            position: relative;
        }

        .bps-logo-circle::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            right: 2px;
            bottom: 2px;
            border-radius: 50%;
            border: 1px solid rgba(199, 166, 104, 0.4);
        }

        .bps-logo-text {
            font-size: 24px;
            font-weight: 700;
            letter-spacing: 2px;
            color: #c7a668;
        }

        .bps-brand-name {
            font-size: 19px;
            font-weight: 700;
            letter-spacing: 1.5px;
            color: #f0ebe1;
            margin: 5px 0 2px 0;
        }

        .bps-brand-sub {
            font-size: 10px;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: #c7a668;
            opacity: 0.9;
        }

        /* Sidebar Content Sections */
        .bps-side-section-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            font-weight: bold;
            color: #c7a668;
            margin-bottom: 20px;
        }

        .bps-gold-dot {
            width: 6px;
            height: 6px;
            background-color: #c7a668;
            transform: rotate(45deg);
        }

        .bps-side-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-bottom: 30px;
        }

        .bps-side-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .bps-side-icon-box {
            width: 32px;
            height: 32px;
            border-radius: 4px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background-color: #16161a;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #c7a668;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .bps-side-item:hover .bps-side-icon-box {
            border-color: rgba(199, 166, 104, 0.35);
            background-color: #1a1815;
        }

        .bps-side-item-text {
            display: flex;
            flex-direction: column;
        }

        .bps-side-item-main {
            font-size: 13.5px;
            font-weight: 500;
            color: #e5e7eb;
        }

        .bps-side-item-sub {
            font-size: 11px;
            color: #71717a;
            margin-top: 2px;
            line-height: 1.4;
        }

        /* Contacts Block */
        .bps-side-contacts {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 20px;
            margin-bottom: 25px;
        }

        .bps-contact-link {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #a1a1aa;
            text-decoration: none;
            font-size: 12px;
            margin-bottom: 12px;
            transition: color 0.3s ease;
        }

        .bps-contact-link:hover {
            color: #c7a668;
        }

        .bps-contact-link svg {
            color: rgba(199, 166, 104, 0.7);
        }

        /* Sidebar Car Box */
        .bps-car-box {
            background: #151518;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            overflow: hidden;
            position: relative;
        }

        .bps-car-img {
            width: 100%;
            height: 120px;
            object-fit: cover;
            opacity: 0.55;
            display: block;
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .bps-car-box:hover .bps-car-img {
            transform: scale(1.08);
        }

        .bps-car-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.85) 50%, transparent 100%);
            padding: 10px;
            text-align: center;
        }

        .bps-car-title {
            font-family: 'Cinzel', serif;
            font-size: 10px;
            letter-spacing: 2px;
            color: #c7a668;
            font-weight: bold;
            display: block;
        }

        .bps-car-subtitle {
            font-size: 9px;
            color: #71717a;
            display: block;
            margin-top: 1px;
        }


        /* =========================================
       MAIN CONTENT PANEL
       ========================================= */
        .bps-main-content {
            flex: 1;
            padding: 30px 25px;
        }

        @media (min-width: 768px) {
            .bps-main-content {
                padding: 40px;
            }
        }

        /* Header block */
        .bps-header {
            margin-bottom: 35px;
            border-right: 3px solid #c7a668;
            padding-right: 15px;
        }

        .bps-eyebrow {
            font-size: 12px;
            font-weight: 700;
            color: #8e8e93;
            letter-spacing: 1px;
            display: block;
            text-transform: uppercase;
            margin-bottom: 5px;
        }

        .bps-title-row {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .bps-h1 {
            font-size: 26px;
            font-weight: 900;
            color: #f3f4f6;
            margin: 0;
            line-height: 1.2;
        }

        .bps-spark-icon {
            color: #c7a668;
            animation: bps-pulse 2s infinite ease-in-out;
        }

        .bps-desc {
            font-size: 13.5px;
            color: #a1a1aa;
            line-height: 1.6;
            margin-top: 10px;
            max-width: 650px;
        }

        /* Form Design Cards */
        .bps-card {
            background: #101012;
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 25px;
            box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.02);
            transition: border-color 0.3s ease;
        }

        .bps-card:hover {
            border-color: rgba(199, 166, 104, 0.15);
        }

        .bps-card-title-row {
            display: flex;
            align-items: center;
            gap: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            padding-bottom: 12px;
            margin-bottom: 20px;
        }

        .bps-card-title-row svg {
            color: #c7a668;
        }

        .bps-card-heading {
            font-size: 14px;
            font-weight: bold;
            color: #e5e7eb;
            letter-spacing: 0.5px;
        }

        /* Form Fields Grid */
        .bps-grid-2 {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
        }

        @media (min-width: 768px) {
            .bps-grid-2 {
                grid-template-columns: 1fr 1fr;
            }
        }

        .bps-grid-3 {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
            margin-top: 16px;
        }

        @media (min-width: 768px) {
            .bps-grid-3 {
                grid-template-columns: 1fr 1fr 1fr;
            }
        }

        .bps-col-full {
            grid-column: 1 / -1;
        }

        /* Field Styles */
        .bps-field-group {
            display: flex;
            flex-direction: column;
        }

        .bps-label {
            font-size: 12px;
            font-weight: 600;
            color: #a1a1aa;
            margin-bottom: 8px;
        }

        .bps-label-flex {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .bps-error-span {
            font-size: 10px;
            color: #f87171;
            font-weight: normal;
        }

        .bps-required-mark {
            color: #c7a668;
            font-weight: bold;
        }

        .bps-input-wrap {
            position: relative;
            display: flex;
            align-items: center;
        }

        .bps-input-wrap svg.bps-input-icon {
            position: absolute;
            right: 12px;
            color: #52525b;
            pointer-events: none;
            width: 16px;
            height: 16px;
        }

        /* Select specific arrow custom styling */
        .bps-select-wrap svg.bps-arrow-icon {
            position: absolute;
            left: 12px;
            color: #52525b;
            pointer-events: none;
            width: 14px;
            height: 14px;
        }

        .bps-input {
            width: 100% !important;
            background: #18181b !important;
            border: 1px solid #3f3f46 !important;
            border-radius: 8px !important;
            padding: 11px 36px 11px 12px !important;
            color: #f3f4f6 !important;
            font-size: 13.5px !important;
            outline: none !important;
            transition: all 0.3s ease !important;
        }

        .bps-input::placeholder {
            color: #a1a1aa !important;
            opacity: 0.5 !important;
            font-weight: 300 !important;
        }

        /* Adjust inputs that don't have right icons */
        .bps-input-wrap-no-icon .bps-input {
            padding-right: 12px !important;
        }

        .bps-input:focus {
            border-color: #c7a668 !important;
            box-shadow: 0 0 10px rgba(199, 166, 104, 0.12) !important;
        }

        .bps-eyebrow {
            color: #c7a668 !important;
        }

        /* Red outline for invalid inputs */
        .bps-input-error {
            border-color: rgba(239, 68, 68, 0.5) !important;
        }

        select.bps-input {
            appearance: none !important;
            -webkit-appearance: none !important;
            cursor: pointer !important;
        }

        textarea.bps-input {
            resize: none !important;
            height: 75px !important;
            padding-right: 12px !important;
        }

        /* Guest Counter Custom */
        .bps-counter-input-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border: 1px solid #3f3f46;
            border-radius: 8px;
            background: #18181b;
            padding: 4px;
            height: 42px;
        }

        .bps-counter-btn {
            width: 32px;
            height: 32px;
            border-radius: 6px;
            border: 1px solid #3f3f46;
            background-color: #27272a;
            color: #e5e7eb;
            font-size: 16px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            user-select: none;
            transition: all 0.3s ease;
        }

        .bps-counter-btn:hover {
            border-color: #c7a668;
            color: #c7a668;
        }

        .bps-counter-value {
            font-size: 13.5px;
            font-weight: bold;
            font-family: monospace;
            color: #f0ebe1;
        }


        /* Middle Quality Badges Row */
        .bps-badges-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 25px;
        }

        @media (min-width: 768px) {
            .bps-badges-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .bps-badge-mini {
            background: #0f0f11;
            border: 1px solid rgba(255, 255, 255, 0.04);
            border-radius: 10px;
            padding: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: background 0.3s;
        }

        .bps-badge-mini:hover {
            background: #131316;
        }

        .bps-badge-mini-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background-color: #0c0c0e;
            border: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(199, 166, 104, 0.85);
            flex-shrink: 0;
        }

        .bps-badge-mini-text {
            display: flex;
            flex-direction: column;
        }

        .bps-b-title {
            font-size: 11.5px;
            font-weight: 700;
            color: #e5e7eb;
        }

        .bps-b-desc {
            font-size: 9.5px;
            color: #52525b;
            margin-top: 1px;
        }


        /* Submit Actions Container */
        .bps-actions-row {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 15px;
        }

        @media (min-width: 768px) {
            .bps-actions-row {
                flex-direction: row;
                align-items: center;
            }
        }

        .bps-btn-primary {
            flex: 1;
            height: 48px;
            border-radius: 8px;
            background-color: #c7a668;
            color: #08080a;
            border: none;
            font-size: 13.5px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(199, 166, 104, 0.2);
            transition: all 0.3s ease;
        }

        .bps-btn-primary:hover {
            background-color: #b08f53;
            box-shadow: 0 4px 20px rgba(199, 166, 104, 0.35);
        }

        .bps-btn-primary:active {
            transform: scale(0.99);
        }

        .bps-btn-secondary {
            height: 48px;
            padding: 0 20px;
            border-radius: 8px;
            background-color: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.06);
            color: #d1d5db;
            font-size: 13px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .bps-btn-secondary:hover {
            background-color: rgba(255, 255, 255, 0.06);
            border-color: rgba(199, 166, 104, 0.3);
            color: #f3f4f6;
        }

        .bps-privacy-notice {
            text-align: center;
            font-size: 11px;
            color: #52525b;
            margin-top: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .bps-privacy-notice svg {
            color: #c7a668;
        }


        /* =========================================
       SUCCESS TICKET VIEW (DIGITAL VOUCHER)
       ========================================= */
        .bps-success-panel {
            display: none;
            /* Triggered via JS */
            text-align: center;
            padding: 30px 10px;
        }

        .bps-success-orb {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: rgba(199, 166, 104, 0.08);
            border: 2px solid #c7a668;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #c7a668;
            margin: 0 auto 20px auto;
            animation: bps-bounce 1s infinite alternate;
        }

        .bps-success-heading {
            font-size: 22px;
            font-weight: bold;
            color: #f3f4f6;
            margin: 0 0 10px 0;
        }

        .bps-success-subtext {
            font-size: 12.5px;
            color: #a1a1aa;
            max-w: 500px;
            margin: 0 auto 25px auto;
            line-height: 1.6;
        }

        /* Prestigious Boarding Pass Receipt design */
        .bps-voucher-card {
            max-width: 550px;
            margin: 0 auto 30px auto;
            background-color: #101013;
            border: 2px dashed rgba(199, 166, 104, 0.35);
            border-radius: 16px;
            padding: 25px;
            text-align: right;
            position: relative;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        }

        .bps-voucher-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            padding-bottom: 15px;
            margin-bottom: 20px;
        }

        .bps-voucher-logo-area {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .bps-voucher-logo-badge {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid #c7a668;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #0c0b09;
        }

        .bps-v-brand {
            font-family: 'Cinzel', serif;
            font-size: 13px;
            font-weight: bold;
            color: #e5e7eb;
        }

        .bps-v-desc {
            font-family: 'Cinzel', serif;
            font-size: 8.5px;
            letter-spacing: 2.2px;
            color: #c7a668;
            text-transform: uppercase;
            display: block;
            margin-top: 1px;
        }

        .bps-voucher-id-area {
            text-align: left;
        }

        .bps-id-title {
            font-size: 9px;
            color: #52525b;
            display: block;
        }

        .bps-id-code {
            font-size: 13px;
            font-weight: bold;
            font-family: monospace;
            color: #c7a668;
            background-color: #1a1815;
            border: 1px solid rgba(199, 166, 104, 0.15);
            padding: 3px 10px;
            border-radius: 4px;
            display: inline-block;
            margin-top: 3px;
            direction: ltr;
        }

        /* Voucher Table Data */
        .bps-voucher-specs {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .bps-spec-row {
            display: grid;
            grid-template-columns: 140px 1fr;
            border-bottom: 1px dashed rgba(255, 255, 255, 0.03);
            padding-bottom: 10px;
        }

        .bps-spec-name {
            font-size: 11.5px;
            color: #71717a;
        }

        .bps-spec-val {
            font-size: 12px;
            font-weight: bold;
            color: #e5e7eb;
            text-align: left;
        }

        .bps-spec-val-ltr {
            direction: ltr;
        }

        .bps-voucher-notes-block {
            background-color: #141418;
            border: 1px solid #1e1e24;
            border-radius: 8px;
            padding: 10px 15px;
            margin-top: 12px;
        }

        .bps-notes-title-inner {
            font-size: 11px;
            color: #52525b;
            display: block;
            margin-bottom: 4px;
        }

        .bps-notes-content-inner {
            font-size: 11.5px;
            color: #d1d5db;
            line-height: 1.5;
            margin: 0;
        }

        .bps-voucher-footer {
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            margin-top: 20px;
            padding-top: 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 9px;
            color: #52525b;
        }

        .bps-voucher-footer span {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .bps-success-actions-row {
            display: flex;
            flex-direction: column;
            gap: 12px;
            max-w: 550px;
            margin: 0 auto;
        }

        @media (min-width: 576px) {
            .bps-success-actions-row {
                flex-direction: row;
            }
        }

        .bps-btn-whatsapp {
            flex: 1.3;
            height: 44px;
            background-color: #059669;
            color: #ffffff;
            border: none;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            text-decoration: none;
            transition: background 0.3s;
        }

        .bps-btn-whatsapp:hover {
            background-color: #047857;
        }

        .bps-btn-new-calc {
            flex: 1;
            height: 44px;
            background-color: #16161a;
            border: 1px solid #c7a668;
            color: #c7a668;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .bps-btn-new-calc:hover {
            background-color: rgba(199, 166, 104, 0.08);
            color: #e6cb9a;
        }

        .bps-btn-print {
            height: 44px;
            padding: 0 15px;
            background-color: #0c0b09;
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #a1a1aa;
            border-radius: 8px;
            font-size: 12px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .bps-btn-print:hover {
            background-color: #141417;
            color: #f3f4f6;
        }


        /* =========================================
       SUBMIT LOADER SIMULATOR
       ========================================= */
        .bps-loader-overlay {
            display: none;
            /* Triggered via JS */
            position: absolute;
            inset: 0;
            background-color: rgba(7, 7, 8, 0.96);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 100;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 20px;
            text-align: center;
            user-select: none;
        }

        /* concentric luxury loaders */
        .bps-spinner-grid {
            position: relative;
            width: 90px;
            height: 90px;
            margin-bottom: 25px;
        }

        .bps-ring-1 {
            position: absolute;
            inset: 0;
            border-radius: 50%;
            border: 3px solid transparent;
            border-top-color: #c7a668;
            animation: bps-spin 1.2s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
        }

        .bps-ring-2 {
            position: absolute;
            inset: 8px;
            border-radius: 50%;
            border: 2px solid transparent;
            border-bottom-color: #e6cb9a;
            animation: bps-spin 1.8s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite reverse;
        }

        .bps-ring-3 {
            position: absolute;
            inset: 16px;
            border-radius: 50%;
            border: 1px solid transparent;
            border-top-color: #c7a668;
            animation: bps-spin 0.9s linear infinite;
        }

        .bps-ring-brand {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Cinzel', serif;
            font-size: 16px;
            font-weight: 900;
            color: #c7a668;
        }

        .bps-loader-status-container {
            height: 60px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .bps-loader-heading {
            font-size: 15px;
            font-weight: bold;
            color: #f3f4f6;
            margin: 0;
            transition: opacity 0.3s;
        }

        .bps-loader-sub {
            font-size: 12px;
            color: rgba(199, 166, 104, 0.8);
            margin-top: 6px;
            transition: opacity 0.3s;
        }

        .bps-loader-firm {
            font-family: 'Cinzel', serif;
            font-size: 9px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: rgba(199, 166, 104, 0.3);
            margin-top: 35px;
        }


        /* HISTORIC SUBMISSIONS DRAWER */
        .bps-history-drawer {
            display: none;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            margin-top: 30px;
            padding-top: 25px;
        }

        .bps-history-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
        }

        .bps-history-title-comb {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .bps-history-title-comb svg {
            color: #c7a668;
        }

        .bps-history-title-inner {
            font-size: 13.5px;
            font-weight: bold;
            color: #f3f4f6;
        }

        .bps-clear-history-btn {
            background: none;
            border: none;
            color: #f87171;
            font-size: 10px;
            cursor: pointer;
            padding: 0;
        }

        .bps-clear-history-btn:hover {
            text-decoration: underline;
        }

        .bps-history-container {
            max-height: 240px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 12.5px;
            padding-left: 5px;
        }

        /* Custom scrollbar solely inside this widget history box */
        .bps-history-container::-webkit-scrollbar {
            width: 4px;
        }

        .bps-history-container::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.01);
        }

        .bps-history-container::-webkit-scrollbar-thumb {
            background: #242427;
            border-radius: 999px;
        }

        .bps-history-container::-webkit-scrollbar-thumb:hover {
            background: #c7a668;
        }

        .bps-history-item {
            background: #111114;
            border: 1px solid rgba(255, 255, 255, 0.04);
            border-radius: 8px;
            padding: 15px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        @media (min-width: 768px) {
            .bps-history-item {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
            }
        }

        .bps-hist-item-left {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .bps-hist-header-badge-row {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
        }

        .bps-hist-id-pill {
            font-family: monospace;
            font-size: 10px;
            font-weight: bold;
            color: #c7a668;
            background-color: #1a1815;
            padding: 1px 6px;
            border: 1px solid rgba(199, 166, 104, 0.1);
            border-radius: 3px;
        }

        .bps-hist-fullname-inner {
            font-size: 12px;
            font-weight: bold;
            color: #e5e7eb;
        }

        .bps-hist-date-inner {
            font-size: 9.5px;
            color: #52525b;
        }

        .bps-hist-details-specs {
            font-size: 11px;
            color: #a1a1aa;
            line-height: 1.4;
        }

        .bps-hist-details-specs strong {
            color: #d1d5db;
        }

        .bps-hist-status-col {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px dashed rgba(255, 255, 255, 0.04);
        }

        @media (min-width: 768px) {
            .bps-hist-status-col {
                flex-direction: column;
                align-items: flex-end;
                justify-content: initial;
                margin-top: 0;
                padding-top: 0;
                border-top: none;
                gap: 6px;
            }
        }

        .bps-hist-status-pill {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 9px;
            color: #fbbf24;
            background: rgba(251, 191, 36, 0.06);
            border: 1px solid rgba(251, 191, 36, 0.15);
            padding: 3px 8px;
            border-radius: 4px;
        }

        .bps-pulse-marker {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background-color: #fbbf24;
            animation: bps-pulse 1s infinite alternate;
        }


        /* KEYFRAMES */
        @keyframes bps-spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes bps-pulse {
            0% {
                opacity: 0.4;
            }

            100% {
                opacity: 1;
            }
        }

        @keyframes bps-bounce {
            0% {
                transform: translateY(0);
            }

            100% {
                transform: translateY(-6px);
            }
        }

        /* Print styling rules is vital to output luxury print correctly */
        @media print {
            body * {
                visibility: hidden;
            }

            #bps-service-widget-wrapper,
            #bps-service-widget-wrapper .bps-voucher-card,
            #bps-service-widget-wrapper .bps-voucher-card * {
                visibility: visible;
            }

            #bps-service-widget-wrapper {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                border: none;
                box-shadow: none;
                background: #ffffff;
                color: #000000;
            }

            #bps-service-widget-wrapper .bps-voucher-card {
                border-color: #000000;
                box-shadow: none;
                background: #ffffff;
                color: #000000;
                width: 100%;
                max-width: 100%;
            }

            #bps-service-widget-wrapper .bps-sidebar,
            #bps-service-widget-wrapper .bps-main-content>form,
            #bps-service-widget-wrapper .bps-header,
            #bps-service-widget-wrapper .bps-badges-grid,
            #bps-service-widget-wrapper .bps-success-actions-row,
            #bps-service-widget-wrapper .bps-success-heading,
            #bps-service-widget-wrapper .bps-success-subtext,
            #bps-service-widget-wrapper .bps-success-orb {
                display: none !important;
            }
        }

        /* Entrance Animations */
        @keyframes bps-fade-up {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .bps-sidebar {
            opacity: 0;
            animation: bps-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        .bps-header {
            opacity: 0;
            animation: bps-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
        }

        .bps-card {
            opacity: 0;
            animation: bps-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        .bps-card:nth-of-type(1) {
            animation-delay: 0.3s;
        }

        .bps-card:nth-of-type(2) {
            animation-delay: 0.4s;
        }

        .bps-card:nth-of-type(3) {
            animation-delay: 0.5s;
        }

        .bps-card:nth-of-type(4) {
            animation-delay: 0.6s;
        }

        .bps-card:nth-of-type(5) {
            animation-delay: 0.7s;
        }

        .bps-actions-row {
            opacity: 0;
            animation: bps-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
        }

        /* abu alkhair */
        @media(max-width: 767px) {
            .bps-container {
    display: flex;
    flex-direction: column-reverse;
}
        }
        .bps-card-heading {
            color: #c7a668 !important;
        }


        .bps-b-desc {
            color: #a6a6a9;

        }

        .bps-privacy-notice {
            color: #b1b1b1;

        }

        .bps-input::placeholder {
            color: rgba(255, 255, 255, 0.45);
            /* غير اللون حسب تصميمك */
            opacity: 1;
            /* مهم لبعض المتصفحات */
        }

        svg.bps-spark-icon {
            display: none;
        }
        .bps-label {
    color: #ffffff;
}
#bps-form option {
    background: #1a1a1a;
    color: #fff;
}
