:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --text-color: #ccc;
  --bg-color: #f5f5f5;
  --pop-title-bg:#666;
  --pop-title-color:#f0f0f0;
  --pop-content-color:#CCC;
  --pop-main-bg: #333;
  --pop-input-bg: #000;
}

/* 统一页面的基础样式 */
body {
  margin: 0;
  padding: 0;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

/* 菜单样式 */
nav {
  background-color: #333;
  color: #EEE;
  padding: 10px 0;
  display: flex;
}

nav a{
  text-decoration: none;  
  color: #EEE; 
  font-size: 1rem;
  transition: background-color 0.3s; 
}

.nav-right{
  width:240px;
  height:auto;
}
.nav-right>div{
  width:100%;
  height:40px;
  display:flex;
}
.nav-right>div:last-child{
  line-height:40px;
  text-align: center;
}

.nav-right>div>div:first-child{
  height:30px;
  line-height:30px;
  flex:0 80px;
}
.nav-right>div>div:last-child{
  flex:1;
  text-align:right;
}

.nav-right>div>div:last-child div{
  height:30px;
  line-height:30px;
  padding-right:20px;
}
.nav-right>div>div:last-child div:last-child{
  margin-top:-10px;
}

.nav-right  img{
  width:30px;
  height:30px;
  vertical-align: bottom;

}
.nav-right  a{
  font-size:14px;
  text-decoration: underline;  
  text-underline-offset: 4px;
}
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex; /* 使用flex布局让菜单项横向排列 */
  justify-content: center; /* 水平居中对齐菜单项 */
  flex:1;
}

.menu li {
  margin: 0 20px; /* 设置菜单项之间的间距 */
}

.menu a {
  text-decoration: none; /* 去除默认的下划线 */
  color: white; /* 设置文字颜色 */
  font-size: 18px;
  padding: 10px 15px;
  display: block; /* 让每个链接都是块级元素，便于点击 */
  transition: background-color 0.3s; /* 增加过渡效果 */
}

.menu a:hover {
  background-color: #575757; /* 鼠标悬停时改变背景颜色 */
}



/* 页脚样式 */
.footer {
  background-color: #333;
  color: white;
  padding: 20px;
  text-align: center;
  margin-top: auto; /* 确保页脚总是固定在页面底部 */
}

.footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer p {
  margin: 10px 0;
}

/* 容器布局 */
.container {
  display: flex; /* 使用flex布局 */
  min-height: calc(100vh - 140px);
  background-color: #EEE;
}

.fluit-container{
  min-height: calc(100vh - 140px);
  background-color: #FFF;
  border-right:1px solid #EEE;
  border-left:1px solid #EEE;
  width:800px;
  padding:20px 20px;
  margin: 0 auto;
}

/* 左侧 */
.sidebar {
  padding: 10px;
  display:flex;
}

.sidebar-content {
  width:320px;
  background-color: white;
  border-radius: 15px; 
  padding:15px;
}

textarea.prompt{
  padding: 10px;
  width: calc(100% - 30px);
  height: 6rem;
  border-radius: 10px; 
  margin:5px;
  background-color:#fdfdfd4d;;
  color:#EEE;
}
/* 右侧主内容样式 */
.main-content {
  flex: 1; /* 主内容区域占满剩余空间 */
  padding: 10px;
  position: relative;
}

/* 弹出内容样式 */
.popup {
  position: fixed;
  top: 40px;
  left: 330px;
  width: calc(100% - 350px);
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1010;
  color: var(--pop-content-color);
}

.hcenter{
  left: 50%;
  transform: translateX(-50%);
}

/* 弹出内容样式 */
.popup-global{
  position: fixed;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color:var(--pop-content-color);
}

.admin-dlg{
  color:#333;
}

.flex-row-container{
  display: flex;
  justify-content: space-between;
}
.popup-title-bar {
  font-size:1rem;
  border-bottom: 1px solid gray;
  background-color: var(--pop-title-bg);
  color:var(--pop-title-color);
  line-height:32px;
  padding:0 10px;
}

/* 关闭图标样式 */
.close-icon {
  cursor: pointer;
  font-size: 20px;
}

.close-icon:hover {
  color: #333;
}



