#bbv2-event-packages-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    font-family: inherit;
}

html.bbv2-ep-modal-open,
body.bbv2-ep-modal-open {
    overflow: hidden !important;
    height: 100%;
}

.bbv2-ep-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 21, 38, 0.72);
    backdrop-filter: blur(4px);
}

.bbv2-ep-confirm-packages {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
}

.bbv2-ep-confirm-packages .bbv2-ep-confirm-label {
	display: block;
}

.bbv2-ep-confirm-packages .bbv2-ep-confirm-subtitle {
	display: block;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	text-transform: none;
}

/* ===============================
   DESKTOP DEFAULT LAYOUT
================================ */

.bbv2-ep-panel {
    position: relative;
    max-width: 1180px;
    width: calc(100% - 48px);
    height: calc(100vh - 48px);
    max-height: calc(100vh - 48px);
    margin: 24px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    color: #071526;
    overflow: hidden;

    display: grid;
    grid-template-columns: 1fr 330px;
    grid-template-rows: auto auto 1fr;
}

.bbv2-ep-close {
    position: absolute;
    top: 22px;
    right: 24px;
    border: 0;
    background: transparent;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    color: #071526;
    z-index: 40;
}

.bbv2-ep-header {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 200px 1fr 190px;
    gap: 28px;
    /*padding: 42px 54px 26px;*/
    padding: 28px 54px 0px;
    align-items: start;
}

.bbv2-ep-event-logo {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.bbv2-ep-event-logo img {
    max-width: 170px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.bbv2-ep-header h2 {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.1;
    color: #071526;
}

.bbv2-ep-header p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #26384f;
}

.bbv2-ep-info {
    border: 1px solid #dce3ec;
    border-radius: 14px;
    padding: 14px 18px;
    background: #fbfcfe;
    width: auto;
    justify-self: end;
    margin-right: 42px;
}

.bbv2-ep-info div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.bbv2-ep-info strong {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #5b6c80;
}

.bbv2-ep-info span {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #071526;
}

.bbv2-ep-section-title {
    grid-column: 1;
    margin: 2px 5px 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 14px;
    color: #071526;
	font-weight: 900;
}

.bbv2-ep-grid {
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 0 32px 34px 4px;
    align-content: start;
    overflow-y: auto;
    min-height: 0;
}

.bbv2-ep-footer {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 30px;
    background: #fbfcfe;
    border-left: 1px solid #e2e7ee;
    border-top: 1px solid #e2e7ee;
    border-radius: 16px 0 16px 0;
    min-height: 0;

}

.bbv2-ep-footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bbv2-ep-footer-title {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 14px;
    font-weight: 700;
    color: #071526;
	font-weight: 900;
}

/* ===============================
   CARDS
================================ */

.bbv2-ep-card {
    border: 1px solid #dce3ec;
    border-radius: 16px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(7, 21, 38, 0.04);
}

.bbv2-ep-card:first-child {
    border-color: #7fd9aa;
    box-shadow: 0 10px 30px rgba(0, 140, 80, 0.09);
}

.bbv2-ep-card-head {
    display: grid;
    grid-template-columns: 78px 1fr auto;
    gap: 10px;
    align-items: center;
}

.bbv2-ep-card-image {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #eef8f2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bbv2-ep-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.bbv2-ep-card h4 {
    margin: 0 0 4px;
    font-size: 21px;
    color: #071526;
}

.bbv2-ep-card-head strong {
    color: #008a4b;
    font-size: 17px;
}

.bbv2-ep-selected {
    background: #e4f7ec;
    color: #008a4b;
    border-radius: 15px;
    width: 75px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
    white-space: normal;
    font-size: 12px;
    text-transform: uppercase;
}

.bbv2-ep-description {
    margin: 10px 0 15px;
    line-height: 1.55;
    color: #26384f;
}

/* ===============================
   PRODUCTS
================================ */

.bbv2-ep-products {
    border-top: 1px solid #e2e7ee;
    padding-top: 10px;
	margin-top: 15px;
}

.bbv2-ep-products > strong {
    display: block;
/*    margin-bottom: 12px;*/
    color: #071526;
}

.bbv2-ep-product {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 9px;
    color: #071526;
}

.bbv2-ep-product-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f0f3f7;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    cursor: zoom-in;
}

