:root {
  --primary: #2563eb;
  --primary-light: #e0edff;
  --primary-soft: #f3f6ff;
  --primary-dark: #1d4ed8;
  --bg: #f3f4f6;
  --border: #d4d7e3;
  --text-main: #111827;
  --text-sub: #6b7280;
  --danger: #ef4444;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

body {
  background: radial-gradient(circle at top left, #e0e7ff 0, #f9fafb 45%, #eef2ff 100%);
  color: var(--text-main);
  overflow-x: hidden; /* 防止小屏出现横向滚动导致错位 */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}


.empty{ 
    display: block;
    background: url(img/empty.png) no-repeat center;
    width: 100%;
    height: 300px;
}

#userStatus{
    display: flex;
    align-items: center;
}
#userStatus a{
    color: #fff;
}
#userStatus .logout{
    padding-left: 30px;
}
.app-container {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-header {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(120deg, #1d4ed8, #2563eb);
  color: #f9fafb;
}

.app-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.app-subtitle {
  font-size: 12px;
  opacity: 0.9;
}

.app-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px 12px 18px;
}

.left-panel,
.right-panel {
  padding: 0;
}

.left-panel {
  width: 100%;
  background: transparent;
}

.right-panel {
  width: 100%;
  background: transparent;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 18px 16px 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  margin-bottom: 4px;
}

.tabs {
  display: flex;
  border-radius: 999px;
  padding: 3px;
  background: var(--primary-soft);
  margin-bottom: 16px;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-sub);
  user-select: none;
  transition: all 0.15s;
}

.tab.active {
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}

.form-group {
  margin-bottom: 12px;
}

.form-label {
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--text-sub);
}

.form-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  background: #f9fafb;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, box-shadow 0.15s, transform 0.05s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 10px 24px rgba(26, 115, 232, 0.4);
  transform: translateY(-1px);
}

.btn-primary:active {
  box-shadow: 0 4px 10px rgba(26, 115, 232, 0.35);
  transform: translateY(0);
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

.btn-sm {
  padding: 4px 10px;
  font-size: 12px;
}
.history{
    text-decoration:none;
    font-size: 12px;    
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.login-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-sub);
}

.status-text {
  font-size: 12px;
  margin-top: 4px;
  color: var(--primary-dark);
}

.upload-section {
  margin-top: 18px;
}

.upload-box {
  display: flex;
  align-items: stretch;
  gap: 12px;
  border-radius: 16px;
  padding: 12px 14px;
  background: #f9fbff;
  font-size: 13px;
  color: var(--text-sub);
  border: 1px solid rgba(219, 234, 254, 0.9);
  cursor: pointer;
}

.upload-box input[type="file"] {
  display: none;
}

.upload-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.upload-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

.upload-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}



/* 上传类型选项卡 */
.upload-type-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.upload-type-tab {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-type-tab:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.3);
}

.upload-type-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.pill {
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.pill-ghost {
  background: #f1f5f9;
  color: var(--text-sub);
  border-color: #e5e7eb;
}

.pill-primary {
  background: #fff;
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.8);
  cursor: pointer;
}

.pill-primary:hover {
  background: var(--primary);
  color: #fff;
}

.upload-line {
  width: 16px;
  display: flex;
  justify-content: center;
}

.upload-line::before {
  content: "";
  width: 0;
  border-left: 2px dashed rgba(59, 130, 246, 0.7);
  border-radius: 999px;
  height: 120px;
}

.upload-content {
  flex: 1;
}

.upload-text-main {
  margin-bottom: 10px;
  line-height: 1.5;
}

.upload-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-sub);
}

.upload-filename {
  margin-top: 6px;
  font-size: 12px;
  color: var(--primary-dark);
  word-break: break-all;
}

.upload-progress {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-sub);
}

.upload-progress-bar {
  margin-top: 6px;
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.upload-progress-inner {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #1d4ed8, #2563eb);
  transition: width 0.2s ease;
}

.right-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.right-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

.tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.9);
  color: var(--primary-dark);
  border: 1px solid rgba(26, 115, 232, 0.3);
}

.info-card {
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 14px 14px 12px;
  background: #f9fafb;
  max-height: none;
  overflow: visible;
}

.info-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 6px 0;
  border-bottom: 1px solid #e5e7f5;
  font-size: 13px;
  align-items: center;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  color: var(--text-sub);
}

.info-value {
  color: var(--text-main);
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e5e7f5;
  padding: 4px 10px;
  min-height: 26px;
  display: flex;
  align-items: center;
}

.info-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 13px;
  background: transparent;
  color: var(--text-main);
}

.info-input::placeholder {
  color: #9ca3af;
}

.info-select {
  width: 100%;
  border: none;
  outline: none;
  font-size: 13px;
  background: transparent;
  color: var(--text-main);
  appearance: none;
  padding: 4px 0;
}

.info-select option {
  color: #111827;
}

.select-like {
  position: relative;
}