textarea {
  outline: none;
  border-color: #d1d2d7; /* 焦点时边框变绿色 */
}
textarea:focus {
  border-color: #48f8a6; /* 焦点时边框变绿色 */
}
textarea::placeholder {
  color: #ddd;       
}

textarea.normal::placeholder {
  color: #333;     
  
}

/* 基本按钮样式 */
button {
    padding: 5px 10px;          /* 上下左右的内边距 */
    font-size: 15px;             /* 字体大小 */
    line-height:20px;
    color: #fff;                /* 字体颜色 */
    background-color: #007bff;  /* 背景色（蓝色） */
    border: none;               /* 无边框 */
    border-radius: 5px;         /* 圆角边框 */
    cursor: pointer;            /* 鼠标悬停时显示为指针 */
    transition: background-color 0.3s, transform 0.2s;  /* 动画过渡 */
}

/* 鼠标悬停时的按钮样式 */
button:hover {
    background-color: #0056b3;  /* 悬停时背景色变为深蓝色 */
    transform: scale(1.05);      /* 鼠标悬停时按钮略微放大 */
}

/* 鼠标按下时的按钮样式 */
button:active {
    background-color: #004085;  /* 按下时背景色变为深蓝色 */
    transform: scale(0.98);     /* 按下时按钮稍微缩小 */
}

/* 获取焦点时的按钮样式 */
button:focus {
    outline: none;              /* 去除浏览器默认的聚焦轮廓 */
    box-shadow: 0 0 5px 2px rgba(0, 123, 255, 0.5); /* 添加蓝色阴影效果 */
}

form{
  padding:10px;
}

.row-layout{
  display:flex;
  padding: 10px 10px 2px 10px;
  justify-content: space-between; /* 子元素之间有间距 */
}

.row-layout .left{
  flex:1;
}

.row-layout .right{
  flex:0 0 auto; 
}


.char-limit{
  line-height: 30px;
}

.task-list{
  max-height:400px;
  overflow-y: auto;
  border-top:1px solid rgba(200,200,200,0.8);
  border-bottom:1px solid rgba(200,200,200,0.8);
  padding:5px 5px;
  padding-bottom:15px;
}

.list-title{
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.8rem;
}

.list-item{
  border:1px solid rgba(200,200,200,0.8);
  padding:10px;
  margin-top:10px;
}

.current {
  outline: 1px solid blue;
  box-shadow: 0 0 5px rgba(0, 0, 255, 0.5);
}

.list-item:focus {
  outline: 1px solid blue;
  box-shadow: 0 0 5px rgba(0, 0, 255, 0.5);
}


.task-time{
  line-height: 1.6rem;
}

.task-content{
  display: flex;
  flex-direction: row;

}
.task-content img{
  width:31%;
  margin-right: 5px;
}


div.default{
  border:1px solid red;
  height:100%;
  display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center;     /* 垂直居中 */
}



.draft-box .title{
  line-height: 30px;
}

.draft-list{
  padding:10px;
  padding-left: 0px;
  padding-top: 0px;
  border:1px solid rgba(200,200,200,0.8);
}
.refined-list{
  border: 1px solid rgba(200, 200, 200, 0.8);
  padding:10px;
  padding-left: 0px;
  padding-top: 0px;
}


.draft-container {
  position: relative;
  display: inline-block; 
  margin-left:10px;
  margin-top:10px;
  width:140px;
  height:140px;
  border-radius: 12px; 
  background-color: rgb(30,30,30);

}

.draft-container img {
  display: block; 
  width:140px;
  height:140px;
}

/* 悬浮文字的样式 */
.progress {
  position: absolute;   
  top: 10px;
  right: 10px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0px 0px 0px 10px;
  border-radius: 3px;
  pointer-events: none;
}


.module-container{
  width:100%;
  height: calc(100vh - 115px);
  background-color: rgb(30,30,30);
  display:flex;
}

.module-container .viewer-left {
  flex: 1; 
  height: 100%; 
}

.module-container .viewer-right {
  width: 260px; 
  border-left:1px solid rgb(120,120,120);
}

.btn-box{
  display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center;     /* 垂直居中 */
  height: 100px;           /* 设置容器高度 */
}

#btn-refine{
  height: 40px;
  width:80px;
}

