/* Classic 2000s Website Style - Enhanced */

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

body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  background: #e8e8e8;
  color: #333333;
  min-height: 100vh;
}

/* Main Container */
table.main-table {
  width: 1100px;
  margin: 15px auto;
  background: #ffffff;
  border: 2px solid #666666;
}

table.main-table td {
  padding: 0;
  vertical-align: top;
}

/* Top Banner */
.top-banner {
  background: linear-gradient(180deg, #4a90d9 0%, #3066a8 100%);
  padding: 10px 18px;
}

.top-banner table td {
  vertical-align: middle;
}

.site-icon {
  width: 30px;
  height: 30px;
  background: #ffcc00;
  border: 2px solid #cc9900;
  display: inline-block;
  margin-right: 12px;
  text-align: center;
  line-height: 28px;
  font-weight: bold;
  color: #000;
  font-size: 16px;
}

.site-title {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 1px;
}

.site-title span {
  font-weight: normal;
  font-size: 13px;
}

/* Top Navigation */
.top-nav {
  background: #cccccc !important;
  border-bottom: 1px solid #999999;
  padding: 20px 18px !important;
  min-height: 40px;
}

.top-nav a {
  color: #0000cc;
  text-decoration: none;
  padding: 8px 16px;
  margin-right: 5px;
  font-size: 14px !important;
  font-weight: bold;
  border: 1px solid #999999;
  background: #f0f0f0;
}

.top-nav a:hover {
  background: #ffffff;
  text-decoration: none;
  border-color: #666666;
}

/* Left Sidebar */
.sidebar {
  width: 180px;
  background: #444444;
  padding: 12px 10px;
}

.sidebar-text {
  color: #cccccc;
  font-size: 12px;
  line-height: 1.6;
}

.sidebar a {
  color: #99ccff;
  text-decoration: none;
  font-size: 12px;
  display: block;
  padding: 4px 6px;
}

.sidebar a:hover {
  background: #555555;
  color: #ffffff;
  text-decoration: none;
}

/* Avatar */
.avatar-container {
  text-align: center;
  margin-bottom: 8px;
  padding: 10px;
  background: #555555;
  border: 3px outset #777777;
}

.avatar-container img {
  width: 110px;
  height: 110px;
  border: 2px solid #666666;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* Name under avatar */
.avatar-name {
  text-align: center;
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 4px;
}

/* Position under name */
.avatar-position {
  text-align: center;
  color: #99ccff;
  font-size: 11px;
  line-height: 1.4;
}

/* Sidebar Section */
.sidebar-section {
  margin-bottom: 10px;
  padding: 8px;
  background: #505050;
  border: 1px solid #666666;
}

.sidebar-section h4 {
  color: #ffffff;
  font-size: 12px;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid #666666;
  font-weight: bold;
}

/* Main Content */
.content {
  padding: 20px 40px !important;
  padding-left: 40px !important;
  min-height: 500px;
}

/* Section Title Bar */
.section-title {
  background: linear-gradient(180deg, #e8e8e8 0%, #d0d0d0 100%);
  border: 2px solid #999999;
  padding: 6px 12px;
  margin: 18px 0 14px 0;
}

.section-title h2 {
  font-size: 15px;
  color: #000000;
  font-weight: bold;
}

/* Content paragraphs */
.content p {
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.6;
}

/* Links */
a {
  color: #0000cc;
  text-decoration: underline;
}

a:hover {
  color: #ff6600;
  text-decoration: underline;
}

/* Lists */
.content ul, .content ol {
  margin: 8px 0 8px 22px;
}

.content li {
  margin: 5px 0;
  font-size: 13px;
}

/* Publications Box */
.pub-item {
  border: 2px solid #bbbbbb;
  padding: 10px 12px;
  margin: 10px 0;
  background: #f5f5f5;
}

.pub-title {
  font-weight: bold;
  font-size: 13px;
  color: #000000;
}

.pub-authors {
  font-size: 12px;
  color: #444444;
  margin: 4px 0;
}

.pub-venue {
  font-size: 12px;
  color: #0000cc;
  font-weight: 600;
}

.pub-link {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 12px;
  font-size: 11px;
  border: 2px outset #cccccc;
  background: #e0e0e0;
  color: #333333 !important;
  text-decoration: none !important;
}

.pub-link:hover {
  background: #d0d0d0;
}

/* News Items */
.news-item {
  font-size: 12px;
  margin: 6px 0;
  padding: 5px 10px;
  background: #f0f0f0;
  border-left: 4px solid #4a90d9;
}

.news-item a {
  font-weight: bold;
}

/* Honors */
.honor-item {
  font-size: 12px;
  margin: 5px 0;
  padding: 4px 10px;
  background: #f0f0f0;
}

.honor-item::before {
  content: "★ ";
  color: #ffcc00;
  font-size: 14px;
}

/* Research Box */
.research-box {
  border: 2px solid #bbbbbb;
  padding: 12px;
  margin: 10px 0;
  background: #f5f5f5;
}

.research-list {
  list-style: none;
  margin: 6px 0;
}

.research-list li {
  margin: 6px 0;
  font-size: 13px;
  padding-left: 15px;
}

.research-list li::before {
  content: "▪ ";
  color: #4a90d9;
  font-size: 14px;
}

/* Footer */
.footer {
  background: #cccccc;
  border-top: 2px solid #999999;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  color: #333333;
}

.footer a {
  color: #0000cc;
  font-size: 12px;
  padding: 2px 6px;
}

/* Horizontal Rule */
hr {
  border: 0;
  height: 2px;
  background: #aaaaaa;
  margin: 15px 0;
}

/* Hit counter style */
.hit-counter {
  background: #000000;
  border: 3px inset #666666;
  padding: 4px 12px;
  font-family: "Courier New", monospace;
  color: #00ff00;
  font-size: 14px;
  letter-spacing: 3px;
}

/* Email link in sidebar */
.email-link {
  color: #99ccff !important;
  word-break: break-all;
}

/* Mobile */
@media (max-width: 950px) {
  table.main-table {
    width: 100%;
  }

  .sidebar {
    width: 100%;
  }

  .sidebar td {
    display: inline-block;
    vertical-align: top;
  }
}

::selection {
  background: #4a90d9;
  color: #ffffff;
}
