span.subdomain.preview {
	text-decoration: dotted;
	text-decoration-line: underline;
}

span.flash.success {
	background: url(../images/true.png) 8px 50% no-repeat;
	background-color: #dfffdf;
	border-color: #9fcf9f;
	color: #005f00;
	padding: 0px 4px 0px 30px;
}
span.flash.error {
	background: url(../images/exclamation.png) 8px 50% no-repeat;
	background-color: #ffe3e3;
	border-color: #d88;
	color: #880000;
	padding: 0px 4px 0px 30px;
}

span.spliter {
	margin: 0 5px 0 5px;
	color: #bdb7b7;
}

/* 仅在 非触摸设备 + 大屏幕 时生效（更贴近“标准浏览器模式”的交互场景） */
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
	p.form-row {
		display: flex;
		align-items: flex-start;
		gap: 6px;
	}

	p.form-row textarea#tenant_description {
		margin-left: -3px;
	}

}

table td.name span {
	/* background-color: yellow!important; */
	/* cursor: pointer!important; */
}

/* 按钮禁用状态 */
#create-btn:disabled, #send-sms-btn:disabled {
	background-color: #ededed; /* 禁用色：浅灰色 */
	color: #9ca3af; /* 文字色：中灰色，降低对比度 */
	cursor: not-allowed; /* 鼠标提示：“禁止”图标 */
	opacity: 0.8; /* 半透明，强化“不可用”感知 */

	/* 取消 hover 效果 */
	box-shadow: none;
}

span.stars {
  display: inline-block;
  width: 65px; /* 5颗星，每颗13px */
  height: 13px;
  background: url(../images/stars.png) no-repeat 0px 50%;
  /* vertical-align: middle; */
}

span.stars-5 { background-position:   0px 50%; }
span.stars-4 { background-position: -13px 50%; }
span.stars-3 { background-position: -26px 50%; }
span.stars-2 { background-position: -39px 50%; }
span.stars-1 { background-position: -52px 50%; }
span.stars-0 { background-position: -65px 50%; }


table.tenant-details {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  font-size: 14px;
}

table.tenant-details th {
  width: 120px;
  text-align: right;
  padding: 8px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ddd;
  color: #333;
}

table.tenant-details td {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  line-height: 1.6em;
}

table.tenant-details tr:last-child td,
table.tenant-details tr:last-child th {
  border-bottom: none;
}

.status {
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
}

.status.active {
  background-color: #d4f4dd;
  color: #2e7d32;
}

.status.suspended {
  background-color: #fdecea;
  color: #c62828;
}

.status.pending {
  background-color: #fff3cd;
  color: #856404;
}

div.rating .comment {
    padding-left: 32px;
}

div.comment h4 img.gravatar {
    margin-left: -32px;
}

div#tenant-card {
    border: 1px solid;
    border-radius: 2px;
    border-color: #dbdbdb;
    margin-bottom: 15px;
    padding: 0;
}

div#tenant-card .external {
    background-position: 0% 60%;
    background-repeat: no-repeat;
    padding-left: 12px;
    background-image: url(../images/external.png);
}

div#tenant-card table {
    margin: 0;
    padding: 0;
}

.tenant-detail-page {
  padding: 20px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.page-title {
  font-size: 1.5rem;
  margin: 0;
}

.page-actions a {
  margin-left: 10px;
}

.card {
  margin-bottom: 20px;
}

.card-header {
  background-color: #f4f4f4;
  padding: 10px;
}

.card-title {
  font-size: 1.25rem;
  margin: 0;
}

.card-body {
  padding: 15px;
  background-color: #fff;
}

.attribute-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.attribute-item {
  margin-bottom: 10px;
}

.attribute-label {
  font-weight: bold;
  color: #333;
}

.attribute-value {
  margin-left: 10px;
  color: #666;
}

.storage-table {
  width: 100%;
  border-collapse: collapse;
}

.storage-table th, .storage-table td {
  padding: 8px;
  border: 1px solid #ddd;
  text-align: left;
}

.storage-table th {
  background-color: #f9f9f9;
}

.total-storage {
  font-weight: bold;
  background-color: #e9ecef;
}

.empty-state {
  color: #777;
  text-align: center;
  font-size: 1.1rem;
}