.panel{
  width:100%;
  height:100%;

}

div.form-row{
  line-height: 30px;
  padding: 5px 10px ;
  display: flex;
  position:relative;
}

div.higher-row{
  line-height: 30px;
  padding: 12px 10px ;
}

div.form-label-row{
  height: 20px;
  line-height: 20px;
  padding: 10px 10px 0px 10px;
  display: flex;
}

span.label{
  color:#EEE;
}

input.form-control,textarea.form-control{
  background-color: #f9f9f94e;
  color:#EEE;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  padding: 0px 8px;
  height:30px;
  flex:1;
}
textarea.form-control{
  padding-top:5px;
}

span.inputlabel{
  display:inline-block;
  width:130px;
  text-align: right;
  padding-right: 10px;
}

input.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(108, 92, 231, 0.3);
}

input.max-width{
  width:100%;
}

div.errBox{
  color:red;
  position:absolute;
  top: 36px;
  padding-left: 5px;
}

span.unit{
  color:#EEE;
  margin-left: 5px;
  text-align: left;
}
span.option{
  display: inline-block;
  background-color: #f9f9f94e;
  border-radius: 3px;
  text-align: center;
  color:#EEE;
  flex:1 ;
  cursor:pointer;
  margin-right:1px;
  margin-left:1px;
}
span.option:hover{
  color:white;
  background-color: #333;
}

span.currentOption{
  color: #5ce775;
  background-color: #333;
}

div.button-line{
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 30px;
  padding: 10px 20px;
}

#texture-prompt{
  width: 100%;
  background-color: #f9f9f94e;
  color: #EEE;
  height: 8rem;
  border-radius: 6px;
  outline: none;
  border-color: #d1d2d7;
  resize: none;
}
#charCount{
  color: #eee;
  display: block;
  width: 100%;
  text-align: right;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none; /* 默认隐藏 */
}
.modal-open {
  display: block;
}


.toast{
  position : fixed;
  top: 20px;
  right: 20px;
  padding : 10px 20px;
  background : #dedcdc;
  border-radius : 4px;
  z-index: 9999;
  color:white;

  display: flex;
  align-items: center;
  min-width: 200px;
  margin-top: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  animation: fadein 0.5s, fadeout 0.5s 4.5s;
}

 /* 动画 */
@keyframes fadein {
  from { opacity: 0;  transform: translateY(-10px); }
  to   { opacity: 1;  transform: translateY(0);}
}

@keyframes fadeout {
  from { opacity: 1;  transform: translateY(0);}
  to   { opacity: 0;  transform: translateY(-10px);}
}

.success{
  background-color: #4caf50; 
}
.warn{
  background-color: #ff9800;
}

.error{
  background-color: #f44336;
}

.pagebar{
  text-align: center;
  margin-top:10px;
  line-height: 30px;
  padding: 5px 10px;
}
.pagebar>input{
  text-align: center;
  font-size: 20px;
  color: #A7A7A7;
}
.pagebar>span{
  display: inline-block;
  background-color: #EEE;
  border-radius: 3px;
  text-align: center;
  color:#333;
  cursor:pointer;
  font-family: 'Segoe UI','Inter', sans-serif;
}



.solid{
  width:60px;
}

#profile>div{
  height:28px;
  line-height: 28px;
}

table.normal{
  width:90%;
  margin:10px auto;
  border-collapse: collapse; 
}

td, th {
  border-bottom: 1px solid #ccc; 
  padding: 8px;
}

#points-history table th:nth-child(1) {
  text-align: left;
}
#points-history table th:nth-child(2) {
  text-align: left;
}
#points-history table td:nth-child(3) {
  text-align: center;
}
#points-history table td:nth-child(4) {
  text-align: center;
}

#invite_tb  th:nth-child(1) {
  text-align: left;
}
#invite_tb  th:nth-child(2) {
  text-align: left;
}
#invite_tb  th:nth-child(3) {
  text-align: left;
}
#invite_tb  td:nth-child(5) {
  text-align: center;
}
#invite_tb  td:nth-child(6) {
  text-align: center;
}

.vertical-menu {
  width: 200px;
  border: 1px solid #ccc;
}

