* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
  padding-top: 70px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  max-width: 100%;
}

.login-container {
  width: 100%;
  max-width: 1000px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: fadeIn 0.6s ease-out;
  margin: auto;
}

.login-wrapper {
  display: flex;
  min-height: 600px;
  width: 100%;
  align-items: center;
}

.login-left {
  flex: 1;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.login-left::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: float 20s linear infinite;
}

.login-right {
  flex: 1.2;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-form-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.login-left .logo {
  position: relative;
  z-index: 1;
  margin-bottom: 60px;
}

.login-left .logo i {
  font-size: 60px;
  margin-bottom: 20px;
  display: block;
  color: rgba(255, 255, 255, 0.9);
}

.login-left .logo h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 1px;
}

.features {
  position: relative;
  z-index: 1;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  opacity: 0;
  animation: slideIn 0.6s ease-out forwards;
}

.feature:nth-child(2) { animation-delay: 0.2s; }
.feature:nth-child(3) { animation-delay: 0.4s; }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.feature i {
  font-size: 24px;
  margin-right: 15px;
  background: rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature span {
  font-size: 18px;
  font-weight: 500;
}

.form-header {
  margin-bottom: 40px;
  text-align: center;
}

.form-header h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
}

.form-header p {
  color: #666;
  font-size: 16px;
}

.input-group {
  margin-bottom: 25px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: 500;
  font-size: 14px;
}

.input-group label i {
  margin-right: 8px;
  color: #6a11cb;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i:not(.toggle-password i) {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  transition: color 0.3s;
}

.input-with-icon input {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 2px solid #e1e5ee;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s;
  background: #f8f9fa;
}

.input-with-icon input:focus {
  outline: none;
  border-color: #6a11cb;
  background: white;
  box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}

.input-with-icon input:focus + i {
  color: #6a11cb;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 16px;
  transition: color 0.3s;
  padding: 5px;
}

.toggle-password:hover {
  color: #6a11cb;
}

.error-message {
  color: #ff4757;
  font-size: 13px;
  margin-top: 5px;
  min-height: 18px;
  opacity: 0;
  transition: opacity 0.3s;
}

.error-message.show {
  opacity: 1;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.remember-me {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #555;
}

.remember-me input {
  margin-right: 8px;
  accent-color: #6a11cb;
}

.forgot-password {
  color: #6a11cb;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.forgot-password:hover {
  color: #2575fc;
  text-decoration: underline;
}

.login-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(106, 17, 203, 0.2);
}

.login-btn:active {
  transform: translateY(0);
}

.register-link {
  text-align: center;
  color: #666;
  font-size: 14px;
}

.register-link a {
  color: #6a11cb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.register-link a:hover {
  color: #2575fc;
  text-decoration: underline;
}

