
.dtv-payout-grid,
.dtv-billing-grid {
	margin-top: 22px;
}

.dtv-payout-grid form,
.dtv-money-settings-advanced {
	display: grid;
	gap: 14px;
}

.dtv-payout-grid label,
.dtv-billing-grid label {
	display: grid;
	gap: 7px;
	color: #d4d4dc;
	font-size: 13px;
	font-weight: 700;
}

.dtv-payout-grid input,
.dtv-payout-grid select,
.dtv-payout-grid textarea,
.dtv-billing-grid input,
.dtv-billing-grid textarea {
	width: 100%;
	border: 1px solid #30303b;
	border-radius: 12px;
	background: #101018;
	color: #fff;
	padding: 12px 13px;
	outline: none;
}

.dtv-payout-grid input:focus,
.dtv-payout-grid select:focus,
.dtv-payout-grid textarea:focus,
.dtv-billing-grid input:focus,
.dtv-billing-grid textarea:focus {
	border-color: #8b5cf6;
	box-shadow: 0 0 0 3px rgba(124,58,237,.16);
}

.dtv-payment-history {
	display: grid;
	gap: 10px;
}

.dtv-payment-history article {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 18px;
	padding: 14px;
	border: 1px solid #292934;
	border-radius: 14px;
	background: rgba(10,10,16,.6);
}

.dtv-payment-history article > div {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.dtv-payment-history article > div:last-child {
	justify-items: end;
	text-align: right;
}

.dtv-payment-history strong {
	color: #fff;
}

.dtv-payment-history small {
	color: #9ca3af;
	overflow-wrap: anywhere;
}

.dtv-payment-history b {
	display: inline-flex;
	width: max-content;
	padding: 4px 9px;
	border-radius: 999px;
	background: rgba(124,58,237,.16);
	color: #c4b5fd;
	font-size: 11px;
	text-transform: capitalize;
}

.dtv-payment-history b.is-paid,
.dtv-payment-history b.is-active,
.dtv-payment-history b.is-processed {
	background: rgba(16,185,129,.15);
	color: #6ee7b7;
}

.dtv-payment-history b.is-failed,
.dtv-payment-history b.is-rejected,
.dtv-payment-history b.is-halted {
	background: rgba(239,68,68,.15);
	color: #fca5a5;
}

.dtv-payment-history b.is-processing,
.dtv-payment-history b.is-requested,
.dtv-payment-history b.is-past_due {
	background: rgba(245,158,11,.15);
	color: #fcd34d;
}

.dtv-payment-history button {
	border: 0;
	background: transparent;
	color: #c4b5fd;
	padding: 4px 0;
	font-weight: 800;
	cursor: pointer;
}

.dtv-payment-history button:hover {
	color: #fff;
}

.dtv-money-modal__panel header {
	margin-bottom: 18px;
}

.dtv-money-modal__panel header span {
	color: #c4b5fd;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .1em;
}

.dtv-money-modal__panel header h2 {
	margin: 5px 0 0;
}

html.dtv-payment-modal-open {
	overflow: hidden;
}

.dtv-gateway-state {
	display: inline-flex;
	padding: 6px 10px;
	border-radius: 999px;
}

.dtv-gateway-state.is-ready {
	background: #dcfce7;
	color: #166534;
}

.dtv-gateway-state.is-off {
	background: #fee2e2;
	color: #991b1b;
}

.dtv-money-admin-v2 .dtv-money-admin-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0;
}

.dtv-money-admin-v2 .dtv-money-admin-tabs a {
	text-decoration: none;
	padding: 9px 13px;
	border: 1px solid #dcdcde;
	border-radius: 999px;
	background: #fff;
	color: #2c3338;
	font-weight: 700;
}

.dtv-money-admin-v2 .dtv-money-admin-tabs a.is-active {
	background: #7c3aed;
	border-color: #7c3aed;
	color: #fff;
}

.dtv-money-admin-v2 .dtv-money-admin-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0,1fr));
	gap: 14px;
	margin: 18px 0;
}

.dtv-money-admin-v2 .dtv-money-admin-stats > div {
	padding: 18px;
	border: 1px solid #dcdcde;
	border-radius: 14px;
	background: #fff;
	display: grid;
	gap: 7px;
}

.dtv-money-admin-v2 .dtv-money-admin-stats span {
	color: #646970;
}

.dtv-money-admin-v2 .dtv-money-admin-stats strong {
	font-size: 25px;
}

.dtv-money-settings-advanced {
	max-width: 820px;
	grid-template-columns: repeat(2,minmax(0,1fr));
}

.dtv-money-settings-advanced > h2,
.dtv-money-settings-advanced > p,
.dtv-money-settings-advanced > button,
.dtv-money-settings-advanced > .dtv-admin-check {
	grid-column: 1 / -1;
}

.dtv-money-settings-advanced label {
	display: grid;
	gap: 6px;
	font-weight: 600;
}

.dtv-money-settings-advanced input:not([type="checkbox"]),
.dtv-money-settings-advanced select {
	width: 100%;
}

.dtv-money-admin-table--advanced > div {
	grid-template-columns: .7fr 1.15fr 1.2fr 1.1fr 1.5fr;
}

.dtv-money-admin-table--advanced form {
	display: grid;
	gap: 6px;
}

@media (max-width: 900px) {
	.dtv-money-admin-v2 .dtv-money-admin-stats,
	.dtv-money-settings-advanced {
		grid-template-columns: 1fr 1fr;
	}
	.dtv-money-admin-table--advanced > div {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.dtv-payment-history article {
		align-items: flex-start;
	}
	.dtv-payment-history article > div:last-child {
		justify-items: start;
		text-align: left;
	}
	.dtv-payment-history article,
	.dtv-money-admin-v2 .dtv-money-admin-stats,
	.dtv-money-settings-advanced {
		grid-template-columns: 1fr;
		flex-direction: column;
	}
}
