
body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background-color: #f0f7ff;
  background-image: 
    radial-gradient(#d6eaff 0.5px, transparent 0.5px),
    radial-gradient(#d6eaff 0.5px, #f0f7ff 0.5px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  color: #2c3e50;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
}


.header {
  background: linear-gradient(135deg, #4a90e2, #5b6ef7);
  color: #ffffff;
  padding: 22px 20px;
  text-align: left;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.25);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 80px;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' opacity='0.2'%3E%3Cpath d='M12 2L4 7l8 5 8-5-8-5zM4 15l8 5 8-5M4 11l8 5 8-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

.header h1 {
  margin: 0;
  font-size: 1.8em;
  letter-spacing: 0.3px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 菜单样式 */
.menu {
  background-color: #ffffff;
  padding: 10px 15px;
  text-align: left;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e6f0ff;
}

.menu a {
  color: #4a6fa5;
  text-decoration: none;
  padding: 8px 15px;
  margin: 0 2px;
  border-radius: 20px;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 0.95em;
  position: relative;
}

.menu a:hover, .menu a.active {
  background-color: #e6f0ff;
  color: #4a90e2;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(74, 144, 226, 0.15);
}

.menu a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -4px;
  width: 2px;
  height: 12px;
  background-color: #e1e8ed;
  transform: translateY(-50%);
}

.menu a:last-child::after {
  display: none;
}


.content {
  display: flex;
  gap: 30px;
  margin-top: 0;
}


.sidebar {
  background-color: #ffffff;
  padding: 20px;
  font-size: 1em;
  width: 23%;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-top: 4px solid #7b93ff;
  position: relative;
  overflow: hidden;
}

.sidebar::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f0f7ff'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  z-index: 0;
}

.sidebar:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.sidebar h2 {
  color: #2c3e50;
  border-bottom: 1px solid #f0f5ff;
  padding-bottom: 10px;
  margin-top: 0;
  font-size: 1.3em;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.sidebar h2::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background-color: #7b93ff;
  margin-top: 8px;
}

.sidebar ul {
  padding-left: 20px;
  position: relative;
  z-index: 1;
}

.sidebar li {
  margin: 8px 0;
}


.main {
  background-color: #ffffff;
  padding: 25px;
  width: 77%;
  min-height: 500px;
  overflow-y: scroll;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
}

.main:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.main h2 {
  color: #2c3e50;
  margin-top: 0;
  border-bottom: 1px solid #f0f5ff;
  padding-bottom: 10px;
  font-size: 1.4em;
  font-weight: 600;
}

.main h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: #4a90e2;
  margin-top: 8px;
}


.footer {
  background-color: #2c3e50;
  color: #bdc3c7;
  padding: 20px 10px;
  text-align: center;
  margin-top: 40px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
  font-size: 0.9em;
}


table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: none;
}

th, td {
  padding: 14px 15px;
  text-align: left;
  border-bottom: 1px solid #f0f5ff;
}

th {
  background-color: #f5f8ff;
  color: #4a6fa5;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 2;
}

tr:nth-child(even) {
  background-color: #fafdff;
}

tr:hover {
  background-color: #f0f7ff;
  transition: background-color 0.2s ease;
}


#usertoonclick, #smzt_namereal {
  transition: all 0.2s ease;
  position: relative;
  color: #4a90e2;
  font-weight: 500;
}

#usertoonclick:hover, #smzt_namereal:hover {
  color: #2980b9;
  padding-left: 0;
}

#usertoonclick:after, #smzt_namereal:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #7b93ff;
  transition: width 0.2s ease;
}

#usertoonclick:hover:after, #smzt_namereal:hover:after {
  width: 100%;
}


.main::-webkit-scrollbar {
  width: 8px;
}

.main::-webkit-scrollbar-track {
  background: #f5f8ff;
  border-radius: 4px;
}

.main::-webkit-scrollbar-thumb {
  background: #ccdfff;
  border-radius: 4px;
}

.main::-webkit-scrollbar-thumb:hover {
  background: #a8c7ff;
}


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

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

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

.container {
  animation: fadeIn 0.6s ease-out;
}

.sidebar {
  animation: slideInFromLeft 0.5s ease-out;
}

.main {
  animation: slideInFromRight 0.5s ease-out;
}


@media (max-width: 768px) {
  .content {
    flex-direction: column;
  }
  
  .sidebar, .main {
    width: 100%;
    box-sizing: border-box;
  }
  
  .sidebar {
    margin-bottom: 20px;
    width: 100%;
  }
  
  .menu a {
    display: inline-block;
    margin: 3px 2px;
    padding: 6px 10px;
    font-size: 0.9em;
  }
}