.vertical-menu a {
  background-color: #f9f9f9;
  color: black;
  display: block;
  padding: 12px;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.vertical-menu a:hover {
  background-color: #ddd;
}

.vertical-menu a.active {
  background-color: #04AA6D;
  color: white;
}

#mv-bottom{
  flex:0 0 30px;line-height:30px;color:white; display:flex; justify-content: space-between;
}
#mv-bottom div:nth-child(1){
  text-align:right;padding-left:10px;padding-right:10px;
}
#mv-bottom div:nth-child(2){
 padding-left:10px;padding-right:10px;
}
#mv-bottom a{
  color: white;
}

.seed::placeholder{
  color:rgba(249,249,249,0.6);
}

.container-2col{
  display:flex;
  flex-direction: row;
  min-height: calc(100vh - 140px);
  background-color: #FFF;
  border-right:1px solid #EEE;
  border-left:1px solid #EEE;
  padding:20px 20px;
}


.left-part{
  width: 70%;
  padding: 10px;
}

.right-part{
  width: 30%;
  padding: 10px;
}

#tb_crawltarget {
  width: 100%;
  table-layout: fixed;  
}
#tb_crawltarget td,
#tb_crawltarget th{
  padding:5px;
  overflow:hidden;
  white-space: nowrap;
  text-overflow: ellipsis;

}


#tb_crawltarget th:nth-child(2),
#tb_crawltarget td:nth-child(2) { 
  text-align: center;
}

#tb_crawltarget th:nth-child(3),
#tb_crawltarget td:nth-child(3) { 
  text-align: center;
}
#tb_crawltarget th:nth-child(4),
#tb_crawltarget td:nth-child(4) { 
  text-align: center;
}
#tb_crawltarget th:nth-child(5),
#tb_crawltarget td:nth-child(5) { 
  text-align: center;
}

#tb_crawlresult{
  width:80%;
  margin:10px auto;
}
#tb_crawlresult td, #tb_crawlresult th {
  padding: 3px;
  height: 30px;
  line-height: 30px;
}

#tb_crawlresult th:nth-child(1),
#tb_crawlresult td:nth-child(1) { 
  text-align: center;
}

#tb_crawlresult th:nth-child(2),
#tb_crawlresult td:nth-child(2) { 
  text-align: center;
}

div.drop-area {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1px 8px;
  text-align: center;
  width:50%;
  color: #333
}

#drop-area {
  border: 2px dashed #ccc;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  transition: background 0.2s;
  width:80%;
  margin:20px auto;
  color: rgba(255, 255, 255, 0.8);
}

#drop-area.highlight {
  background: #f0f0f0;
  border-color: #999;
}

#upload-img-listwrapper{
  width:calc(100% - 20px);
  overflow: hidden;
  padding:10px;
}

#upload-img-list{
  width:100%;
  overflow: hidden;
  display: flex;
  flex-direction: row;
}
#upload-img-list div{
  position:relative;
  width:30%;
  padding-right: 8px;
}
svg.delete-icon{
  color:rgba(255,255,255,0.7);
  position:absolute;
  right:5px;
  top:5px;
}
svg.delete-icon:hover{
  color:rgba(255,255,255,1);
}
#upload-img-list img{
  width:100%;
  border-radius: 10px;
  border:1px solid rgba(255,255,255,0.6);
}

#notify_tb  td:nth-child(1) {
  text-align: center;
}
#notify_tb  td:nth-child(2) {
  text-align: center;
}
#notify_tb  td:nth-child(3) {
  text-align: center;
}
#notify_tb  td:nth-child(4) {
  text-align: center;
}
#notify_tb  td:nth-child(5) {
  text-align: center;
}
#notify_tb  td:nth-child(6) {
  text-align: center;
}



#share_tb  th:nth-child(1) {
  text-align: left;
}
#share_tb  th:nth-child(2) {
  text-align: left;
}
#share_tb  th:nth-child(3) {
  text-align: center;
}
#share_tb  td:nth-child(3) {
  text-align: center;
}
#share_tb  td:nth-child(4) {
  text-align: center;
}
#share_tb  td:nth-child(5) {
  text-align: center;
}

#share_tb td img{
  max-height:32px;
}

#module_tb td img {
  max-height: 32px;
}

#shareViewer{
  z-index: 1020;
}

