
:root {
  --vdfd-blue: #1877f2;
  --vdfd-blue-dark: #0f5fc5;
  --vdfd-ink: #172b4d;
  --vdfd-muted: #667085;
  --vdfd-border: #e4e7ec;
  --vdfd-bg: #f0f2f5;
  --vdfd-card: #ffffff;
  --vdfd-radius: 12px;
  --vdfd-shadow: 0 2px 12px rgba(16, 24, 40, .08);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--vdfd-bg); }
body {
  margin: 0;
  background: var(--vdfd-bg);
  color: #1c1e21;
  font: 14px/1.45 Arial, Helvetica, sans-serif;
  text-align: left;
}
a:link, a:visited { color: var(--vdfd-blue-dark); text-decoration: none; }
a:hover, a:active { color: var(--vdfd-blue); text-decoration: underline; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }

#container { min-width: 0; }
.wrapper {
  width: min(1240px, calc(100% - 32px));
  max-width: 1240px;
  min-width: 0;
  margin: 0 auto;
}
#content {
  min-height: calc(100vh - 150px);
  padding: 24px 0 50px;
  overflow: visible;
}

#header { position: relative; z-index: 20; }
#footer { margin-top: 24px; }
.clear { clear: both; }
.float_left { float: left; }
.float_right { float: right; }
.smalltext { font-size: 12px; }
.hidden { display: none; }

.tborder {
  width: 100%;
  border: 1px solid var(--vdfd-border);
  border-radius: var(--vdfd-radius);
  border-spacing: 0;
  border-collapse: separate;
  background: var(--vdfd-card);
  box-shadow: var(--vdfd-shadow);
  overflow: hidden;
}
.thead {
  padding: 13px 16px;
  background: linear-gradient(135deg, var(--vdfd-blue), #4267b2);
  border: 0;
  color: #fff;
  font-size: 14px;
}
.thead a, .thead a:visited { color: #fff; }
.tcat {
  padding: 10px 14px;
  background: #f7f8fa;
  border-top: 1px solid var(--vdfd-border);
  border-bottom: 1px solid var(--vdfd-border);
  color: #475467;
}
.trow1, .trow2 { padding: 12px 14px; background: #fff; border-bottom: 1px solid #f0f1f3; }
.trow2 { background: #fcfcfd; }
.trow1:hover, .trow2:hover { background: #f7fbff; }
.textbox, input.textbox, select, textarea {
  max-width: 100%;
  padding: 9px 11px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  color: #101828;
}
.textbox:focus, select:focus, textarea:focus {
  border-color: var(--vdfd-blue);
  box-shadow: 0 0 0 3px rgba(24,119,242,.14);
  outline: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--vdfd-blue);
  color: #fff;
  font-weight: 700;
}
.button:hover { background: var(--vdfd-blue-dark); color: #fff; text-decoration: none; }
.button.secondary { background: #eaf2ff; color: var(--vdfd-blue-dark); }
.pagination { margin: 16px 0; font-size: 13px; }
.pagination a, .pagination .pagination_current {
  display: inline-block;
  min-width: 30px;
  padding: 6px 9px;
  border: 1px solid var(--vdfd-border);
  border-radius: 6px;
  background: #fff;
  text-align: center;
}
.pagination .pagination_current { background: var(--vdfd-blue); border-color: var(--vdfd-blue); color: #fff; }
.navigation { margin-bottom: 16px; color: var(--vdfd-muted); }
.navigation .active { color: var(--vdfd-ink); font-weight: 700; }
.red_alert, .error { margin: 12px 0; padding: 12px 14px; border-radius: 8px; background: #fff0f0; color: #a21919; }
.success_message { margin: 12px 0; padding: 12px 14px; border-radius: 8px; background: #ecfdf3; color: #067647; }

/* MyBB post layout */
.post { display: flex; gap: 18px; padding: 18px; background: #fff; border-bottom: 1px solid var(--vdfd-border); }
.post_author { flex: 0 0 150px; color: var(--vdfd-muted); }
.post_content { flex: 1 1 auto; min-width: 0; }
.post_body { color: #344054; font-size: 15px; }
.post_controls { margin-top: 14px; }
.author_avatar img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.user_details { margin-top: 8px; font-size: 12px; }
.postbit_postdate { float: right; color: #98a2b3; font-size: 12px; }

#footer .upper {
  padding: 14px 0;
  border-top: 1px solid var(--vdfd-border);
  background: #fff;
  color: var(--vdfd-muted);
}
#footer .lower { padding: 14px 0 28px; color: #98a2b3; font-size: 12px; }
#footer ul.menu { margin: 0; padding: 0; list-style: none; }
#footer ul.menu li { display: inline-block; margin: 0 14px 0 0; }
#footer #current_time { float: right; }
