* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0f172a; /* по-дълбок цвят */
  color: #e2e8f0;
  font-family: Arial, sans-serif;
}

/* NAVBAR */
nav {
  background: #1e293b;
  padding: 15px;
  display: flex;
  justify-content: center;
  gap: 40px;
  border-bottom: 1px solid #334155;
}

nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

nav a:hover {
  color: #38bdf8;
}

/* CONTENT */
.content {
  padding: 30px;
  max-width: 1200px;
  margin: auto;
}

/* HEADINGS */
h3 {
  margin: 25px 0 15px;
  font-size: 18px;
  color: #38bdf8;
  border-left: 4px solid #38bdf8;
  padding-left: 10px;
}

/* GRID */
.row {
  display: grid;
  grid-template-columns: 120px repeat(auto-fit, minmax(70px, 1fr));
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
  background: #1e293b;
  padding: 10px;
  border-radius: 8px;
}

.row span {
  font-weight: bold;
}

/* LABEL + INPUT */
label {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  color: #94a3b8;
}

/* OPTIONS */
.options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: #1e293b;
  padding: 15px;
  border-radius: 8px;
}

/* INPUTS */
input {
  margin-top: 5px;
  padding: 6px;
  border-radius: 5px;
  border: 1px solid #334155;
  background: #0f172a;
  color: white;
  outline: none;
  transition: 0.2s;
}

input:focus {
  border-color: #38bdf8;
}

/* NAME FIELD */
.options:last-child input {
  width: 200px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0f172a;
  color: #e2e8f0;
  font-family: Arial, sans-serif;
}

/* NAVBAR */
nav {
  background: #1e293b;
  padding: 15px;
  display: flex;
  justify-content: center;
  gap: 40px;
  border-bottom: 1px solid #334155;
}

nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  color: #38bdf8;
}

/* CENTER FORM */
.main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 60px);
}

/* CARD */
.container {
  background: #1e293b;
  padding: 30px;
  border-radius: 12px;
  width: 320px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  text-align: center;
}

/* TITLE */
h2 {
  margin-bottom: 15px;
  color: #38bdf8;
}

/* INPUTS */
.container input {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #334155;
  background: #0f172a;
  color: white;
  outline: none;
}

.container input:focus {
  border-color: #38bdf8;
}

/* BUTTON */
button {
  width: 100%;
  padding: 10px;
  background: #38bdf8;
  border: none;
  color: black;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  font-weight: bold;
}

button:hover {
  background: #0ea5e9;
}

/* TEXT */
p {
  margin-top: 10px;
  font-size: 14px;
  color: #94a3b8;
}

p a {
  color: #38bdf8;
  text-decoration: none;
}
.save-btn {
  margin-top: 20px;
  padding: 12px;
  background: #22c55e;
  border: none;
  border-radius: 8px;
  color: black;
  font-weight: bold;
  cursor: pointer;
}

.save-btn:hover {
  background: #16a34a;
}

table td, table th {
  border-bottom: 1px solid #334155;
}

/* TABLE WRAPPER */
.table-wrapper {
  overflow-x: auto;
  background: #1e293b;
  padding: 10px;
  border-radius: 8px;
}

/* TABLE */
.archive-table {
  width: 100%;
  border-collapse: collapse;
}

/* HEAD */
.archive-table th {
  padding: 10px;
  text-align: center;
  color: #38bdf8;
  font-weight: bold;
}

/* CELLS */
.archive-table td {
  padding: 10px;
  text-align: center;
  color: #e2e8f0;
}

/* BORDER */
.archive-table td,
.archive-table th {
  border-bottom: 1px solid #334155;
}

/* HOVER */
.archive-table tbody tr:hover {
  background: #0f172a;
  cursor: pointer;
}

/* DETAILS BOX */
#detailsBox {
  width: 100%;
  color: #e2e8f0;
}