#shareViewer form{
  background-color: rgb(30, 30, 30);
}

#thumbnail-list{
  padding: 0px;
  max-height: 64px;
}
#thumbnail-list img{  
  max-height:64px;
  margin-left:10px;
}
#originImg-list{
  padding: 0px;
  max-height: 64px;
}
#originImg-list img{
  max-height:64px;
  margin-left:10px;
}

#module-addr-box{
  line-height: 1rem;
  padding:5px 10px;
  display: inline-block;
  flex:1;
  overflow: hidden;
  width:50%;
}

.share-list-panel{
  display: flex;
  flex-wrap: wrap;  
  gap: 20px;  
  padding: 10px;  
  background-color: #212121;
}


.share-box{
  width: 300px; /* 固定宽度 */
  position:relative;
  color: var(--text-color);
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* 平滑过渡效果 */
  box-shadow: 0 2px 4px rgba(241, 198, 6, 0.1); /* 初始阴影 */
}

.share-box:hover{
  transform: translateY(-10px); /* 向上移动10像素 */
  box-shadow: 0 4px 8px rgba(241, 198, 6, 0.8); /* 悬停时阴影加深 */
}

.share-box>img{
  max-width:300px;
  max-height:300px;
  margin: 0px auto;
}

.share-box .share-title{
  position: absolute;
  top: 5px;
  width: 100%;
  text-align: center;
}

.share-bottom{
  display: flex;
  padding: 0px 10px;
}

.share-module-bottom{
  display: flex;
  padding: 0px 20px;
  height: 40px;
}

.share-module-bottom .share-icon-box{
  cursor: pointer;
}
.share-bottom .share-icon-box{
  cursor:pointer;
}
.share-bottom >img{
  width:36px;
  height:36px;
  flex:0;
}
.share-bottom .share-author{
  flex:1;  
  line-height: 36px;
  padding-left:5px;
}
.share-icon-box{
  flex:0;
  width:100px;
  display:flex;
  align-items: center;
  gap: 5px;
  margin-left: 15px;
}

.share-icon-box > span:nth-child(1){
  font-size:24px;
}
.share-icon-box > span:nth-child(2){
  font-size:14px;
  line-height: 24px;;
}

.section{
  padding:5px 10px;
  margin-top:5px;
}

.author-section{
  display: flex;
  align-items: center;
}
.title-section{
  font-size:16px;
  font-weight: bold;
}
.section-title{
  font-size:16px;
  font-weight: bold;
  line-height:30px;
}
.image-section>img{
  max-width:60px;
  max-height:60px;
  margin-top:8px;
}
img.avatar{
  width: 36px;
  height: 36px;
}


 /* .popup-global .form-control{
  background-color: var(--pop-input-bg);
  width: 100%;
  height: 30px;
}  */

.share-module-right{
  padding:10px;
}
.comment-list-section{
  margin-top: 20px;
}
.comment-box{
  display:flex;
  flex-direction: row;
  border-bottom:1px solid gray;
  padding-bottom:10px;
  padding-top:10px;
}
.comment-box>img{
  width: 30px;
  height:30px;
  flex:0 ;
  margin-top:5px;
}
.comment-box>div{
  flex:1;
}
.comment-box>div>div:nth-child(1){
  height: 30px;
  line-height: 30px;
  padding:0px 10px;
}
.comment-box>div>div:nth-child(1)>span:nth-child(2){
  margin-left:30px;
}
.comment-box>div>div:nth-child(2){
  padding:5px 10px;
}

.more-box{
  display:flex;
  flex-direction: row;
  border-bottom:1px solid #666;
  padding-bottom:10px;
  padding-top:10px;
}
.more-box>img{
  width: 112px;
  height:112px;
  flex:0 ;
}
.more-box>div{
  flex:1;
  display:flex;
  flex-direction: column;
}
.more-box>div>div{
  height: 30px;
  line-height: 30px;
  padding:0px 20px;
  flex:0;
}
.more-box>div>div:nth-child(3){
  flex:1;
}
.more-box>div>div:nth-child(4){
  display: flex;
  flex-direction: row;
}

input.normal ,textarea.normal{
  color:#333;
  background-color: white;
}

div.hide, .hide{
  display: none;
}
