html, body, main, header, footer {
  padding: 0px;
  margin: 0px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: #f0f4f8;
  color: #333;
  line-height: 1.6;
}

#header-bar {
  background: linear-gradient(135deg, #1a5276, #2e86c1);
  color: #fff;
  text-align: center;
  padding: 24px 20px;
}

#resume-title {
  font-size: 28px;
  margin: 0 0 8px 0;
  letter-spacing: 6px;
  font-weight: 600;
}

#header-contact {
  font-size: 15px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

#header-contact span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#app {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 0;
}

#resume-container {
  display: flex;
  gap: 24px;
}

#sidebar {
  width: 280px;
  flex-shrink: 0;
}

#avatar-section {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}

#avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4e6ff, #a9ccf0);
  margin: 0 auto 16px;
  border: 3px solid #2e86c1;
}

#sidebar-name {
  font-size: 22px;
  margin: 0 0 4px 0;
  color: #1a5276;
}

#sidebar-title {
  font-size: 14px;
  color: #888;
  margin: 0;
}

#content {
  flex: 1;
  min-width: 0;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}

.card-title {
  font-size: 18px;
  color: #1a5276;
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8f0fe;
  position: relative;
  font-weight: 600;
}

.card-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #2e86c1;
  border-radius: 1px;
}

#info-card .card-title {
  margin-bottom: 12px;
}

#info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#info-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed #eef2f7;
  font-size: 14px;
}

#info-list li:last-child {
  border-bottom: none;
}

.info-label {
  color: #888;
  flex-shrink: 0;
}

.info-value {
  color: #333;
  text-align: right;
  font-weight: 500;
}

#self-evaluation-text {
  margin: 0;
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

#honors-list, #certificates-list, #education-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#honors-list li, #certificates-list li, #education-list li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  color: #555;
  border-bottom: 1px dashed #eef2f7;
}

#honors-list li:last-child,
#certificates-list li:last-child,
#education-list li:last-child {
  border-bottom: none;
}

#honors-list li::before,
#certificates-list li::before,
#education-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2e86c1;
}

#practice-period {
  margin: 0 0 8px 0;
  font-size: 15px;
  color: #555;
  font-weight: 500;
}

#practice-skills {
  margin: 0;
  font-size: 15px;
  color: #555;
}

#thanks-section {
  text-align: center;
  padding: 32px 0 40px;
  font-size: 18px;
  color: #1a5276;
  letter-spacing: 2px;
}

#thanks-section p {
  margin: 0;
}

@media (max-width: 768px) {
  #resume-container {
    flex-direction: column;
  }

  #sidebar {
    width: 100%;
  }

  #header-contact {
    gap: 12px;
    font-size: 13px;
  }

  #resume-title {
    font-size: 22px;
    letter-spacing: 4px;
  }

  .card {
    padding: 16px;
  }
}

@media print {
  body {
    background: #fff;
  }

  #header-bar {
    background: #1a5276 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
}
