@import url("../../prosilver/theme/stylesheet.css");
@import url("../../prosilver/theme/plupload.css");
@import url("../../prosilver/theme/bidi.css");

:root {
  --bg: #ffff;
  --panel: #f5f5f5;
  --accent: #6a5cff;
  --text: #000;
}

html,
body {
  background: #fff;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont;
  background: var(--bg);
  color: var(--text);
  padding: 0px;
}

body,
.postbody,
.topiclist {
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont;
  line-height: 1.5;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  color: #222222;
}

.forumbg,
.forabg,
.panel,
.post,
.topiclist li.forum {
  background: var(--panel);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  /* subtle shadow for light theme */
  border: none;
  padding: 16px;
}


h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.button {
  border-radius: 999px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #6a5cff, #9b7bff);
  border: none;
  color: white;
  box-shadow: none;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(106, 92, 255, .4);
}

@media (max-width: 768px) {
  .navbar {
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
  }

  .topiclist li {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
}

.panel {
  background: var(--panel);
}

.wrap {
  margin: auto;
  padding: 0 15px;
}

.forumbg {
  padding: 24px;
}

#page-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.topiclist li.forum,
.forumline {
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
  margin-bottom: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.topiclist li.forum:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}


.post {
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
  margin-bottom: 16px;
  padding: 16px;
}

.postbody {
  font-size: 1rem;
  line-height: 1.5;
}

.post .postprofile {
  background: var(--panel);
  border-radius: 12px;
  padding: 12px;
  margin-right: 16px;
}

.button,
a.button1,
a.button2,
input.button1,
input.button2 {
  border-radius: 999px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #6a5cff, #9b7bff);
  border: none;
  color: white;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover,
a.button1:hover,
a.button2:hover,
input.button1:hover,
input.button2:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(106, 92, 255, .25);
}

.headerbar {
  position: sticky;
  top: 0;
  left: 0;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
  /* light navbar */
  border-bottom: 1px solid #ddd;
  z-index: 999;
  padding: 12px 0px;
}

.navbar {
  margin-top: 100px;
}

.post .inner {
  display: flex;
  flex-direction: row-reverse;
}

.button .icon,
blockquote cite:before,
.uncited:before {
  color: #fff;
}


.icon {
  color: #000;
}

.post .back2top {
  position: absolute;
  right: 20px;
}

#logo .site_logo {
  background-image: url("./images/site_logo.svg");
  /* relative to stylesheet.css */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 60px;
  /* header height */
  width: 200px;
  /* adjust as needed */
}

.headerbar,
.forumbg,
.headerbar .forabg {
  background-color: #fff;
  color: #000;
  background-image: none;
}


.headerbar {
  position: fixed;
  width: 100%;
  border: none;
}

.headerbar .inner {
  padding: 0px 15px 0px 13px;
}


.site-description {
  display: flex;
  align-items: center;
}

.site-description h1 {
  display: none;
}

.site-description p {
  margin: 0;
}

.wrap {
  border: none;
  max-width: unset;
  min-width: unset;
}

.page-body {
  max-width: 1152px;
  min-width: 625px;
  margin: auto;
}

.logo {
  padding: 0px 15px 0px 0px;
}

.topiclist li:hover,
.topiclist li:hover,
.topiclist li:hover {
  background: var(--panel);
}

li.header dt,
li.header dd,
.forabg .header a {
  color: var(--text);
}

.search-header {
  margin: 0px;
  box-shadow: none;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.post-buttons .button {
  padding-left: 8px;
  padding-right: 8px;
}

ul.forums {
  background: transparent;
  padding: 0;
  margin: 0;
  list-style: none;
}

ul.forums>li.row {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  /* light modern border */
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 16px 20px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

ul.forums>li.row:hover {
  background: #fafafa;
  border-color: #d0d7de;
}

ul.forums .forumtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111;
  padding-left: 60px;
}

a.topictitle {
  padding-left: 60px;
}

.topic-poster {
  padding-left: 55px;
}

ul.forums .forum-desc {
  color: #6b7280;
  font-size: 0.9rem;
}


ul.topiclist dt .list-inner,
li.header dt .list-inner {
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

ul.topiclist li.header,
ul.topiclist li.row {
  padding: 16px 20px;
}

dl.row-item {
  display: flex;
  align-items: center;
}

dl.row-item dt {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

dl.row-item dd {
  margin-left: 16px;
  white-space: nowrap;
}

ul.topiclist li.header {
  background: transparent;
  border: none;
  font-weight: 600;
  color: #555;
}

ul.topiclist dt .list-inner,
li.header dt .list-inner {
  margin: 0 !important;
  padding: 0 !important;
}

dl.row-item {
  background-position: 16px center;
  background-repeat: no-repeat;
  background-size: 28px;
}

ul.topiclist li.row {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 16px 20px;
  /* space for icon */
  transition: background .15s ease, border-color .15s ease;
}

ul.topiclist li.row:hover {
  background: #fafafa;
  border-color: #d0d7de;
}

dl.row-item {
  display: flex;
  align-items: center;
  min-height: 40px;
}

dl.row-item dt {
  flex: 1;
  min-width: 0;
}

dl.row-item dd {
  margin-left: 20px;
  white-space: nowrap;
  color: #6b7280;
  font-size: 0.85rem;
}

ul.topiclist li.header {
  background: transparent;
  border: none;
  padding: 8px 20px;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
}


.topic_read_mine dt .list-inner {
  opacity: 0.85;
}

ul.topiclist.forums .forumtitle,
ul.topiclist.topics .topictitle {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
}

ul.topiclist .topictitle:hover,
ul.topiclist .forumtitle:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  dl.row-item dd {
    display: none;
  }

  ul.topiclist li.row {
    padding-left: 48px;
  }
}

p.rightside,
.page-body .time {
  display: none;
}


.navbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: none;
  padding: 8px 16px;
  border: none;
}

.navbar .linklist {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.navbar .linklist li {
  list-style: none;
}

.navbar .linklist a {
  color: #111;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 4px;
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}

.navbar .linklist a:hover {
  background: #f3f4f6;
  color: var(--accent);
}

.navbar .linklist .active>a {
  background: rgba(106, 92, 255, 0.1);
  color: var(--accent);
}



.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #6b7280;
}

.breadcrumbs a {
  color: #6b7280;
  padding: 4px 4px;
  text-decoration: none;
}

li.breadcrumbs span:first-child>a {
  padding: 4px 4px;
}

.breadcrumbs a:hover {
  color: var(--accent);
}


@media (max-width: 768px) {
  .navbar .linklist {
    flex-wrap: wrap;
    gap: 8px;
  }

  .navbar {
    padding: 8px 12px;
  }
}

#nav-footer {
  display: none;
}

@media (max-width: 700px) {
  .logo {
    display: block;
  }

  .site-description {
    flex-direction: column;
  }

  .site-description p {
    display: block;
  }

  .page-body {
    min-width: unset;
  }

  iframe,
  video {
    width: 100%;
    height: 400px;
  }

  .post .inner {
    flex-direction: column-reverse;
  }

  .headerbar+.navbar {
    margin-top: 145px;
  }

  ul.topiclist li.row {
    padding-left: 20px;
  }

  .responsive-show {
    padding-left: 60px;
  }
}
