.dbcew-types,
.dbcew-types * {
	box-sizing: border-box;
}

.dbcew-types {
	--navy: #0E1F3D;
	--off: #F7F8FA;
	--ink: #111827;
	--ink2: #374151;
	--muted: #6B7280;
	--border: #E5E7EB;
	--blue: #1558D6;
	--orange: #E84010;
	--r: 10px;
	--r2: 14px;
	color: var(--ink);
	font-family: inherit;
	line-height: 1.6;
}

.dbcew-types h2,
.dbcew-types h4,
.dbcew-types p {
	margin: 0;
}

.dbcew-types.sb {
	background: #fff;
	border: 1.5px solid var(--border);
	border-radius: var(--r2);
	overflow: hidden;
}

.dbcew-types .sb-head {
	align-items: center;
	background: var(--off);
	border-bottom: 1px solid var(--border);
	display: flex;
	gap: 10px;
	padding: 18px 22px;
}

.dbcew-types .sb-head.has-sub,
.dbcew-types .sb-head:has(.sb-sub) {
	align-items: flex-start;
}

.dbcew-types .sb-head.has-sub .sb-icon,
.dbcew-types .sb-head:has(.sb-sub) .sb-icon {
	margin-top: 1px;
}

.dbcew-types .sb-icon {
	align-items: center;
	background: #F3E5F5;
	border-radius: 8px;
	color: #9333EA;
	display: flex;
	flex-shrink: 0;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.dbcew-types .sb-icon svg,
.dbcew-types .sb-icon i {
	height: 17px;
	width: 17px;
}

.dbcew-types .sb-head h2 {
	color: var(--navy);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0;
}

.dbcew-types .sb-ttl {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.dbcew-types .sb-sub {
	color: var(--muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
	margin: 0;
	max-width: 720px;
	text-wrap: pretty;
}

.dbcew-types .sb-body {
	padding: 22px;
}

/* TOGGLE BUTTONS CSS */
.dbcew-types .types-toggle {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.dbcew-types .st-btn {
	background-color: var(--off);
	border: 1.5px solid var(--border);
	border-radius: 7px;
	color: var(--muted);
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	padding: 7px 14px;
	transition: all 0.14s;
}

.dbcew-types .st-btn.on {
	background-color: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

/* CARDS VIEW CSS */
.dbcew-types .type-cards {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, 1fr);
}

.dbcew-types .tc {
	background-color: var(--off);
	border: 1.5px solid var(--border);
	border-radius: var(--r2);
	padding: 20px;
	transition: all 0.2s;
}

.dbcew-types .tc:hover {
	background-color: #fff;
	border-color: var(--blue);
}

.dbcew-types .tc-icon {
	font-size: 20px;
	margin-bottom: 10px;
}

.dbcew-types .tc-icon svg,
.dbcew-types .tc-icon i {
	height: 20px;
	width: 20px;
}

.dbcew-types .tc h4 {
	color: var(--navy);
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 6px;
	margin-top: 0;
}

.dbcew-types .tc p {
	color: var(--muted);
	font-size: 12px;
	line-height: 1.6;
	margin: 0;
}

@media (max-width: 700px) {
	.dbcew-types .type-cards {
		grid-template-columns: 1fr;
	}
}

/* TABLE VIEW CSS */
.dbcew-types .types-table-wrapper {
	overflow-x: auto;
}

.dbcew-types .dur-table {
	border-collapse: collapse;
	font-size: 13px;
	width: 100%;
}

.dbcew-types .dur-table th {
	background-color: var(--navy);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 11px 14px;
	text-align: left;
	text-transform: uppercase;
}

.dbcew-types .dur-table td {
	border-bottom: 1px solid var(--border);
	padding: 11px 14px;
}

.dbcew-types .dur-table tr:last-child td {
	border-bottom: none;
}

.dbcew-types .dur-table tr:hover td {
	background-color: var(--off);
}

.dbcew-types .dur-type {
	color: var(--navy);
	font-weight: 600;
}

.dbcew-types .dur-val {
	color: var(--orange);
	font-weight: 700;
}

/* NOTICE BLOCK CSS */
.dbcew-types .sb-notice {
	background-color: rgba(21, 88, 214, 0.05);
	border: 1.5px solid rgba(21, 88, 214, 0.15);
	border-radius: var(--r);
	color: var(--blue);
	font-size: 12px;
	margin-top: 12px;
	padding: 11px 14px;
}

.dbcew-types .sb-notice p {
	margin-bottom: 0.5em;
}
.dbcew-types .sb-notice p:last-child {
	margin-bottom: 0;
}

@media (max-width: 600px) {
	.dbcew-types .sb-head {
		padding: 14px 16px;
		gap: 12px;
	}

	.dbcew-types .sb-head h2 {
		font-size: 15px;
		line-height: 1.35;
	}

	.dbcew-types .sb-sub {
		font-size: 12.5px;
		line-height: 1.55;
	}

	.dbcew-types .sb-icon {
		width: 32px;
		height: 32px;
	}
}
