/* OmPastes - OMHACKZ RETRO SYSTEM */
body {
  font-family: "Verdana", "Tahoma", sans-serif;
  background-color: #f4f4f4;
  color: #000;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
}

.container {
  width: 850px;
  max-width: calc(100% - 40px);
  margin: 20px auto;
  border: 1px solid #000;
  padding: 10px;
  background-color: #fff;
}

.site-header {
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.site-header h1 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.5px;
}
.site-header h1 a {
  color: #000;
  text-decoration: none;
}
.site-header .tagline {
  font-size: 12px;
  color: #555;
  margin: 2px 0 0 0;
}

.site-nav {
  margin: 10px 0;
  padding: 5px 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  text-align: center;
  font-size: 13px;
}

.site-nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #000080;
  white-space: nowrap;
}

.site-nav a:hover {
  text-decoration: underline;
}

.section,
.page {
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  background: #fff;
}

.section-title {
  border-bottom: 1px solid #000;
  padding-bottom: 5px;
  margin-top: 0;
}

h1 { font-size: 24px; }
h2 { font-size: 20px; color: #000080; margin: 0 0 8px 0; }
h3 { font-size: 16px; margin: 10px 0 6px 0; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

table th, table td {
  border: 1px solid #000;
  padding: 6px;
  text-align: left;
  vertical-align: top;
}

table th {
  background-color: #e0e0e0;
  font-weight: bold;
}

.btn {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #000;
  background-color: #e0e0e0;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background-color: #d0d0d0; }
.btn:active { background-color: #c0c0c0; }
.btn-primary { background-color: #000080; color: #fff; border-color: #000; }
.btn-primary:hover { background-color: #0000a0; }
.btn-danger { background:#800000; color:#fff; border-color:#000; }
.btn-danger:hover { background:#a00000; }
.btn-small { padding: 3px 7px; font-size: 12px; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
select,
textarea {
  font-family: "Courier New", monospace;
  font-size: 13px;
  border: 1px solid #000;
  padding: 5px;
  background: #fff;
  color: #000;
  width: 100%;
  box-sizing: border-box;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 1px solid #000080; }

.form-group { margin-bottom: 10px; }
.form-group label { display: block; font-weight: bold; margin-bottom: 3px; font-size: 12px; }
.form-row { display: flex; gap: 10px; }
.form-row .form-group { flex: 1; }
.form-hint { font-size: 11px; color: #555; margin-top: 2px; }

.alert {
  border: 1px solid #000;
  padding: 6px 8px;
  margin-bottom: 10px;
  font-size: 13px;
}
.alert-error { background: #ffe0e0; border-color: #800000; color: #800000; }
.alert-success { background: #e0ffe0; border-color: #008000; color: #004000; }
.alert-info { background: #e0e0ff; border-color: #000080; color: #000080; }
.alert-warn { background: #ffffcc; border-color: #808000; color: #404000; }

pre {
  background: #f0f0f0;
  border: 1px solid #000;
  padding: 10px;
  overflow-x: auto;
  font-family: "Courier New", monospace;
  font-size: 13px;
  white-space: pre-wrap;
  word-wrap: break-word;
}
code { font-family: "Courier New", monospace; }
pre.hljs { background:#f0f0f0 !important; border:1px solid #000; padding:10px; }
.hljs { background:#f0f0f0 !important; }

.paste-meta {
  font-size: 12px;
  color: #333;
  border: 1px solid #ccc;
  padding: 6px 8px;
  margin-bottom: 10px;
  background: #fafafa;
}
.paste-meta b { color: #000; }
.paste-actions { margin-top: 10px; }
.paste-actions .btn { margin-right: 5px; margin-bottom: 5px; }

.retro-box {
  border:1px solid #000;
  background:#fafafa;
  padding:8px;
  margin-top:10px;
}
.retro-box h3 { margin:0 0 6px 0; font-size:13px; color:#000080; border-bottom:1px solid #000; padding-bottom:4px; }

.embed-code {
  width:100%;
  font-family:"Courier New", monospace;
  font-size:11px;
  background:#fff;
  border:1px solid #000;
  padding:6px;
  box-sizing:border-box;
}

.qr-wrap, .barcode-wrap {
  border:1px solid #000;
  background:#fff;
  padding:10px;
  text-align:center;
  margin-top:6px;
}
.qr-wrap canvas, .qr-wrap img { margin:0 auto; display:block; }
.barcode-wrap svg { max-width:100%; }

.preview-frame {
  width:100%;
  height:400px;
  border:1px solid #000;
  background:#fff;
}

.profile-header {
  border: 1px solid #000;
  padding: 10px;
  margin-bottom: 10px;
  background: #f9f9f9;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.profile-avatar {
  width: 64px;
  height: 64px;
  border: 1px solid #000;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  color: #000080;
  flex-shrink: 0;
  overflow: hidden;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-stats { font-size: 12px; color: #333; }

.site-footer {
  text-align: center;
  font-size: 12px;
  padding: 10px 0;
  border-top: 2px solid #000;
  color: #555;
}
.site-footer a { color: #000080; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

hr.retro {
  border: none;
  border-top: 1px solid #000;
  margin: 10px 0;
}

.small { font-size: 11px; color: #666; }
.mono { font-family: "Courier New", monospace; }
.text-center { text-align: center; }
.mt10 { margin-top: 10px; }
.hidden { display: none !important; }

/* responsive */
@media (max-width: 600px) {
  .container { max-width: calc(100% - 16px); margin: 10px auto; padding: 8px; }
  .site-nav { font-size: 12px; }
  .site-nav a { margin: 0 6px; }
  .form-row { flex-direction: column; gap: 0; }
  .profile-header { flex-direction: column; }
  table { font-size: 12px; }
  pre { font-size: 12px; }
  .preview-frame { height:300px; }
}
