* {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    outline: 0 none;
    font-style: normal;
    cursor: default;
}

body {
    font-family: Yahei;
    margin: 0 auto !important;
    width: 100vw;
    background: #e8f5fd !important;
    max-width: 1024px;
}

.header {
    display: flex;
    justify-content:space-between;
    align-items:center;
    border-top: #146fcf 10px solid;
    padding: 6px 16px;
    background: #ffffff;
}

.content{
    background-image: url(img/bg.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    min-height: 450px;
}

.content-top{
    padding: 0 30px;
  }

.content-top-title{
    padding: 20px 0 6px 0;
    color: #ffffff;
}

.p1{
    font-size: 28px;
}

.p2{
    font-size: 18px;
}

.p3{
    font-size: 14px;
}

.p4{
    font-size: 12px;
    flex: 0 0 auto;
    margin-right: 6px;
}

.bold{
   font-weight: bold;
}

.content-top-info{
   display: flex;
   justify-content:space-between;
   align-items:end;
   padding-bottom: 12px;
   margin-top: 16px;
}

.row-info{
   display: flex;
   align-items: center;
}

.box-img {
     width: 52px;
     height: 52px;
     background: #ffffff;
     border-radius: 6px;
     overflow: hidden;
     text-align: center;
}

.box-img img{
    width: 90%;
    margin-top: 5%;
}

.box-info{
    font-size: 12px;
    padding-left: 6px;
    line-height: 1.2;
    color: #ffffff;
}

.qr-code {
    width: 60px;
    font-size: 12px;
    letter-spacing: -1px;
    background: #ffffff;
    border-radius: 6px;
    text-align: center;
}

.qr-code img{
    max-width: 90%;
}

.content-wrap{
    padding: 16px;
    background: #e4f3fc;
    margin: 0 16px;
    border-radius: 16px;
}

.module{
    margin-bottom: 16px;
}

.module-title {
    background: #146fcf;
    border-radius: 40px 50px 0 0 / 40px 80px 0 0;
    padding: 0 20px 14px 14px;
    min-width: 98px;
    width: fit-content;
    color: #ffffff;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
}

.module-list{
   background: #ffffff;
   border-radius: 16px;
   border: 2px solid #146fcf;
   margin-top: -16px;
   padding: 12px;
   box-shadow: 6px 6px 6px 0 rgba(0,0,0,0.12);
}

.module-list ul li{
   font-size: 12px;
}

.module-list ul li:first-child {
   font-size: 14px;
   font-weight: bold;
}

.list-img {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.list-img li {
    width: 33.3%;
    text-align: center;
    padding-top: 16px;
}

.list-img img{
    width: 60%;
}

.flex-1{
   display: flex;
   align-items:end;
   justify-content: center;
}

.flex-2{
   display: flex;
   align-items:center;
}

.flex-3{
   display: flex;
   align-items:normal;
}

.flex-4{
   display: flex;
   align-items:center;
   justify-content: space-between;
}

.box-img-2 {
   width: 70%;
   text-align: center;
}

.box-img-2 img{
   width: 75%;
}

.box-info-2{
   font-size: 12px;
   line-height: 1.8;
}

.dot{
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.color-1{
   background-color: #EEA539;
}

.color-2{
  background-color: #FFBD2A;
}

.color-3{
  background-color: #FF737B;
}

.color-4{
  background-color: #ECB96D;
}

.box-img-3 {
  width: 128px;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}

.box-img-3 img{
   width: 100%;
   height: 100%;
}

.box-info-3{
   font-size: 12px;
   font-weight: 200;
   margin-left: 12px;
   width: calc(100% - 140px);
}

.line {
   width: calc(100% - 58px);
   flex: 0 1 auto;
   height: 2px;
   background: #e2e2e2;
   margin-left: 0px;
}

.info-worp{
   margin-bottom: 8px;
   line-height: 1.2;
}

.footer{
   border-radius: 16px;
   border: 2px solid #146fcf;
   padding: 8px 0;
   margin: 8px 32px 32px 32px;
}

.footer-title{
   text-align: center;
   background: #e4f3fc;
   margin: 8px;
   margin-top: -24px;
   font-size: 16px;
   font-weight: bold;
   width: 60%;
   margin-left: 20%;
}

.footer-info{
   display: flex;
   flex-direction: column;
   align-items: center;
   font-size: 12px;
   gap: 4px;
}

.footer-info .flex-2 {
   justify-content: center;
   text-align: center;
}

.footer-info img{
   width: 16px;
   height: 16px;
   margin-left: 8px;
}




/* -------------------------------------------------------------------------------------------------- */
/* 五视图 */
div.panorama-div {
	visibility: collapse;
	display: none;
}

.carousel-item{
    min-height: 280px;
	/*max-width: 800px;*/
}

.container-lg {
	max-width: 1000px;
}

.panoramaImages {
  width: 100%;
  height: auto;
}

.carousel-indicators [data-bs-target] {
	background-clip: unset;
    opacity: 1;
}

.carousel-indicators .active {
    opacity: 1;
	background-color: #1E8EFD !important;
}

.carousel-control-next, .carousel-control-prev {
	opacity: 1;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    /* background-image: url("./static/image/prev.svg") no-repeat; */
    /* background-image: url("./static/image/prev.svg") no-repeat top left;
	display: inline-block;
	height: 17px;
	width: 50px; */

    background-image: url("./static/image/prev.svg") no-repeat;
	background-color: #1E8EFD;
    border-radius: 3px;
	/* opacity: 0.8; */
	visibility: hidden;
}

.carousel-indicators li {
	width: 16px !important;
	height: 16px !important;
	border-radius: 100% !important;
	border-top: none !important;
	border-bottom: none !important;
	background-color: #000000 !important;
  }

#diagnosis-screenshot-div {
  width: 100% !important;
}

#diagnosis-summary-div {
  display: block !important;
}

#hr-image-shot {
  height: auto !important;
}