.bbv2-ep-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bbv2-ep-product em {
    font-style: normal;
    font-weight: 700;
}

/* ===============================
   UPGRADES
================================ */

.bbv2-ep-upgrades {
    margin-top: 20px;
    border: 1px solid #e0e6ee;
    border-radius: 10px;
    overflow: hidden;
}

.bbv2-ep-upgrades > strong {
    display: block;
    padding: 12px 14px;
    text-transform: uppercase;
    font-size: 12px;
    color: #071526;
}

.bbv2-ep-upgrade-card {
    border-top: 1px solid #e0e6ee;
}

.bbv2-ep-upgrade-card.is-selected-upgrade {
    outline: 2px solid #008a4b;
    border-radius: 10px;
}

.bbv2-ep-upgrade {
    width: 100%;
    border: 0;
    border-top: 1px solid #e0e6ee;
    background: #fff;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    color: #071526;
}

.bbv2-ep-upgrade:hover {
    background: #f7faff;
}

.bbv2-ep-upgrade-products {
    padding: 10px 14px 14px;
    background: #fbfcfe;
}

.bbv2-ep-select-upgrade {
    width: 100%;
    margin-top: 12px;
    border: 0;
    border-radius: 8px;
    background: #071f3b;
    color: #fff;
    font-weight: 700;
    padding: 12px 14px;
    cursor: pointer;
}

.bbv2-ep-select-upgrade:hover {
    background: #0d315c;
}

.bbv2-ep-upgrade-card.is-selected-upgrade .bbv2-ep-select-upgrade {
    background: #008a4b;
}

/* ===============================
   FOOTER / ACTION PANEL
================================ */

.bbv2-ep-footer p {
    margin: 0;
    color: #26384f;
}

.bbv2-ep-checklist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.bbv2-ep-checklist-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    font-size: 16px;
    color: #071526;
}

.bbv2-ep-checklist-item span {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-sizing: border-box;
    line-height: 1;
}

.bbv2-ep-checklist-item.is-done span {
    background: #e6f8ee;
    color: #0a8f4b;
}

.bbv2-ep-checklist-item:not(.is-done) span {
    border: 2px solid #cfd8e3;
    background: #fff;
    color: transparent;
}

.bbv2-ep-checklist-item.is-muted {
    color: #8a96a3;
}

.bbv2-ep-checklist-item.is-muted span {
    border-color: #dce3ec;
}

.bbv2-ep-confirm-packages {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    height: auto;
    border-radius: 8px !important;
    font-weight: 800;
    justify-content: center;
    align-items: center;
    background: #071f3b !important;
    color: #fff !important;
    border: 0 !important;
    white-space: normal;
    line-height: 1.25;
    padding: 14px 18px;
}

.bbv2-ep-close-button {
    min-width: 190px;
    height: 48px;
    border-radius: 8px !important;
    font-weight: 700;
}

/* ===============================
   LIGHTBOX
================================ */

.bbv2-ep-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000001;
    background: rgba(7, 21, 38, 0.82);
    align-items: center;
    justify-content: center;
}

.bbv2-ep-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    background: #fff;
}

.bbv2-ep-lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 42px;
    cursor: pointer;
}

/* ===============================
   REVIEW MODAL
================================ */

