/* ============================================
   ACADEMIC RESEARCH LAB - MINIMAL 90s STYLE
   Ultra-Boring University Faculty Aesthetic
   ============================================ */

/* ============= RESET & BASE ============= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: "Times New Roman", Times, serif;
  line-height: 1.5;
  color: #000000;
  background-color: #f5f5f5;
  padding: 0;
  margin: 0;
}

/* ============= LAYOUT ============= */

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background-color: #ffffff;
  min-height: 100vh;
  border: 1px solid #cccccc;
}

main {
  display: flex;
  flex-direction: column;
}

/* ============= TYPOGRAPHY ============= */

h1 {
  font-size: 28px;
  font-weight: bold;
  color: #000000;
  margin: 20px 0;
  text-align: left;
  border: none;
  padding: 0;
  line-height: 1.2;
}

h2 {
  font-size: 18px;
  font-weight: bold;
  color: #000000;
  margin: 25px 0 10px 0;
  text-align: left;
  border: none;
  padding: 0;
}

h3 {
  font-size: 14px;
  font-weight: bold;
  color: #000000;
  margin: 15px 0 5px 0;
}

p {
  font-size: 12px;
  color: #333333;
  margin: 10px 0;
  line-height: 1.6;
  text-align: justify;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

a {
  color: #0000ff;
  text-decoration: underline;
}

a:visited {
  color: #551a8b;
}

a:hover {
  color: #0000ff;
}

/* ============= HEADER ============= */

header {
  margin-bottom: 20px;
  border-bottom: 3px solid #000000;
  padding-bottom: 15px;
}

.logo-section {
  margin-bottom: 10px;
}

#logo {
  font-size: 24px;
  font-weight: bold;
  color: #000000;
  margin: 0;
  padding: 0;
}

.tagline {
  font-size: 12px;
  color: #333333;
  margin: 5px 0 0 0;
  font-weight: normal;
}

/* ============= NAVIGATION ============= */

#main-navigation {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

#main-navigation a {
  font-size: 12px;
  color: #0000ff;
  text-decoration: underline;
  margin: 0;
  padding: 0;
}

#main-navigation a:visited {
  color: #551a8b;
}

/* ============= INTRO/HERO ============= */

.intro {
  background-color: #f5f5f5;
  padding: 15px;
  margin: 20px 0;
  border: 1px solid #cccccc;
  font-size: 12px;
  line-height: 1.6;
  color: #333333;
}

/* ============= HORIZONTAL RULES ============= */

hr {
  border: none;
  border-top: 1px solid #000000;
  height: 1px;
  margin: 20px 0;
  background-color: #000000;
}

/* ============= LISTS & ITEMS ============= */

.post-list {
  list-style: square;
  margin: 15px 0 15px 30px;
  padding: 0;
}

.post-list li {
  margin-bottom: 12px;
  color: #000000;
  font-size: 12px;
  line-height: 1.6;
  text-align: justify;
}

.post-list li:last-child {
  margin-bottom: 0;
}

/* Paper/Item Title */
.post-list strong {
  display: inline;
  font-weight: bold;
}

.post-list strong a {
  color: #0000ff;
  text-decoration: underline;
}

.post-list strong a:visited {
  color: #551a8b;
}

/* Metadata */
.post-list .bio,
.post-list .skills,
.post-list .abstract {
  display: inline;
  color: #000000;
  font-size: 12px;
  line-height: 1.6;
}

.post-list .bio::before {
  content: '';
}

.post-list .skills {
  display: block;
  margin-top: 5px;
  color: #333333;
  font-size: 11px;
}

.post-list .skills::before {
  content: '';
}

.post-list .abstract {
  display: block;
  margin-top: 5px;
  color: #333333;
  font-size: 11px;
  font-style: italic;
}

.post-list .abstract::before {
  content: '';
}

.post-list .publication-link {
  display: inline;
}

/* ============= TAGS & BADGES ============= */

.urgency-tag,
.status-tag {
  display: inline;
  padding: 2px 4px;
  margin-left: 5px;
  font-size: 10px;
  font-weight: bold;
  color: #ffffff;
  background-color: #000000;
  border: 1px solid #000000;
  text-transform: uppercase;
}

.urgency-tag.urgent {
  background-color: #cc0000;
  border-color: #cc0000;
}

.urgency-tag.regular {
  background-color: #ff9900;
  border-color: #ff9900;
}

.status-tag.active {
  background-color: #009900;
  border-color: #009900;
}

.status-tag.planning {
  background-color: #0066cc;
  border-color: #0066cc;
}

/* ============= FORMS & BUTTONS ============= */

.newsletter-form {
  background-color: #f5f5f5;
  padding: 15px;
  border: 1px solid #cccccc;
  margin: 20px 0;
}

.form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.form-input,
.form-button {
  padding: 5px 8px;
  border: 1px solid #999999;
  background-color: #ffffff;
  font-family: "Times New Roman", Times, serif;
  font-size: 12px;
}

.form-input {
  flex: 1;
  min-width: 150px;
  color: #000000;
}

.form-button {
  background-color: #cccccc;
  color: #000000;
  border: 1px outset #999999;
  cursor: pointer;
  font-weight: bold;
  padding: 5px 15px;
  min-width: 80px;
}