#hr-diagnosis-chart-screen-shot-src {
  width: 95%;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#clinic_logo_image_small {
    width: auto;
    height: 100%;
    max-height: 52px;
    margin-top: 0% !important;
}

#clinic-logo-div {
    height: 52px;
    width: auto;
    min-width: 52px;
    max-width: 150px;
    margin-right: 4px;
}

/* -------------------------------------------------------------------------------------------------- */
/* webviewer */

@media screen and (min-device-width: 1080px) {
	div#viewer-container {
		/* width: 1000px; */
	}
}

.my-float-lower {
	position:fixed;
	width:200px;
	height:36px;
	top:140px;
	right:140px;
	background-color:#0C9;
	color:#FFF;
	border-radius:5px;
	text-align:center;
	box-shadow: 2px 2px 3px #999;
}

.my-float-upper {
	position:fixed;
	width:200px;
	height:36px;
	top:200px;
	right:140px;
	background-color:#0C9;
	color:#FFF;
	border-radius:5px;
	text-align:center;
	box-shadow: 2px 2px 3px #999;
}


.my-float-buccal {
	position:fixed;
	width:200px;
	height:36px;
	top:260px;
	right:140px;
	background-color:#0C9;
	color:#FFF;
	border-radius:5px;
	text-align:center;
	box-shadow: 2px 2px 3px #999;
}


.my-float-scanbody-lower {
	position:fixed;
	width:200px;
	height:36px;
	top:320px;
	right:140px;
	background-color:#0C9;
	color:#FFF;
	border-radius:5px;
	text-align:center;
	box-shadow: 2px 2px 3px #999;
}

.my-float-scanbody-upper {
	position:fixed;
	width:200px;
	height:36px;
	top:380px;
	right:140px;
	background-color:#0C9;
	color:#FFF;
	border-radius:5px;
	text-align:center;
	box-shadow: 2px 2px 3px #999;
}


canvas {
	width: 100% !important;
	height: 100% !important;
	display: block;
  }

  .inside {
	padding: 0px;
	width: 100%;
	height: 100%;
  }
  
 #threeScene {
	width: 100%;
	height: 100%;
}


