/* DNS结果容器 */
.raw-data-dns {
	white-space: inherit;
	word-break: break-all;
	box-shadow: 0 1px 3px #9e9e9e, 0 0 1px #9e9e9e, 0 0 1px #9e9e9e;
	word-wrap: break-word;
	border: 1px solid #ffffff;
	border-radius: 8px;
	line-height: 1.5;
	outline: 3px solid transparent;
	overflow: auto;
	transition: all 190ms ease;
}

.dns-result-container {
}

/* 头部样式 */
.dns-header {
	padding: 15px 0 18px 10px;
}

.dns-header h3 {
	margin: 0 0 8px 0;
	align-items: center;
}

.dns-status {
	margin: 5px 0 0 0;
	display: flex;
	opacity: 0.9;
	font-size: .7em;
	align-items: center;
}

/*  Record区块样式 */
.record-section {
	overflow: hidden;
}

.record-header {
	background: #ffffff url(/public/images/bg.png);
	padding: 0 0 0 8px;
	display: flex;
	align-items: center;
	gap: 3px;
}

.record-icon {
}

.record-type {
	margin: 0;
	color: #2c3e50;
}

.record-count {
	color: #7f8c8d;
	margin-left: auto;
	font-size: .9em;
	text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.record-number {
    padding: 3px 9px;
    background: #f5f5f5;
}

.recordword {
    background: white;
    padding: 3px 5px;
    min-width: 63px;
    text-align: center;
}

.record-list {
	padding: 0;
}

.record-item {
	display: flex;
	align-items: flex-start;
	padding: 8px 16px;
	flex-direction: column;
}

.record-item:last-child {
	border-bottom: none;
}

.record-index {
	background: #3498db;
	color: white;
	border-radius: 4px;
	padding: 4px 8px;
	min-width: 30px;
	text-align: center;
}

.record-details {
	flex: 1;
	min-width: 0;
}

.record-ttl {
	width: 100%;
	text-align: right;
	color: #7f8c8d;
	white-space: nowrap;
	font-size: .9em;
}

/* 特定 Record类型样式 */
.mx-records {
	margin: 0px;
}

.mx-record {
	list-style: decimal outside;
}

.mx-priority {
}

.mx-target {
	margin-right: 10px;
}

.soa-records .soa-field {
	display: flex;
	margin-bottom: 4px;
	align-items: baseline;
}

.soa-key {
	min-width: 120px;
}

.soa-value {
}

.txt-records .txt-record {
	word-break: break-all;
	list-style: decimal outside;
}

.default-records .default-record {
	padding: 2px 0;
	list-style: decimal outside;
}

li::marker {
    content: counter(list-item) "."; /* 将 "1." 改为 " " */
}

/* 加载和错误状态 */
.dns-loading {
	text-align: center;
	padding: 20px;
}

.dns-error {
	margin: 20px;
}

.dns-error h3 {
	margin: 0;
	display: flex;
	align-items: center;
}

.dns-no-data {
	text-align: center;
	padding: 40px;
	font-style: italic;
}