.add-cell-btn {
	border-radius: 5px;
	font-size: 15px;
	cursor: pointer;
	border: none;
	width: 40px;
	height: 27px;
	background-color: #fff;
	border: #f5f5f5 3px solid;
	color: #ddd;
	font-weight: bold;
}

.add-cell-btn:hover{
	border: #ddd 3px solid;
}

.cmd {
	color: #3582e8;
	font-weight: bold;
}

#template_menu {
	color: #3582e8;
}

#tempalte_dialog{
	width: 600px;
}

.template-body {
	display: grid; 
	grid-template-columns: repeat(2, 1fr);
}

.template-body img{
	padding: 10px;
	width: 250px;
	height: 150px;
	background-color: #fff;
	margin-bottom: 10px;
	border-radius: 10px;
	object-fit: contain;
}

.template-body img:hover{
	background-color: palegoldenrod;
}

#table-name {
	height: 30px;
}

#table-list-box {
	padding: 5px 0;
	margin: 0;
	list-style: none;
}

#table-list-box li{
	padding: 10px;
	background-color: #fff;
	margin: 5px 0;
	border-radius: 5px;
	display: flex;
	justify-content: space-between;
}

#table-list-box li:hover{
	background-color: #f6f9fc;
}

#new_table_rows_input {
	height: 30px;
}

#new_table_columns_input {
	height: 30px;
}

#username {
	padding: 10px 15px;
	text-decoration: none;
}

#username:hover {
	background-color: #f5f5f5;
	border-radius: 5px;
	cursor: pointer;
}

#logout {
	padding: 10px 15px;
}

#logout:hover {
	background-color: #f5f5f5;
	border-radius: 5px;
	cursor: pointer;
}

.top-right {
	display: flex;
	flex-direction: row;
	align-items: center;
	font-size: 12px;
	color: #747474;
	margin-right: 20px;
}

.delete_btn {
	margin-left: 20px;
    background-color: #e20000;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
	font-size: 12px;
	cursor: pointer;
}

.delete_btn:hover{
	opacity: 0.8;
}

.table-list-name {
	max-width: 300px;
	overflow: hidden;
	white-space: nowrap;
}

.li-selected {
	border: 1px solid #aaaa7f;
	border-left: 5px solid #aaaa7f; /* 可选：左边高亮线 */
}

.code-tip {
	margin-left: 5px;
}

#heightlight {
	width: 78px;
	height: 30px;
	margin-bottom: 5px;
}

#selected_fontSize {
	all: unset;
	display: inline;
	width: 75px;
}

#selected_border_thickness {
	all: unset;
	display: inline;
	width: 35px;
	background-color: #f5f5f5;
	border-radius: 5px;
	padding-left: 5px;
}

#selected_border_thickness:hover{
	background-color: #fff;
}

.img-selected {
	border: 2px solid #ddd;
}

#selected_width_ratio {
	all: unset;
	display: inline;
	width: 35px;
	background-color: #f5f5f5;
	border-radius: 5px;
	padding-left: 5px;
}

#selected_width_ratio:hover {
	background-color: #fff;
}

.ad-cell-v {
	height: 45%;
	width: 100%;
}

.ad-cell-v a {
	width: 100%;
	height: 100%;
}

.ad-cell-v img {
	width: 100%;
	height: 100%;
	object-fit: contain
}

.ad-seat-v {
	height: 45%;
	width: 100%;
}

.ad-seat-v img {
	height: 100%;
	width: 100%;
	object-fit: contain
}

.ad-seat-v a {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(0, 0, 0, 0);
	font-size: 45px;
	font-weight: bold;
}

.ad-seat-v a:hover {
	color: #ddd;
}

.ad-seat-v a:visited {
	color: #ddd;
}

.ad-seat-v:hover {
	border: 2px dashed #d5d5d5;
	border-radius: 5px;
}

.ad-title {
	color: #555; 
	margin-bottom: 5px;
}

@media (max-width:1200px) {
	#ad-seat-v-box {
		display: flex;
		flex-direction: row;
		justify-content: space-around;
		height: 100%;
	}
	
	.ad-seat-v {
		height: 100%;
		width: 45%;
	}
	
	.ad-cell-v {
		height: 100%;
		width: 45%;
	}
	
	.ad-title {
		display: none;
	}
	
	.ad-seat-v a {
		width: 100%;
		height: 100%;
	}
}

.ad-dialog-cell {
	margin-bottom: 25px;
}

.ad-label {
	font-weight: bold;
}