@use './controls.scss';
// @use './uploader.scss';
@use './notice.scss';
@use './popover.scss';
@use './selected-item-box.scss';


.border-2,
.border-1 {
	border-style: solid;
}

.edbi-disabled {
	pointer-events: none !important;
	cursor: not-allowed !important;
}

.row {
	--bs-gutter-x: 15px;
	margin-right: 0px !important;
	display: flex;
}

// .edbi-custom-swal-popup .swal2-input {

// }

/* ============================
   .edbi-page 
   ============================ */

/* Coming soon section */
.edbi-page__coming-soon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh; /* h-screen */
	background-image: linear-gradient(
		to bottom left,
		var(--edbi-primary-color, #3b82f6),
		var(--edbi-secondary-color, #ec4899)
	);
	color: var(--edbi-background-color);
}
.edbi-page__coming-soon h2 {
	font-size: 2.25rem; /* text-4xl */
	font-weight: 700; /* font-bold */
	color: var(--edbi-background-color);
}

/* Header */
.edbi-page__header {
	position: sticky;
	top: 2rem; /* top-8 */
	z-index: 10;
	display: flex;
	align-items: center;
	height: 4rem; /* h-16 */
	padding-top: 1.5rem; /* py-6 */
	padding-bottom: 1.5rem;
	padding-left: 1rem; /* px-4 */
	padding-right: 1rem;
	background-color: var(--edbi-background-color);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.edbi-page__header__left {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.edbi-page__header__left i {
	font-size: 1.5rem; /* text-2xl */
	line-height: 1.3rem;
}
.edbi-page__header__left h2 {
	font-size: 1.5rem; /* text-2xl */
	font-weight: 500; /* font-medium */
}
.edbi-page__header__left h2 span {
	margin-left: 0.5rem; /* ml-2 */
	padding: 0.125rem 0.5rem; /* px-2 py-0.5 */
	font-size: 10px;
	color: #fff;
	background-color: var(--edbi-primary-color);
	border-radius: 0.125rem; /* rounded-sm */
	vertical-align: middle;
}
.edbi-page__header__right {
	display: flex;
	align-items: center;
	margin-left: auto;
	column-gap: 0.5rem; /* space-x-2 */
}
.edbi-page__header__right button {
	cursor: pointer;
}
.edbi-page__header__right__btn {
	border-radius: 0.5rem; /* rounded-lg */
	background-color: #f7f7f7;
	color: #374151; /* text-gray-700 */
	padding: 0.75rem; /* p-3 */
	cursor: pointer;
	outline: none;
	transition: background-color 150ms ease-in-out;
}
.edbi-page__header__right__btn:hover {
	background-color: #cccccc;
}
.edbi-page__header__right__btn img {
	height: 25px;
	width: 25px;
}

/* Sidebar */
.edbi-page__sidebar {
	height: 100%;
	position: sticky;
	top: 6rem; /* top-24 */
	background-color: var(--edbi-background-color);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	min-height: calc(100vh - 92px);
	width: 100%;
}
.edbi-page__sidebar__item {
	display: flex;
	align-items: center;
	padding: 1.25rem 0.75rem; /* py-5 px-3 */
	cursor: pointer;
	border-right: 4px solid transparent;
	gap: 1rem;
	transition: all 300ms ease-in-out;
}
.edbi-page__sidebar__item img {
	height: 2rem; /* h-8 */
	width: 2rem; /* w-8 */
	margin-right: 0.5rem;
}
.edbi-page__sidebar__item span {
	font-size: 15px;
	font-weight: 500;
	color: #374151; /* gray-700 */
}
.edbi-page__sidebar__item .dashicons {
	font-size: 1.5rem; /* text-2xl */
	line-height: 1.25rem;
}
.edbi-page__sidebar__item--active,
.edbi-page__sidebar__item:hover {
	background-color: #f3f4f6; /* gray-100 */
	border-color: var(--edbi-secondary-color, #ec4899);
}
.edbi-page__sidebar__item--active span,
.edbi-page__sidebar__item:hover span {
	color: var(--edbi-primary-color, #3b82f6);
}

/* Content */
.edbi-page__content {
	width: 100%;
	margin-bottom: 1rem;
	border-radius: 0.375rem;
	overflow: hidden;
	margin-top: 0.75rem !important;
}
@media (min-width: 640px) {
	.edbi-page__content {
		width: 79%;
		margin-bottom: 0;
	}
}

.edbi-info-box {
	background-color: var(--edbi-background-color);
	padding: 1.5rem;
	border-radius: 0.375rem;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	border: 1px solid;
	transition: all 300ms ease-in-out;
}


.edbi-info-box--types:hover {
	border-color: var(--edbi-secondary-color, #ec4899);
}

.edbi-info-box--types:hover .edbi-info-box__icon {
	background-color: var(--edbi-primary-color, #3b82f6);
}

.edbi-info-box--types:hover .edbi-info-box__icon i {
	color: var(--edbi-background-color);
}

.edbi-info-box--types:hover h3 {
	color: var(--edbi-primary-color, #3b82f6);
}

.edbi-pro-wrapper {
	position: relative;
	opacity: 0.6;
}

.edbi-pro-wrapper:hover {
	opacity: 1;
}

.edbi-pro-wrapper:hover .edbi-pro-label {
	display: block;
}

.edbi-pro-label {
	position: absolute;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	padding-top: 0;
	padding-bottom: 0;
	text-align: center;
	top: 50%;
	right: 0;
	transform: translateX(-50%);
	background-color: var(--edbi-primary-color, #3b82f6);
	display: none;
	color: var(--edbi-background-color);
}

.edbi-btn {
	display: inline-block;
	margin-top: 2rem !important;
	padding: 0.75rem 1.25rem !important;
	font-size: 1rem;
	color: var(--edbi-background-color);
	border-radius: 0.375rem;
	background-color: var(--edbi-primary-color, #3b82f6);
	outline: none;
	transition: all 150ms ease-in-out;
	cursor: pointer;
}

.edbi-btn:hover {
	color: var(--edbi-background-color);
	background-color: var(--edbi-primary-color, #3b82f6);
}

.edbi-btn--danger {
	color: #721c24;
	background-color: #f8d7da;
	border-color: #f5c6cb;
}

.edbi-btn--danger:hover {
	background-color: #f8d7da;
	color: #721c24;
}



.edbi-settings-head {
	margin-top: 0.75rem;
	margin-bottom: 0.75rem;
}

.edbi-settings-head h3 {
	font-size: 1.25rem; /* text-xl */
	font-weight: 500; /* font-medium */
	color: var(--edbi-text-color);
	margin-bottom: 0.5rem;
	text-align: left;
}

.edbi-settings-head p {
	color: #4b5563; /* text-gray-600 */
	text-align: left;
}

.edbi-settings-fields {
	border-radius: 0.375rem; /* rounded-md */
	padding: 1rem; /* p-4 */
	border: 1px solid #e5e7eb; /* border-gray-200 */
	margin-bottom: 1rem; /* mb-4 */
	background-color: var(--edbi-background-color);
	color: var(--edbi-text-color);
}

.edbi-settings-fields__wrapper {
	flex: 1; /* flex-1 */
	border: 1px dashed #e5e7eb;
	padding: 1rem;
	border-radius: 0.375rem;
	margin-bottom: 0.75rem;
}

.edbi-settings-fields h3 {
	font-size: 1rem; /* text-base */
	font-weight: 500; /* font-medium */
	color: var(--edbi-text-color);
	margin-bottom: 1rem;
	text-align: left;
}

.edbi-settings-fields__item {
	max-width: 100%;
	text-align: left;
	font-size: 0.875rem; /* text-sm */
}

.edbi-settings-fields__item h3 {
	font-size: 0.875rem;
	font-weight: 500;
	color: #4b5563;
	margin-bottom: 0.5rem !important;
}

.edbi-settings-fields__item input {
	width: 100%;
	border: 1px solid #ddd !important;
	border-radius: 5px !important;
	padding: 10px !important;
	height: auto !important;
	margin-bottom: 15px !important;
}

.edbi-settings-fields__item textarea {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 0.75rem; /* rounded-xl */
	margin-bottom: 15px !important;
}

.edbi-settings-fields__item label {
	font-size: 0.875rem; /* text-sm */
	color: var(--edbi-text-color);
	display: block;
	text-align: left;
	text-transform: capitalize;
}

.edbi-page__body {
	.components-toggle-control {
		margin-bottom: 15px !important;
	}
}

.edbi-button {
	box-shadow: none !important;
	outline: none;
	font-size: 14px !important;
	border: 1px solid #ddd;
	padding: 8px 16px !important;
	height: auto;
	color: #fff;
	border-radius: 5px;
	background: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	text-decoration: none;

	// &:hover {
	// 	background-color: #f8f9fa;
	// 	border-color: #ccc;
	// 	color: var(--edbi-text-color);
	// }

	&:hover {
		color: #fff;
	}
	&.components-button:hover {
		color: #fff;
	}

	&.is-primary {
		color: #fff;
		background-color: var(--edbi-primary-color);
		border-color: var(--edbi-primary-color);
	}

	&.is-destructive {
		color: #cc1818;
		border-color: #ff8080;
		&:hover {
			background-color: #fff1f1;
		}
	}

	&--small {
		padding: 5px 12px;
		font-size: 13px;
	}
}

.edbi-button-group {
	margin-bottom: 0.75rem;
	display: flex;
	border: 1px solid #f9f9f9;

	.components-button.edbi-button {
		border-radius: 0;
		margin: 0;
		box-shadow: 0px 0px 26px 4px rgb(200 198 198 / 70%) !important;
		border: 1px solid #f7f7f7;
		padding: 13px 20px !important;

		&:first-child {
			border-radius: 5px 0 0 5px;
		}

		&:last-child {
			border-radius: 0 5px 5px 0;
		}

		&:not(:first-child) {
			border-left: none;
		}

		&.is-primary {
			z-index: 1;
		}

		&:focus {
			// box-shadow: 0 0 0 2px rgba(var(--edbi-primary-rgb), 0.3) !important;
			z-index: 2;
		}
	}
}

.edbi-text-input input {
	width: 100%;
	border: 1px solid #ddd !important;
	margin-bottom: 1.25rem; /* mb-5 */
	max-width: 80%;
	border-radius: 5px !important;
	padding: 10px !important;
	height: auto !important;
}

.swal2-container {
	z-index: 999999999999999 !important;
}

.edbi-preloader {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
}

.edbi-preloader__img img {
	height: 150px;
	width: 150px;
}

.lg-container {
	position: fixed;
	z-index: 9999999;
}

.edbi-file-browser,
.edbi-file-browser * {
	box-sizing: border-box;
}

.edbi-file-browser {
	display: flex;

	height: 100%;
	width: 100%;
}

.edbi-file-browser__empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--edbi-background-color);
}

.edbi-file-browser__header {
	position: sticky;
	z-index: 10;
	display: flex;
	align-items: center;
	width: 100%;
	height: 64px;
	padding: 24px 16px;
	background-color: var(--edbi-background-color);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	top: 8px;
}

.edbi-file-browser__header h2 {
	margin-right: 0.5rem;
	font-size: 1.875rem;
}

.edbi-file-browser__header span.edbi-version {
	padding: 0.125rem 0.5rem;
	font-size: 10px;
	color: var(--edbi-background-color);
	background-color: var(--edbi-primary-color);
	border-radius: 0.125rem;
}

.edbi-file-browser__header__breadcrumb ol {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.edbi-file-browser__header__breadcrumb ol li {
	display: inline-flex;
	align-items: center;
	margin-bottom: 0;
}

.edbi-file-browser__header__breadcrumb ol li a {
	display: inline-flex;
	align-items: center;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--edbi-text-color);
	text-decoration: none;
}

.edbi-file-browser__header__right {
	display: flex;
	align-items: center;
	margin-left: auto;
	gap: 0.5rem;
}

.edbi-file-browser__header__right__btn {
	border-radius: 0.5rem;
	background-color: var(--edbi-background-color);
	color: var(--edbi-text-color);
	padding: 0.75rem;
	cursor: pointer;
	border: none;
}

.edbi-file-browser__header__right__btn img {
	height: 25px;
	width: 25px;
}

/* Sidebar */
.edbi-file-browser__sidebar {
	height: 100vh;
	position: sticky;
	top: 6rem;
	background-color: var(--edbi-background-color);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	border-right: 2px solid var(--edbi-accent-color);
	min-height: calc(100vh - 92px);
	width: 100%;
}

.edbi-file-browser__sidebar__upload {
	display: flex;
	justify-content: center;
	align-items: center;
	border-bottom: 2px solid var(--edbi-background-color);
	padding: 1.25rem 0 1rem 0;
}

.edbi-file-browser__sidebar__upload button {
	display: flex;
	align-items: center;
}

.edbi-file-browser__sidebar__upload img {
	height: 1.5rem;
	width: 1.5rem;
}

.edbi-file-browser__sidebar__upload span {
	margin-left: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--edbi-text-color);
}

.edbi-file-browser__sidebar__items {
	border-bottom: 2px solid var(--edbi-background-color);
	padding: 0.75rem 0;
}

.edbi-file-browser__sidebar__item {
	display: flex;
	align-items: center;
	padding: 0.75rem;
	cursor: pointer;
	border-left: 4px solid transparent;
	transition: all 0.3s ease-in-out;
}

.edbi-file-browser__sidebar__item:hover {
	border-left-color: var(--edbi-primary-color);
}

.edbi-file-browser__sidebar__item--active {
	background-color: var(--edbi-background-color);
	border-left-color: var(--edbi-primary-color);
}

.edbi-file-browser__sidebar__item img {
	height: 2rem;
	width: 2rem;
	margin-right: 0.5rem;
}

.edbi-file-browser__sidebar__item span {
	font-size: 15px;
	font-weight: 500;
	color: #374151;
}

/* Content area */
.edbi-file-browser__content {
	width: 100%;
	margin-bottom: 1rem;
	border-radius: 0.375rem;
	overflow: hidden;
	margin-top: 0.75rem;
}

.edbi-file-browser__file-list {
	display: flex;
	flex-wrap: wrap;
	margin-left: 0;
	max-width: 100%;
}

.edbi-file-browser__file-list__item {
	display: flex;
	position: relative;
	justify-content: center;
	overflow: hidden;
	border-radius: 0.5rem;
	cursor: pointer;
	border: 1px solid #ddd;
	background-color: var(--edbi-background-color);
	width: 100%;
	margin: 0.5rem;
	aspect-ratio: 1 / 1;
}

.edbi-file-browser__file-list__item--exist {
	color: var(--edbi-background-color);
	font-weight: 500;
	border: 1px solid var(--edbi-primary-color);
}

.edbi-file-browser__file-list__item--file {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.edbi-file-browser__file-list__item__selector {
	display: none;
}

.edbi-file-browser__file-list__item--file:hover .edbi-file-browser__file-list__item__img {
	display: none;
}

.edbi-file-browser__file-list__item--file:hover .edbi-file-browser__file-list__item__selector {
	display: flex;
}

.edbi-file-browser__file-list__item--selected {
	border-color: var(--edbi-primary-color);
}

.edbi-file-browser__file-list__item--selected .edbi-file-browser__file-list__item__selector {
	display: flex;
}

.edbi-file-browser__file-list__item--selected .edbi-file-browser__file-list__item__img {
	display: none;
}

.edbi-file-browser__file-list__item--selected .edbi-file-browser__file-list__item__info {
	background-color: var(--edbi-primary-color);
	color: var(--edbi-background-color);
}

.edbi-file-browser__file-list__item__thumb {
	position: relative;
	padding-bottom: 81.25%;
	height: 0;
	overflow: hidden;
}

.edbi-file-browser__file-list__item__thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 10px;
	object-fit: contain;
}

.edbi-file-browser__file-list__item--folder {
	height: 50px;
}

.edbi-file-browser__file-list__item__img {
	min-width: 50px;
}

.edbi-file-browser__file-list__item__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.edbi-file-browser__file-list__item__icon span {
	font-size: 8rem;
	color: var(--edbi-primary-color);
	width: auto;
	height: auto;
}

.edbi-file-browser__file-list__item__info {
	display: flex;
	align-items: center;
	padding: 0.75rem 0.5rem;
	background-color: var(--edbi-background-color);
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
	gap: 0.25rem;
	border-top: 1px solid #ddd;
	min-height: 35px;
}

.edbi-file-browser__file-list__item__info span.edbi-file-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 1rem;
	color: #374151;
}

.edbi-file-browser__file-list__item__info span {
	font-size: 0.875rem;
	color: #1f2937;
}

.ud-c-popover {
	position: absolute;
	z-index: 10;
	width: 100%;
	max-width: 24rem;
	padding-left: 1rem;
	padding-right: 1rem;
	margin-top: 7px;
	transform: translateX(-50%);
	left: 50%;
}

.ud-c-popover__content {
	border-radius: 0.5rem;
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

.ud-c-popover__content__wrap {
	position: relative;
	background-color: var(--edbi-background-color);
}

/* Buttons */
body .ud-c-btn {
	padding: 0.5rem 1rem;
	border: 1px solid transparent;
	font-size: 0.875rem;
	font-weight: 500;
	border-radius: 0.375rem;
	color: var(--edbi-background-color);
	background-color: var(--edbi-primary-color);
	cursor: pointer;
	outline: none;
}

body .ud-c-btn:hover {
	background-color: var(--edbi-primary-color);
}

body .ud-c-btn:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5);
}

body .ud-c-btn--primary {
	background-color: var(--edbi-primary-color);
}

body .ud-c-btn--primary:hover {
	background-color: var(--edbi-primary-color);
}

body .ud-c-btn--primary:focus {
	box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5);
}

body .ud-c-btn--secondary {
	background-color: #d1d5db;
	color: var(--edbi-text-color);
}

body .ud-c-btn--secondary:hover {
	background-color: #e5e7eb;
}

body .ud-c-btn--secondary:focus {
	box-shadow: 0 0 0 2px rgba(209, 213, 219, 0.5);
}

/** Tooltip **/

:root {
	--tooltip-text-color: var(--edbi-background-color);
	--tooltip-background-color: var(--edbi-primary-color);
	--tooltip-margin: 10px;
	--tooltip-arrow-size: 6px;
}
/* Wrapping */
.Tooltip-Wrapper {
	position: relative;
}
.Tooltip-Tip {
	position: absolute;
	border-radius: 4px;
	left: 50%;
	transform: translateX(-50%);
	padding: 6px !important;
	color: var(--tooltip-text-color);
	background: var(--tooltip-background-color);
	font-size: 14px;
	font-family: sans-serif;
	line-height: 1;
	z-index: 100;
	white-space: nowrap;
}
/* CSS border triangles */
.Tooltip-Tip::before {
	content: ' ';
	left: 50%;
	border: solid transparent;
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-width: var(--tooltip-arrow-size);
	margin-left: calc(var(--tooltip-arrow-size) * -1);
}
/* Absolute positioning */
.Tooltip-Tip.top {
	top: calc(var(--tooltip-margin) * -1);
}
/* CSS border triangles */
.Tooltip-Tip.top::before {
	top: 100%;
	border-top-color: var(--tooltip-background-color);
}
/* Absolute positioning */
.Tooltip-Tip.right {
	left: calc(100% + var(--tooltip-margin));
	top: 50%;
	transform: translateX(0) translateY(-50%);
}
/* CSS border triangles */
.Tooltip-Tip.right::before {
	left: calc(var(--tooltip-arrow-size) * -1);
	top: 50%;
	transform: translateX(0) translateY(-50%);
	border-right-color: var(--tooltip-background-color);
}
/* Absolute positioning */
.Tooltip-Tip.bottom {
	bottom: calc(var(--tooltip-margin) * -1);
}
/* CSS border triangles */
.Tooltip-Tip.bottom::before {
	bottom: 100%;
	border-bottom-color: var(--tooltip-background-color);
}
/* Absolute positioning */
.Tooltip-Tip.left {
	left: auto;
	right: calc(100% + var(--tooltip-margin));
	top: 50%;
	transform: translateX(0) translateY(-50%);
}
/* CSS border triangles */
.Tooltip-Tip.left::before {
	left: auto;
	right: calc(var(--tooltip-arrow-size) * -2);
	top: 50%;
	transform: translateX(0) translateY(-50%);
	border-left-color: var(--tooltip-background-color);
}

.ud-row {
	display: flex;
	flex-wrap: wrap;
}



.not-fixed-header {
	position: unset !important;
	border-radius: 5px;
}

.edbi-selected-items {
	width: 100%;
	background-color: var(--edbi-background-color);
	border-radius: 0.375rem; /* rounded-md */
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-md */
	overflow: hidden;
	position: sticky;
	top: 3.5rem; /* top-14 */
}

.edbi-selected-items__list__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem; /* p-2 */
	border-bottom: 1px solid #e5e7eb; /* border-gray-200 */
	cursor: pointer;
	transition: all 0.3s ease-in-out;
	gap: 0.5rem; /* gap-2 */
}

.edbi-selected-items__list__item__thumb img {
	height: 3rem; /* h-12 */
	width: 3rem; /* w-12 */
	object-fit: cover;
	min-width: 48px;
}

.edbi-selected-items__list__item__info {
	overflow: hidden;
}

.edbi-selected-items__list__item__info p {
	font-size: 15px;
	font-weight: 500;
	color: #374151; /* text-gray-700 */
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.edbi-selected-items__list__item .dashicons {
	font-size: 1.5rem; /* text-2xl */
	line-height: 1.25rem;
}

/** Modal **/
.swal2-container.swal2-center>.swal2-popup {
	border-radius: 10px;
	overflow: hidden;
}

.edbi-swal-modal {
	height: 90vh;
	width: 90% !important;
	.swal-title {
		margin-top: 0;
	}

	.swal2-html-container {
		margin: 0px !important;
	}
}

.edbi-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 1.25rem; /* py-2 px-5 */
	border-bottom: 1px solid #eaeaea;
	background: var(--edbi-background-color);
	position: sticky;
	top: 0;
	z-index: 9999;
}

.edbi-modal-header__texts {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.edbi-modal-header__texts h3 {
	font-size: 1.125rem; /* text-lg */
	font-weight: 600; /* font-semibold */
}

.edbi-modal-header__btns {
	display: flex;
	align-items: center;
	gap: 0.75rem; /* gap-3 */

	.edbi-modal-header__btn {
		border: none;
	}
}

.edbi-modal-header__btns .edbi-btn {
	margin-top: 0 !important;
}

.edbi-modal-browser {
	padding: 0px 10px 0 0;
	background: var(--edbi-container-color);

	.edbi-page__shortcode__sidebar__item--types {
		display: none !important;
	}
}

.edbi-page .components-text-control__input:disabled {
	background-color: #f3f4f6; /* bg-gray-100 */
}

.button.edbi-woo-dropbox-button {
	float: right;
}

#tag-generator-list button[data-target='tag-generator-panel-edbi'] {
	background-color: var(--edbi-primary-color);
	color: var(--edbi-background-color);
}


.edbi-flex {
	display: flex;
	// align-items: center;

	&--column {
		flex-direction: column;
	}

	&--row {
		flex-direction: row;
	}

	&--center {
		justify-content: center;
		align-items: center;
	}

	// make inside div full width.
	& > div {
		flex: 1;
	}
}

/** Badge **/
body {
	.edbi-badge {
		padding: 20px;
		font-size: 14px;
		border-radius: 5px;
		line-height: 28px;
		&--primary {
			background-color: var(--edbi-primary-color);
			color: var(--edbi-background-color);
		}
		&--info {
			background-color: #DAF8E6;
			color: #004434;
		}
		&--small {
			padding: 5px 20px;
		}
		&--error {
			background-color: #FFD1D1;
			color: #D10000;
		}
	}

}

.edbi-no-account {
	text-align: center;
	padding: 20px !important;
	color: var(--edbi-text-color);
	margin: 20px !important;

	h3 {
		font-size: 30px;
		font-weight: 500;
		margin-bottom: 1rem !important;
	}
	p {
		color: #4b5563;
		font-size: 16px;
	}
}