.select-like::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-left: 2px solid #9ca3af;
  border-bottom: 2px solid #9ca3af;
  transform: translateY(-60%) rotate(-45deg);
}

.section-divider {
  margin: 10px 0 6px;
  font-size: 13px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-divider a {
  color: var(--danger);
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
}

.bill-list {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7f5;
  background: #fff;
  width: 100%;
}

/* 让提单数据区域占满整行宽度 */
.bill-wrapper-row {
  border-bottom: none;  
  display: flex;
}

.bill-wrapper-value {
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.bill-header,
.bill-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 36px;
  font-size: 12px;
  align-items: center;
}

.bill-header {
  background: var(--primary-soft);
  font-weight: 500;
  border-bottom: 1px solid #e5e7f5;
}

.bill-cell {
  padding: 6px 8px;
  border-right: 1px solid #e5e7f5;
  min-height: 28px;
  display: flex;
  align-items: center;
}

.bill-cell:last-child {
  border-right: none;
  justify-content: center;
}

.bill-row:nth-child(even) {
  background: #f9fbff;
}

.badge {
  font-size: 11px;
  border-radius: 999px;
  padding: 0 6px;
  border: 1px solid #d1d5db;
  color: #4b5563;
  background: #f9fafb;
}

.bill-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 12px;
  background: transparent;
  color: var(--text-main);
  text-align: left;
}

.bill-input::placeholder {
  color: #9ca3af;
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.switch-row input[type="checkbox"] {
  width: 14px;
  height: 14px;
}

.actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}

.hidden {
  display: none !important;
}

/* 自定义弹窗 */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 10, 40, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 16px;
}

.modal {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
}

.modal-header {
  padding: 12px 14px 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-main);
  border-bottom: 1px solid #e5e7eb;
}

.modal-body {
  padding: 12px 14px 6px;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
  white-space: pre-wrap;
}

.modal-actions {
  padding: 10px 14px 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* 登录页整体垂直居中（在较高屏幕上） */
.app-main.auth-main {
  padding:50px 0;
    align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .app-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .left-panel,
  .right-panel {
    padding: 0;
  }
  .info-row {
    grid-template-columns: 96px 1fr;
  }
  .bill-header,
  .bill-row {
    grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr 32px;
  }
  .btn {
    width: 100%;
  }
  .actions {
    flex-direction: column-reverse;
  }
}


/* 提示信息样式 */
.info-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  margin: 10px 0;
  font-size: 13px;
  color: #92400e;
}

.hint-icon {
  font-size: 16px;
}

.hint-text {
  flex: 1;
}

/* PC 端布局：左右两栏 */
@media (min-width: 960px) {
  .app-container {
    margin-top: 24px;
    margin-bottom: 24px;
  }
  .app-main {
    flex-direction: row;
    align-items: flex-start;
    padding: 20px 24px 24px;
  }
  .left-panel {
    width: 340px;
    padding-right: 20px;
  }
  .right-panel {
    flex: 1;
  }
}
.con{
    width: 100%;;
}
.con a{
    text-decoration:none;
}

.con .tab{
    display: flex;
    align-items: center; 
    padding-bottom: 9px; 
    border-bottom: 1px solid #999;
    border-radius: 0;
}
.con .tab div {  
    width: 80px; 
}
.con .tab div a{
    font-size: 14px;
    color: #333;
    text-align: center;
}
.con .tab .one a{
    padding: 10px  26px;
    background: #1d4ed8;
    color: #fff;
}
.con .ul{
    padding: 10px;
}
.con .ul .li{
    display: flex;
    align-content: center;
    justify-content: space-between;
    margin: 10px 0px;
    border-bottom: 1px solid #d3d3d3;
    padding-bottom: 10px;
}
.con .ul .li .lf span{
    font-size: 12px;
    display: block;
    margin-bottom: 6px;
}
.con .ul .li .lr{
    display: flex; 
    align-content: center;
    flex-wrap: wrap;
}
.con .ul .li .lr a{
    font-size: 14px;
    width: 90px;
    height: 36px;
    line-height: 36px;
    border-radius: 6px;
    background: #1e9fff;
    color: #fff;
    text-align: center;
}


/*翻页样式*/ 
#pageinfo{ text-align: center; margin:50px auto 0px auto;text-decoration:none;}
.digg {display: flex; justify-content: center; gap:0 10px;list-style-type: none;}
.digg li{width: 40px; height: 40px;text-align: center; line-height: 40px;border-radius: 5px; }
.digg .page-item a{display: block; border: 1px #959595 solid;border-radius: 5px; overflow: hidden; width: 40px; height: 40px;color:#333;}
.digg .page-item:hover {background: #1d4ed8; color: #fff;}
.digg .page-item:hover a{ color: #fff; cursor:pointer;}
.digg .page-item a:active {background-color: #1d4ed8;color:#fff;}
.digg li.active { width: 40px;height: 40px;background-color: #1d4ed8;color: #fff;text-decoration: none;}






