.form-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.back-btn, .register-btn {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.back-btn {
  background: #f8f9fa;
  color: #666;
  border: 2px solid #e1e5ee;
}

.back-btn:hover {
  background: #e9ecef;
}

.register-btn {
  background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
  color: white;
  font-weight: 600;
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(37, 117, 252, 0.2);
}

.loading {
  text-align: center;
  padding: 40px 0;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #6a11cb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.notification {
  position: fixed;
  top: 30px;
  right: 30px;
  padding: 15px 25px;
  border-radius: 10px;
  color: white;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.3s;
  z-index: 1000;
  max-width: 300px;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification.success {
  background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
}

.notification.error {
  background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
}

.notification.info {
  background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.625rem 0.9375rem;
  z-index: 9999;
  border-bottom: 1px solid #eeeeee;
  flex-wrap: wrap;
}

.navbar .logo {
  font-weight: bold;
  display: inline-flex;
  text-align: center;
  align-items: center;
  padding: 0.625rem 1.5rem;
  color: #333333;
  text-decoration: none;
  margin: 0 0.375rem;
  font-size: 1.2rem;
  white-space: nowrap;
}

.navbar .logo img {
  width: 3.125rem;
  height: auto;
  max-height: 3.125rem;
  object-fit: contain;
}

.nav-links {
  display: flex;
  margin-left: 1.875rem;
  gap: 1.25rem;
}

.nav-right {
  display: flex;
  margin-left: auto;
  gap: 1.25rem;
}

.navbar .nav-links a,
.navbar .nav-right a {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  color: #333333;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
  font-size: 1.2rem;
  font-weight: 500;
}

.navbar .nav-links a:hover,
.navbar .nav-right a:hover {
  color: #666666;
}

.nav-right a:last-child {
  margin-right: 1.875rem;
}

.content {
  flex: 1;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.content h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.footer-section {
  background-color: #333;
  color: #ccc;
  width: 100%;
  padding: 1.875rem 1.25rem;
  margin-top: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.9375rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-info {
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.8;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}

.footer-info a {
  color: #ccc;
  text-decoration: none;
}

.footer-info a:hover {
  color: #fff;
  text-decoration: underline;
}

.bg-blue-animate-scroll {
  width: 100vw;
  height: 100vh;
  background: linear-gradient(90deg, #E3F2FD, #BBDEFB, #B3E5FC, #BBDEFB, #E3F2FD);
  background-size: 300% 100%;
  animation: blueScrollAnimate 15s ease-in-out infinite;
}

@keyframes blueScrollAnimate {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}

@media (max-width: 1200px) {
  .container {
    padding: 15px;
  }
  .control-panel {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .login-wrapper {
    flex-direction: column;
    min-height: auto;
  }
  .login-left, .login-right {
    padding: 30px;
  }
  .login-left {
    padding-bottom: 30px;
  }
  .login-left .logo h1 {
    font-size: 24px;
  }
  .feature span {
    font-size: 16px;
  }
  .form-header h2 {
    font-size: 28px;
  }
  body {
    padding-top: 60px;
  }
  .navbar {
    padding: 0.5rem 0.75rem;
    flex-wrap: nowrap;
  }
  .navbar .logo {
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
  }
  .navbar .logo img {
    width: 2.5rem;
    max-height: 2.5rem;
  }
  .nav-links {
    margin-left: 1rem;
    gap: 0.75rem;
  }
  .nav-right {
    gap: 0.75rem;
  }
  .navbar .nav-links a,
  .navbar .nav-right a {
    padding: 0.375rem 0.625rem;
    font-size: 1.2rem;
  }
  .nav-right a:last-child {
    margin-right: 1rem;
  }
  .content {
    padding: 1.5rem;
  }
  .footer-links {
    gap: 1rem;
  }
  .footer-links a {
    font-size: 0.85rem;
  }
  .header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .user-info {
    justify-content: center;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .action-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  .data-table {
    display: block;
    overflow-x: auto;
  }
  .modal-content {
    width: 95%;
    margin: 10px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  body {
    padding-top: 55px;
  }
  .navbar {
    flex-wrap: wrap;
    padding: 0.375rem 0.5rem;
  }
  .navbar .logo {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    margin: 0 auto;
    width: 100%;
    justify-content: center;
  }
  .navbar .logo img {
    width: 2.25rem;
    max-height: 2.25rem;
  }
  .nav-links,
  .nav-right {
    margin-left: 0;
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
    gap: 0.5rem;
  }
  .navbar .nav-links a,
  .navbar .nav-right a {
    padding: 0.5rem;
    font-size: 1.0rem;
  }
  .nav-right a:last-child {
    margin-right: 0;
  }
  .content {
    padding: 1rem 0.75rem;
  }
  .footer-section {
    padding: 1.5rem 0.75rem;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .footer-links a {
    font-size: 0.8rem;
    text-align: center;
    width: 100%;
  }
  .footer-info {
    font-size: 0.7rem;
  }
  .header {
    padding: 15px;
  }
  .logo h1 {
    font-size: 22px;
  }
  .btn {
    padding: 8px 15px;
    font-size: 13px;
  }
  .pagination {
    flex-wrap: wrap;
  }
  .modal-header h2 {
    font-size: 20px;
  }
  .modal-body {
    padding: 20px;
  }
  .hide-on-mobile {
    display: none !important;
  }
}

@media screen and (min-width: 481px) {
  .hide-on-desktop {
    display: none !important;
  }
}

@media screen and (min-width: 1200px) {
  .content {
    padding: 2.5rem 3rem;
  }
  .footer-section {
    padding: 2.5rem 3rem;
  }
}

@media screen and (min-width: 1600px) {
  .content,
  .footer-links,
  .footer-info {
    max-width: 1400px;
  }
}
html {
  overflow-x: hidden;
  overflow-y: auto;
}
body {
  overflow-x: hidden;
  overflow-y: auto;
}
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #dcdcdc;
  border-radius: 6px;
  border: 2px solid #f5f5f5;
}
::-webkit-scrollbar-thumb:hover {
  background: #c5c5c5; 
}
.navbar {
  width: calc(100%) !important; 
  right: 0 !important; 
  left: auto !important; 
}
@media screen and (max-width: 768px) {
  body {
    padding-right: 0 !important; 
  }
  .navbar {
    width: 100% !important; 
  }
  ::-webkit-scrollbar {
    display: none;
  }
  html, body {
    -ms-overflow-style: none; 
    scrollbar-width: none; 
  }
}
html {
  scrollbar-width: thin; 
  scrollbar-color: #dcdcdc #f5f5f5; 
}
#auth-initial-style{
  a[href="test.html"] {
    opacity: 0.3;
    pointer-events: none;
    cursor: not-allowed;
    transition: all 0.3s ease; 
  }
  a[href="test.html"].link-enabled,
  a[href="test.html"][style*="opacity: 1"] {
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  #loginLink::after {
    content: " (未登录)";
    font-size: 0.8em;
    color: #666;
  }
  #loginLink.user-logged-in::after {
    content: " ✓";
    color: #4CAF50;
    font-size: 1em;
  }
  }
  .footer-info p{
	 style="width: 15px;height: auto;transform: translateY(0.1875rem);" 
  }
  .footer-info img{
  	 style="width: 15px;height: auto;transform: translateY(0.1875rem);" 
  }
  .footer-info{
  	 style="width: 15px;height: auto;transform: translateY(0.1875rem);" 
  }
  .loading #loading{display: none;}
  .loading{display: none;}
  #loading{display: none;}
  
  @keyframes shake {
      0%, 100% { transform: translateX(0); }
      10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
      20%, 40%, 60%, 80% { transform: translateX(5px); }
  }
  
  .shake {
      animation: shake 0.5s ease-in-out;
  }
  
  .notification {
      position: fixed;
      top: 20px;
      right: 20px;
      padding: 12px 20px;
      border-radius: 8px;
      color: white;
      font-weight: 500;
      z-index: 1000;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      transform: translateY(-100px);
      opacity: 0;
      transition: transform 0.3s ease, opacity 0.3s ease;
      max-width: 300px;
  }
  
  .notification.show {
      transform: translateY(0);
      opacity: 1;
  }
  
  .notification.success {
      background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  }
  
  .notification.error {
      background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  }
  
  .notification.info {
      background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  }
  
  .error-message {
      color: #e74c3c;
      font-size: 12px;
      margin-top: 4px;
      display: none;
  }
  
  .error-message.show {
      display: block;
  }
  
  .loading {
      display: none;
      text-align: center;
      margin: 20px 0;
  }
  
  .loading i {
      margin-right: 8px;
  }
  #auth-initial-style{
    a[href="test.html"] {
      opacity: 0.3;
      pointer-events: none;
      cursor: not-allowed;
      transition: all 0.3s ease; 
    }
    a[href="test.html"].link-enabled,
    a[href="test.html"][style*="opacity: 1"] {
      opacity: 1 !important;
      pointer-events: auto !important;
      cursor: pointer !important;
    }
    #loginLink::after {
      content: " (未登录)";
      font-size: 0.8em;
      color: #666;
    }
    #loginLink.user-logged-in::after {
      content: " ✓";
      color: #4CAF50;
      font-size: 1em;
    }
    }
    #beian img{
    	 width: 15px !important;
    	 height: auto !important;
    	 transform: translateY(0.1875rem) !important;
    }
    #beian p{
    	 width: 15px !important;
    	 height: auto !important;
    	 transform: translateY(0.1875rem) !important;
    }

.loading-hidden {
    display: none !important;
}

.loading-visible {
    display: block !important;
}