.bbv2-ep-review {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    background: rgba(7, 21, 38, 0.62);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bbv2-ep-review-box {
    width: min(560px, calc(100vw - 40px));
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.bbv2-ep-review-box h3 {
    margin: 0 0 8px;
    font-size: 26px;
    color: #071526;
}

.bbv2-ep-review-box p {
    margin: 0 0 22px;
    color: #53657a;
}

.bbv2-ep-review-line {
    border-top: 1px solid #e2e7ee;
    padding: 14px 0;
}

.bbv2-ep-review-line strong {
    display: block;
    color: #071526;
    margin-bottom: 6px;
}

.bbv2-ep-review-line span {
    color: #53657a;
}

.bbv2-ep-review-line em {
    float: right;
    font-style: normal;
    font-weight: 800;
    color: #071526;
}

.bbv2-ep-review-total {
    border-top: 2px solid #071526;
    padding-top: 16px;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 18px;
}

.bbv2-ep-review-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.button.bbv2-ep-review-cancel {
    border-radius: 12px;
	background-color: gray;
}

.button.button-primary.bbv2-ep-review-confirm {
    border-radius: 12px;
	background-color: green;
}

/* ===============================
   TABLET
================================ */

@media (max-width: 1000px) and (min-width: 601px) {
    .bbv2-ep-panel {
        grid-template-columns: 1fr 280px;
    }

    .bbv2-ep-header {
        grid-template-columns: 170px 1fr 170px;
        padding: 36px 36px 24px;
    }

    .bbv2-ep-event-logo img {
        max-width: 150px;
    }

    .bbv2-ep-header h2 {
        font-size: 34px;
    }

    .bbv2-ep-section-title {
        margin-left: 36px;
        margin-right: 36px;
    }

    .bbv2-ep-grid {
        grid-template-columns: 1fr;
        padding-left: 36px;
    }

    .bbv2-ep-footer {
        padding: 28px 24px;
    }
}

/* ===============================
   MOBILE
================================ */

@media (max-width: 600px) {
    .bbv2-ep-panel {
        width: calc(100% - 20px);
        height: calc(100vh - 20px);
        max-height: calc(100vh - 20px);
        margin: 10px auto;
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .bbv2-ep-close {
        top: 3px;
        right: 7px;
        font-size: 38px;
    }

    .bbv2-ep-header {
        display: grid;
        grid-template-columns: 1fr auto !important;
        grid-template-areas:
            "logo booth"
            "title title"
            "text text";
        gap: 12px 16px;
        padding: 24px 20px 0px;
        align-items: start;
        flex-shrink: 0;
    }

    .bbv2-ep-header > div:not(.bbv2-ep-event-logo):not(.bbv2-ep-info) {
        grid-column: 1 / -1;
        width: 100%;
        max-width: none;
        text-align: left;
    }

    .bbv2-ep-event-logo {
        grid-area: logo;
    }

    .bbv2-ep-event-logo img {
        max-width: 150px;
        max-height: 70px;
    }

    .bbv2-ep-info {
        grid-area: booth;
        margin-top: 24px;
        margin-right: 0;
        padding: 7px 12px;
        width: auto;
        justify-self: end;
    }

    .bbv2-ep-info strong {
        font-size: 13px;
    }

    .bbv2-ep-info span {
        font-size: 16px;
    }

    .bbv2-ep-header h2 {
        grid-area: title;
        width: 100%;
        max-width: none;
        font-size: 30px;
        line-height: 1.1;
        margin: 0;
    }

    .bbv2-ep-header p {
        grid-area: text;
        width: 100%;
        max-width: none;
        margin: 0;
        font-size: 15px;
        line-height: 1.5;
    }

    .bbv2-ep-section-title {
		margin: 0px 20px 5px;
        flex-shrink: 0;
    }

    .bbv2-ep-grid {
        grid-template-columns: 1fr;
        padding: 0 20px 24px;
        overflow-y: auto;
        flex: 1;
        min-height: 0;
    }

    .bbv2-ep-card {
        width: 100%;
        box-sizing: border-box;
    }

    .bbv2-ep-card-head {
        grid-template-columns: 70px 1fr;
    }

    .bbv2-ep-selected {
        grid-column: 2;
        justify-self: start;
        margin-top: 8px;
    }

    .bbv2-ep-footer {
        position: sticky;
        bottom: 0;
        z-index: 30;
        display: block;
        padding: 4px 20px 13px;
        background: #fbfcfe;
        border-top: 1px solid #e2e7ee;
        border-left: 0;
        border-radius: 0 0 16px 16px;
        flex-shrink: 0;
    }
	
	.bbv2-ep-footer-content {
	    display: flex;
	    flex-direction: column;
	    gap: 2px;
	}

    .bbv2-ep-checklist {
        grid-template-columns: 1fr;
        gap: 0px;
    }
	
	.bbv2-ep-checklist-item span {
		width: 16px;
		height: 16px;
		flex: 0 0 16px;
	}
	
	.bbv2-ep-checklist-item {
		font-size: 12px;
	}

    .bbv2-ep-confirm-packages {
        width: 100%;
        min-width: 0;
        margin-top: 14px;
    }

    .bbv2-ep-review-box {
        width: calc(100vw - 32px);
        padding: 22px;
    }

    .bbv2-ep-review-actions {
        flex-direction: column;
    }

    .bbv2-ep-review-actions .button {
        width: 100%;
    }
	
	/* Shared package-modal layout
	-------------------------------------------------------------- */

	.bbv2-ep-modal .bbv2-ep-header {
		display: grid;
		grid-template-columns: 180px minmax(0, 1fr) auto;
		align-items: start;
		gap: 28px;
	}

	.bbv2-ep-modal .bbv2-ep-header-copy {
		min-width: 0;
		max-width: none;
	}

	.bbv2-ep-modal .bbv2-ep-header-copy h2 {
		max-width: none;
		margin-right: 0;
		font-size: clamp(30px, 3.2vw, 48px);
		line-height: 1.08;
		word-break: normal;
		overflow-wrap: normal;
	}

	.bbv2-ep-modal .bbv2-ep-event-logo {
		width: 180px;
		min-width: 180px;
	}

	.bbv2-ep-modal .bbv2-ep-event-logo img {
		display: block;
		max-width: 100%;
		height: auto;
	}

	.bbv2-ep-modal .bbv2-ep-info-single {
		justify-self: end;
	}

	.bbv2-ep-package-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		align-items: start;
		gap: 28px;
	}

	.bbv2-ep-package-main {
		min-width: 0;
	}

	.bbv2-ep-package-tasks {
		position: sticky;
		top: 24px;
	}

	.bbv2-ep-package-tasks .bbv2-ep-footer {
		position: static;
		display: block;
		margin: 0;
		padding: 22px;
		border: 1px solid #d9e2ee;
		border-radius: 16px;
		background: #fff;
		box-shadow: 0 4px 14px rgba(15, 35, 60, 0.05);
	}

	.bbv2-ep-package-tasks .bbv2-ep-footer-content {
		width: 100%;
	}

	.bbv2-ep-package-tasks .bbv2-event-dashboard-eyebrow {
		display: block;
		margin-bottom: 5px;
		color: #65748a;
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}

	.bbv2-ep-package-tasks .bbv2-ep-footer-title {
		margin: 0 0 18px;
	}

	.bbv2-ep-package-tasks .bbv2-ep-checklist {
		display: flex;
		flex-direction: column;
		gap: 9px;
	}

	.bbv2-ep-package-tasks .bbv2-ep-checklist-item {
		display: grid;
		grid-template-columns: 27px minmax(0, 1fr);
		align-items: center;
		gap: 10px;
		min-height: 44px;
		padding: 9px 10px;
		border: 1px solid #e1e7ee;
		border-radius: 10px;
		background: #fff;
	}

	.bbv2-ep-package-tasks .bbv2-ep-checklist-item > span {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 25px;
		height: 25px;
		border: 1px solid #cdd7e3;
		border-radius: 50%;
	}

	.bbv2-ep-package-tasks .bbv2-ep-checklist-item.is-done {
		border-color: #d2eadc;
		background: #f8fdf9;
	}

	.bbv2-ep-package-tasks .bbv2-ep-checklist-item.is-done > span {
		border-color: #c8ead6;
		background: #e7f8ee;
		color: #16824d;
	}

	.bbv2-ep-package-tasks .bbv2-ep-confirm-packages {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		margin-top: 18px;
	}

	@media (max-width: 950px) {
		.bbv2-ep-modal .bbv2-ep-header {
			grid-template-columns: 130px minmax(0, 1fr);
		}

		.bbv2-ep-modal .bbv2-ep-info-single {
			grid-column: 2;
			justify-self: start;
		}

		.bbv2-ep-package-layout {
			grid-template-columns: 1fr;
		}

		.bbv2-ep-package-tasks {
			position: static;
			order: -1;
		}
	}

	@media (max-width: 650px) {
		.bbv2-ep-modal .bbv2-ep-header {
			grid-template-columns: 1fr;
		}

		.bbv2-ep-modal .bbv2-ep-event-logo {
			width: 130px;
			min-width: 0;
		}

		.bbv2-ep-modal .bbv2-ep-info-single {
			grid-column: auto;
		}
	}
	
	/* Packages tab
	-------------------------------------------------------------- */

	.bbv2-event-packages-interface--tab {
		position: relative;
		color: #071526;
	}

	.bbv2-event-packages-interface--tab .bbv2-ep-package-layout {
		padding: 24px;
		background: #f7f9fc;
	}

	.bbv2-event-packages-interface--tab .bbv2-ep-section-title {
		margin: 0 0 14px;
	}

	.bbv2-event-packages-interface--tab .bbv2-ep-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
		padding: 0;
		overflow: visible;
	}

	.bbv2-event-packages-interface--tab
		.bbv2-ep-package-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		align-items: start;
		gap: 24px;
	}

	.bbv2-event-packages-interface--tab
		.bbv2-ep-package-tasks {
		position: sticky;
		top: 24px;
	}

	.bbv2-event-packages-interface--tab
		.bbv2-ep-footer {
		position: static;
		display: flex;
		grid-column: auto;
		grid-row: auto;
		padding: 22px;
		border: 1px solid #d9e2ee;
		border-radius: 16px;
		background: #fff;
		box-shadow: 0 4px 14px rgba(15, 35, 60, 0.05);
	}

	.bbv2-event-packages-interface--tab
		.bbv2-ep-lightbox,
	.bbv2-event-packages-interface--tab
		.bbv2-ep-review {
		position: fixed;
		z-index: 1000000;
	}

	@media (max-width: 950px) {
		.bbv2-event-packages-interface--tab
			.bbv2-ep-package-layout {
			grid-template-columns: 1fr;
		}

		.bbv2-event-packages-interface--tab
			.bbv2-ep-package-tasks {
			position: static;
			order: -1;
		}
	}

	@media (max-width: 650px) {
		.bbv2-event-packages-interface--tab
			.bbv2-ep-package-layout {
			padding: 16px;
		}

		.bbv2-event-packages-interface--tab
			.bbv2-ep-grid {
			grid-template-columns: 1fr;
		}
	}
	
	.bbv2-ep-confirm-packages.is-default,
	.bbv2-ep-confirm-packages.is-confirmed {
		background: #e5e7eb !important;
		border: 1px solid #d1d5db !important;
		color: #374151 !important;
	}

	.bbv2-ep-confirm-packages.is-default:hover,
	.bbv2-ep-confirm-packages.is-default:focus {
		background: #d9dde3 !important;
		color: #1f2937 !important;
	}

	.bbv2-ep-confirm-packages.is-confirmed {
		cursor: default;
		opacity: 1;
	}

	.bbv2-ep-confirm-packages.is-upgrade {
		background: #071f3b !important;
		border-color: #071f3b !important;
		color: #ffffff !important;
	}
}