/*
Theme Name: NOPS
Theme URI: https://example.com/nops
Author: OpenAI
Description: Lihtne NOPS WordPressi teema video ja teksti edastamiseks.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nops
*/

:root {
  --bg: #f8f2ec;
  --card: #fffdf9;
  --ink: #3e2d22;
  --muted: #76685f;
  --accent: #a40f22;
  --line: #e6d9d0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a { color: var(--accent); }

.nops-wrap {
  width: min(820px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 60px;
}

.nops-header {
  text-align: center;
  margin-bottom: 24px;
}

.nops-logo {
  display: block;
  width: min(190px, 48vw);
  height: auto;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 18px 50px rgba(62,45,34,.08);
}

.nops-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(62,45,34,.08);
}

.nops-card h1,
.nops-card h2,
.nops-card h3 {
  line-height: 1.15;
}

.nops-card p {
  line-height: 1.6;
}

.nops-field {
  margin: 0 0 22px;
}

.nops-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.nops-help {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 10px;
}

.nops-upload-box {
  display: block;
  border: 2px dashed #d5c1b7;
  border-radius: 18px;
  padding: 22px 16px;
  background: #fffaf6;
}

.nops-upload-box input {
  width: 100%;
  margin-top: 10px;
}

.nops-textarea {
  width: 100%;
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.nops-button {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 15px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.nops-notice {
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 14px;
}

.nops-success { background: #edf7ef; }
.nops-error { background: #fff0f0; }

.nops-footer {
  padding-top: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 560px) {
  .nops-card {
    padding: 17px;
    border-radius: 20px;
  }
}
