/* ============================================================
   DorkPWN — style.css
   ============================================================ */

/* ----- Reset ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ----- Base ----- */
html, body {
  height: 100%;
}

body {
  background: #000;
  color: #ccc;
  font-family: monospace;
  font-size: 13px;
  line-height: 1.5;
}

/* ----- Layout ----- */
.app {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ----- Sidebar ----- */
.sidebar {
  width: 190px;
  min-width: 190px;
  border-right: 1px solid #141414;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.sidebar-logo {
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 5px;
  padding: 22px 20px 18px;
  border-bottom: 1px solid #141414;
  text-transform: uppercase;
}

.sidebar-logo span {
  color: #444;
}

.sidebar-section-label {
  font-size: 9px;
  letter-spacing: 2px;
  color: #2e2e2e;
  text-transform: uppercase;
  padding: 18px 20px 8px;
}

.preset-btn {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-left: 2px solid transparent;
  color: #555;
  font-family: monospace;
  font-size: 11px;
  text-align: left;
  padding: 7px 20px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: color 0.1s, border-color 0.1s, background 0.1s;
}

.preset-btn:hover {
  color: #ccc;
  border-left-color: #444;
  background: #080808;
}

/* ----- Main ----- */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  gap: 16px;
}

/* ----- Top Bar ----- */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #141414;
  padding-bottom: 14px;
  flex-shrink: 0;
}

.page-title {
  font-size: 10px;
  letter-spacing: 3px;
  color: #303030;
  text-transform: uppercase;
}

/* ----- Action Buttons ----- */
.actions {
  display: flex;
  gap: 6px;
}

.btn {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 7px 14px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.1s, color 0.1s, border-color 0.1s;
  text-transform: uppercase;
}

.btn-primary {
  background: #fff;
  color: #000;
  border: none;
}

.btn-primary:hover {
  background: #ccc;
}

.btn-secondary {
  background: transparent;
  color: #444;
  border: 1px solid #1c1c1c;
}

.btn-secondary:hover {
  color: #999;
  border-color: #333;
}

/* ----- Field Grid ----- */
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  flex-shrink: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field.span2 {
  grid-column: span 2;
}

.field label {
  font-size: 9px;
  letter-spacing: 2px;
  color: #333;
  text-transform: uppercase;
}

/* ----- Inputs ----- */
input,
select {
  background: #080808;
  border: 1px solid #1c1c1c;
  color: #ccc;
  padding: 7px 9px;
  font-family: monospace;
  font-size: 12px;
  outline: none;
  border-radius: 2px;
  width: 100%;
  appearance: none;
  transition: border-color 0.15s, color 0.15s;
}

input:focus,
select:focus {
  border-color: #3a3a3a;
  color: #fff;
}

input::placeholder {
  color: #222;
}

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23444'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  padding-right: 24px;
}

/* ----- Output Panel ----- */
.output-wrap {
  border: 1px solid #141414;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  min-height: 100px;
}

.output-header {
  background: #060606;
  border-bottom: 1px solid #141414;
  padding: 6px 12px;
  font-size: 9px;
  letter-spacing: 2px;
  color: #2a2a2a;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.output-body {
  padding: 14px;
  font-size: 12px;
  line-height: 1.9;
  word-break: break-all;
  color: #fff;
  overflow-y: auto;
  flex: 1;
}

.output-body .empty {
  color: #222;
  font-style: italic;
}

.output-body .op {
  color: #555;
}