#miscButtonPanel {
	/* position: absolute;
    right: 10px;
    top: 200px; */
    background-color:rgba(245, 245, 2, 0);
	width: 100%;
} 

#miscButtonDiv {
	position: absolute;
	height: 60px;
	top: 0;
	right: 0;
	width: 100px;
}

#miscButtonGroups,
#miscButtonGroups-dst {
	position: absolute;
    top: 40px;
    right: 20px;
}
#miscButtonGroups .catalog-button-label #lable-true-color,
#miscButtonGroups-dst .catalog-button-label #lable-true-color-dst {
	padding: 8px;
}



#miscButtonDiv #miscButtonGroups #btn-reset,
#miscButtonDiv-dst #miscButtonGroups-dst #btn-reset-dst {
	/* border: 1px solid #fff; */
	/* padding: 10px; */
	border-radius: 4px;
	display: block;
	background-color: #ffffff;
	position: relative;
	margin: 0px;
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: none;
	padding: 0px;
	/* box-shadow: 0 0 5px #333; */
	filter: drop-shadow(0px 2px 2px rgba(51, 51, 51, 0.25));
  }
  
  #miscButtonDiv #miscButtonGroups #btn-reset img,
  #miscButtonDiv-dst #miscButtonGroups-dst #btn-reset-dst img {
	/* transition-duration: 0.2s; */
	transform-origin: 50% 50%;
	padding: 4px;
}


#miscButtonPanel,
#miscButtonPanel-dst {
	/* position: absolute;
    right: 10px;
    top: 200px; */
    background-color:rgba(245, 245, 2, 0);
	width: 100%;
} 


#miscButtonGroups,
#miscButtonGroups-dst {
	position: absolute;
    top: 0px;
    right: 0px;
}


/* catalog buttons */
#catalog-buttons-ul > li,
#catalog-buttons-ul-dst > li
{
	display: inline-block;
  }
  
  input[type="checkbox"][id^="cb"] {
	display: none;
  }

  input[type="checkbox"][id^="cb"]:disabled+label {
	opacity: 0.3;
  }

#catalog-buttons-ul,
#catalog-buttons-ul-dst {
	padding-left: 0;
}


#miscButtonGroups > li {
	display: inline-block;
}

#miscButtonGroups-dst > li {
	display: inline-block;
}

label.catalog-button-label {
	/* border: 1px solid #fff; */
	/* padding: 10px; */
	border-radius: 4px;
	display: block;
	background-color: #ffffff;
	position: relative;
	margin: 0px;
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	/* box-shadow: 0 0 5px #333; */
	filter: drop-shadow(0px 2px 2px rgba(51, 51, 51, 0.25));
  }

  :checked+label {
	/* border-color: #ddd; */
	background-color: #1E8EFD;
  }
 
  :checked+label img#lable-image-lower {
	/* transform: scale(0.9); */
	/* box-shadow: 0 0 5px #333; */
	/* content: url("http://3dscanner.cn/test/static/image/bite1_select.svg"); */
	content: url("./static/image/lower_select.svg");
	z-index: -1;
  }
  :checked+label img#lable-image-upper {
	content: url("./static/image/upper_select.svg");
	z-index: -1;
  }
  :checked+label img#lable-image-bite1 {
	content: url("./static/image/bite1_select.svg");
	z-index: -1;
  }
  :checked+label img#lable-image-bite2 {
	content: url("./static/image/bite2_select.svg");
	z-index: -1;
  }
  :checked+label img#lable-image-scanbody_lower {
	content: url("./static/image/scanbody_lower_select.svg");
	z-index: -1;
  }
  :checked+label img#lable-image-scanbody_upper {
	content: url("./static/image/scanbody_upper_select.svg");
	z-index: -1;
  }

#lable-image-lower,
#lable-image-upper,
#lable-image-scanbody_lower,
#lable-image-scanbody_upper,
#lable-true-color,
#lable-image-zoomfit
 {
	width: 40px;
	height: 40px;
}

