.dbf-trigger-btn {
	background: #14142b;
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.dbf-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.dbf-modal {
	position: relative;
	background: #fff;
	width: 100%;
	max-width: 420px;
	border-radius: 20px;
	padding: 32px 28px 28px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
	-webkit-tap-highlight-color: transparent;
}

.dbf-modal *,
.dbf-modal *:focus,
.dbf-modal *:active {
	-webkit-tap-highlight-color: transparent;
}

.dbf-modal.dbf-inline {
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
	border: 1px solid #ececf2;
	margin: 0 auto;
}

.dbf-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: #f4f4f7;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: #333;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.dbf-icon {
	font-size: 30px;
	margin-bottom: 8px;
}

.dbf-title {
	font-size: 20px;
	font-weight: 800;
	color: #14142b;
	margin: 0 0 20px;
}

.dbf-label {
	display: block;
	font-weight: 700;
	font-size: 15px;
	color: #14142b;
	margin: 16px 0 8px;
}

.dbf-required {
	color: #ff3b30;
}

.dbf-input {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	border: none;
	border-radius: 12px;
	background: #f4f4f7;
	font-size: 15px;
	outline: none;
}

.dbf-input::placeholder {
	color: #b0b0bb;
}

.dbf-consent-box {
	margin-top: 20px;
	border: 1px solid #ececf2;
	border-radius: 12px;
	overflow: hidden;
}

.dbf-consent-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	background: #f9f9fb;
	border: none;
	padding: 12px 14px;
	font-size: 14px;
	font-weight: 700;
	color: #14142b;
	cursor: pointer;
	text-align: left;
	appearance: none;
	-webkit-appearance: none;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

.dbf-consent-toggle:focus,
.dbf-consent-toggle:active,
.dbf-consent-toggle:hover,
.dbf-consent-toggle:focus-visible {
	background: #f9f9fb !important;
	outline: none !important;
	box-shadow: none !important;
	color: #14142b !important;
}

.dbf-consent-toggle-text {
	flex: 1;
}

.dbf-consent-arrow {
	flex-shrink: 0;
	font-size: 16px;
	color: #8a8a99;
	transform: rotate(90deg);
	transition: transform 0.15s ease;
}

.dbf-consent-toggle[aria-expanded="true"] .dbf-consent-arrow {
	transform: rotate(270deg);
}

.dbf-consent-detail {
	padding: 12px 14px 14px;
	background: #fff;
	border-top: 1px solid #ececf2;
	font-size: 13px;
	line-height: 1.6;
	color: #55555f;
}

.dbf-consent-detail p {
	margin: 0 0 6px;
}

.dbf-consent-detail p:last-child {
	margin-bottom: 0;
}

.dbf-checkbox-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 10px;
	font-size: 14px;
	color: #333;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.dbf-checkbox-row:focus,
.dbf-checkbox-row:active,
.dbf-checkbox-row:hover,
.dbf-checkbox-row:focus-visible {
	background: transparent !important;
	outline: none !important;
	box-shadow: none !important;
}

.dbf-checkbox-row input {
	margin-top: 3px;
	-webkit-tap-highlight-color: transparent;
}

.dbf-checkbox-row input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	min-width: 18px;
	border: 1.5px solid #c7c7d1;
	border-radius: 5px;
	background: transparent;
	outline: none;
	box-shadow: none;
	cursor: pointer;
	position: relative;
}

.dbf-checkbox-row input[type="checkbox"]:checked {
	background: transparent;
	border-color: #14142b;
}

.dbf-checkbox-row input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 9px;
	border: solid #14142b;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.dbf-checkbox-row input[type="checkbox"]:focus,
.dbf-checkbox-row input[type="checkbox"]:active,
.dbf-checkbox-row input[type="checkbox"]:focus-visible {
	outline: none;
	box-shadow: none;
	background: transparent;
}

.dbf-checkbox-row span {
	-webkit-tap-highlight-color: transparent;
}

.dbf-error {
	color: #ff3b30;
	font-size: 13px;
	margin-top: 10px;
	min-height: 16px;
}

.dbf-submit-btn {
	width: 100%;
	background: #14142b;
	color: #fff;
	border: none;
	border-radius: 14px;
	padding: 16px;
	font-size: 16px;
	font-weight: 700;
	margin-top: 18px;
	cursor: pointer;
}

.dbf-submit-btn:hover {
	background: #23234a;
}

.dbf-success-box {
	text-align: center;
	padding: 20px 0;
	font-size: 18px;
	font-weight: 700;
	color: #14142b;
}