.form-button:active {
  border: 1px inset #999999;
}

/* Action Buttons */
.action-button {
  display: inline-block;
  padding: 5px 12px;
  background-color: #cccccc;
  color: #000000;
  border: 1px outset #999999;
  font-size: 12px;
  font-weight: bold;
  font-family: "Times New Roman", Times, serif;
  cursor: pointer;
  margin: 5px 0;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.action-button:active {
  border: 1px inset #999999;
}

.submission-panel {
  background-color: #f5f5f5;
  border: 1px solid #cccccc;
  padding: 15px;
  margin: 20px 0;
}

.submission-form {
  margin: 15px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dropzone {
  border: 2px dashed #999999;
  background-color: #ffffff;
  padding: 24px;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.dropzone:hover {
  background-color: #f9f9ff;
  border-color: #777777;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.dropzone.drag-over {
  background-color: #eef4ff;
  border-color: #0044aa;
  box-shadow: 0 8px 20px rgba(0, 68, 170, 0.18);
}

.dropzone-title {
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 13px;
  color: #000000;
}

.dropzone-instructions {
  font-size: 12px;
  color: #333333;
  line-height: 1.6;
}

.dropzone-visual {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 12px auto;
  border-radius: 20px;
  background: linear-gradient(160deg, #e6ebff 0%, #fdf9ff 100%);
  border: 1px solid #c5d3ff;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.06);
}

.dropzone-icon {
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 1px;
  color: #193366;
}

.dropzone-subtext {
  font-size: 11px;
  color: #193366;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dropzone-browse {
  background: none;
  border: none;
  color: #0000ff;
  text-decoration: underline;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
}

.dropzone-browse:hover {
  color: #0000ff;
  text-decoration: underline;
}

.file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: #333333;
}

.file-list li {
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border: 1px solid #dddddd;
  padding: 6px 8px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.file-name {
  flex: 1;
  text-align: left;
}

.file-list-empty {
  list-style: none;
  color: #777777;
  font-style: italic;
  margin-left: 0;
}

.file-remove {
  background: none;
  border: 1px solid #aaaaaa;
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
  color: #000000;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.file-remove:hover {
  background-color: #ececec;
}

.submission-label {
  font-size: 12px;
  font-weight: bold;
  color: #000000;
}

.submission-message {
  width: 100%;
  border: 1px solid #cccccc;
  padding: 8px;
  font-family: "Times New Roman", Times, serif;
  font-size: 12px;
  line-height: 1.5;
  resize: vertical;
  min-height: 100px;
  border-radius: 8px;
  background-color: #ffffff;
}

.submission-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.action-button.primary {
  background-color: #193366;
  color: #ffffff;
  border: 1px outset #193366;
}

.action-button.primary:active {
  border: 1px inset #193366;
}

.action-button.primary:hover {
  background-color: #0f2047;
  transform: translateY(-1px);
}

.submission-steps {
  list-style: decimal;
  margin: 15px 0 15px 25px;
  padding: 0;
  font-size: 12px;
  color: #333333;
  line-height: 1.6;
}

.submission-steps li {
  margin-bottom: 8px;
}

.submission-note {
  font-size: 11px;
  color: #555555;
  margin-top: 15px;
  line-height: 1.6;
}

/* ============= CALENDAR SECTION ============= */

.calendar-section {
  background-color: #f5f5f5;
  border: 1px solid #cccccc;
  padding: 15px;
  margin: 20px 0;
}

.calendar-booking,
.meeting-links,
.office-hours {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  padding: 10px;
  margin: 10px 0;
}

.calendar-booking h3,
.meeting-links h3,
.office-hours h3 {
  margin: 0 0 10px 0;
  font-size: 14px;
  font-weight: bold;
}

.office-hours ul {
  margin-left: 20px;
}

.office-hours ul li {
  margin-bottom: 5px;
  color: #333333;
  font-size: 12px;
}

/* ============= FOOTER ============= */

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 3px solid #000000;
  text-align: center;
  color: #333333;
  font-size: 11px;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  display: inline-block;
  margin: 0 10px;
  font-size: 16px;
  color: #0000ff;
  text-decoration: none;
}

.footer-links a:visited {
  color: #551a8b;
}

footer p {
  margin: 5px 0;
  font-size: 11px;
  color: #333333;
}

/* ============= RESPONSIVE ============= */

@media (max-width: 768px) {
  .container {
    padding: 20px;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 16px;
  }

  #main-navigation {
    gap: 10px;
    flex-direction: column;
  }

  #main-navigation a {
    display: inline-block;
  }

  .post-list {
    margin-left: 20px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-input,
  .form-button {
    width: 100%;
  }

  .action-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 15px;
  }

  h1 {
    font-size: 18px;
  }

  h2 {
    font-size: 14px;
  }

  p, .post-list li {
    font-size: 11px;
  }

  #main-navigation {
    gap: 5px;
    flex-direction: column;
  }

  #main-navigation a {
    font-size: 11px;
  }

  .post-list {
    margin-left: 15px;
  }

  .form-input,
  .form-button {
    width: 100%;
    font-size: 11px;
    padding: 4px 6px;
  }

  footer {
    font-size: 10px;
  }

  .footer-links a {
    font-size: 14px;
    margin: 0 5px;
  }
}