#lable-image-lower-dst,
#lable-image-upper-dst,
#lable-image-scanbody_lower-dst,
#lable-image-scanbody_upper-dst,
#lable-true-color-dst,
#lable-image-zoomfit-dst
 {
	width: 40px;
	height: 40px;
}


#lower_normal_checkbox {
    display:inline-block;
    padding: 0 0 0 0px;
    background:url(./static/image/lower_normal.svg) no-repeat;
    height: 44px;
    width: 44px;;
    /* background-size: 50%; */
	background-size: 44px 44px;
}

#lower_normal_checkbox:checked {
    display:inline-block;
    padding: 0 0 0 0px;
    background:url(./static/image/lower_select.svg) no-repeat;
    height: 44px;
    width: 44px;;
    /* background-size: 50%; */
	background-size: 44px 44px;
}

#viewer-container {
  position: relative;
  width: 100%;
  /* height: 89vw; */
  aspect-ratio: 1/1;
  max-height: 970px;
  background: #FFFFFF;
  border: 1px solid #EFEFEF;
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: none;
  margin:auto;    
	/* margin-top: 1rem!important;
	margin-bottom: 1rem!important; */
}


#viewer-container-dst {
  position: relative;
  width: 100%;
  /* height: 89vw; */
  aspect-ratio: 1/1;
  max-height: 970px;
  background: #FFFFFF;
  border: 1px solid #EFEFEF;
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: none;
  margin:auto;    
	/* margin-top: 1rem!important;
	margin-bottom: 1rem!important; */
}

#model-issues-list-ul{
  padding-left: 0.5rem !important;
}

#summary-text-block {
  width: 100%;
  margin: auto;
  color: #555555;
  white-space: pre;
  word-wrap: break-word;
  font-size: 12px !important;
  font-weight: normal !important;
}

.record-type-count {
	margin-left: 1rem;
}

.record-type-count-p {
	display: inline-block;
}

.record-type-desc {
	display: inline-block;
}

.record-type-count-p {
	margin-bottom: -10px;
	height: 32px;
	left: calc(50% - 14px/2 - 160px);
	font-family: 'Arial';
	font-style: normal;
	font-weight: 700;
	font-size: 2rem;
	line-height: 32px;
	/* identical to box height, or 133% */
	color: #000000;
}

.record-type-count-underline {
	height: 16px;
	width: 16px;
	border-radius: 8px;
	margin: auto;
	vertical-align: middle;
	display: inline-block;
}

.record-type-desc {
	margin: auto;
	margin-bottom: 0px;
	vertical-align: middle;
	margin-left: 8px;
	font-family: 'Arial';
	font-style: normal;
	font-weight: 400;
	font-size: 12px;
	line-height: 20px;
	color: #333333;
}

/* 其他模块 - 下载报告按钮 */
.module-other-list {
	text-align: center;
}

#btn-download-pdf {
	background: linear-gradient(135deg, #3498db, #2980b9);
	border: none;
	padding: 10px 25px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
	transition: all 0.3s ease;
	cursor: pointer;
}

#btn-download-pdf:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
}

#btn-download-pdf:active {
	transform: translateY(0);
}

/* 牙菌斑变化模块样式 */
.plaque-change-item {
	margin-bottom: 20px;
}

.plaque-change-item:last-child {
	margin-bottom: 0;
}

.plaque-change-header {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
	font-size: 14px;
}

.plaque-dot {
	width: 10px;
	height: 10px;
	background-color: #146fcf;
	border-radius: 50%;
	margin-right: 8px;
	flex-shrink: 0;
}

.plaque-date {
	font-weight: bold;
	margin-right: 8px;
	color: #333;
}

.plaque-summary {
	color: #666;
}

