/* styles.css – original dark style */

/* Reset / basis */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2937, #020617);
  color: #e5e7eb;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 640px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

h1 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.6rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #cbd5f5;
}

/* Formular */
.form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

textarea,
input,
select {
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  padding: 0.6rem 0.75rem;
  font: inherit;
  resize: vertical;
}

textarea {
  min-height: 100px;
}

textarea:focus,
input:focus,
select:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.7);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-row .label {
  flex: 1 1 150px;
}

/* Knap */
.button {
    display: inline-block;
    margin-top: 1rem;
    background-color: #F53F57; /* F1IT RØD */
    padding: 0.7rem 1.4rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.button:hover {
    background-color: #D33449; /* mørkere rød */
}
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.25);
}

/* Tekst / hints */
.hint {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 1rem;
}

/* Link-boks til URL */
.link-box {
  margin: 1rem 0;
}

.link-box input {
  width: 100%;
  cursor: pointer;
}

/* Secret-visning */
.secret-box {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  margin: 1rem 0;
  overflow-x: auto;
}

.secret-box code {
  font-family: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  word-wrap: break-word;
}

/* Logo / brand øverst i kortet */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: #ffffff;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Responsiv */
@media (max-width: 600px) {
  .page {
    align-items: flex-start;
    padding-top: 1.5rem;
  }
  .card {
    padding: 1.5rem;
    border-radius: 1.2rem;
  }

  h1 {
    font-size: 1.3rem;
  }
}