.plaque-images {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.plaque-image-box {
	flex: 1 1 auto;
	min-width: 100px;
	max-width: calc(33.333% - 8px);
	background-color: #f5f5f5;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.plaque-image-box img {
	width: 100%;
	height: auto;
	max-height: 150px;
	object-fit: contain;
	display: block;
}

/* 智能诊断模块样式 */
.diagnosis-header {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
}

.diagnosis-dot {
	width: 10px;
	height: 10px;
	background-color: #146fcf;
	border-radius: 50%;
	margin-right: 8px;
	flex-shrink: 0;
}

.diagnosis-date {
	font-weight: bold;
	font-size: 14px;
	color: #333;
}

.diagnosis-thumbnails {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.diagnosis-thumb-box {
	flex: 1 1 auto;
	min-width: 80px;
	max-width: calc(20% - 6px);
	background-color: #f5f5f5;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.diagnosis-thumb-box img {
	width: 100%;
	height: auto;
	max-height: 80px;
	object-fit: contain;
	display: block;
}

.diagnosis-chart-container {
	margin-bottom: 16px;
	text-align: center;
}

.diagnosis-chart-container img {
	max-width: 100%;
	height: auto;
}

/* 牙菌斑饼图行 */
.plaque-pie-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 16px 0 12px 0;
	padding: 0 8px;
}

.plaque-pie-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.plaque-pie-canvas {
	width: 72px;
	height: 72px;
}

.plaque-pie-label {
	font-size: 12px;
	color: #666;
	text-align: center;
}

/* 牙菌斑区域指数表格 */
.plaque-region-table {
	display: flex;
	gap: 32px;
	margin: 12px 0 16px 0;
	padding: 12px 16px;
	background: #f8fbff;
	border-radius: 8px;
}

.plaque-region-col {
	flex: 1;
}

.plaque-region-header {
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 8px;
	padding-bottom: 4px;
	border-bottom: 2px solid currentColor;
}

.plaque-index-color {
	color: #e05050;
}

.normal-index-color {
	color: #2196F3;
}

.plaque-region-row {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	padding: 3px 0;
	color: #444;
}

.plaque-region-label {
	color: #666;
}

.plaque-region-value {
	font-weight: 500;
}

/* 3D模型模块样式 */
.mesh-header {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
}

.mesh-dot {
	width: 10px;
	height: 10px;
	background-color: #146fcf;
	border-radius: 50%;
	margin-right: 8px;
	flex-shrink: 0;
}

.mesh-date {
	font-weight: bold;
	font-size: 14px;
	color: #333;
}

.mesh-viewer-date-label {
	position: absolute;
	left: 16px;
	top: 16px;
	font-size: 13px;
	font-weight: 500;
	color: #444;
	pointer-events: none;
	z-index: 10;
}

/* 概述 - Plaque Summary Section */
/* #module-summary {
	background: #fff;
	border-radius: 12px;
	border: 2px solid #2196F3;
	overflow: hidden;
}

#module-summary .module-title {
	background: #2196F3;
	color: #fff;
	padding: 8px 16px;
	border-radius: 0;
	margin-bottom: 0;
}

.plaque-summary-container {
	padding: 16px;
} */

.plaque-summary-item {
	margin-bottom: 12px;
	font-size: 14px;
	color: #333;
	line-height: 1.6;
}

.plaque-summary-item:last-child {
	margin-bottom: 0;
}

.plaque-summary-date {
	font-weight: 500;
	color: #333;
}

.plaque-summary-text {
	color: #666;
}

.plaque-summary-value {
	font-weight: 600;
	color: #2196F3;
}

/* 3D模型查看器容器
.viewer-container {
	position: relative;
	width: 100%;
	height: 400px;
	background-color: #f5f5f5;
	border-radius: 8px;
	overflow: hidden;
}
 */

.viewer-container .inside {
	width: 100%;
	height: 100%;
}

.viewer-container #threeScene-dst,
.viewer-container #threeScene-src {
	width: 100%;
	height: 100%;
}

.viewer-controls {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
}

.viewer-controls ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 8px;
}

.viewer-controls li {
	display: inline-block;
}

.viewer-controls input[type="checkbox"] {
	display: none;
}

.viewer-controls .catalog-button-label {
	cursor: pointer;
	display: block;
}

.viewer-controls .catalog-button-label img {
	width: 40px;
	height: 40px;
}
