body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f7f9fb;
  color: #222;
}
a { color: #00897b; text-decoration: none; }
a:hover { text-decoration: underline; }
.nl-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.nl-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e9f0;
  position: sticky;
  top: 0;
  z-index: 20;
}
.nl-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nl-logo a {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.03em;
}
.nl-nav a {
  margin: 0 8px;
  font-size: 14px;
}
.nl-user a {
  margin-left: 12px;
  font-size: 14px;
}
.nl-main {
  padding: 32px 0 48px;
}
.nl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.nl-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(15, 35, 52, 0.06);
  display: flex;
  flex-direction: column;
}
.nl-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
}
.nl-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nl-price {
  font-weight: 600;
}
.nl-button, .nl-button-sm {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: #00897b;
  color: #ffffff;
  font-size: 14px;
  border: none;
  cursor: pointer;
}
.nl-button-sm {
  padding: 6px 12px;
  font-size: 13px;
}
.nl-button:hover, .nl-button-sm:hover {
  background: #00695c;
  text-decoration: none;
}
.nl-footer {
  border-top: 1px solid #e5e9f0;
  background: #ffffff;
  padding: 16px 0;
}
.nl-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.nl-footer-links a {
  margin-left: 12px;
}
.nl-form-row {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}
.nl-form-row label {
  margin-bottom: 4px;
  font-size: 14px;
}
.nl-form-row input,
.nl-form-row textarea {
  border-radius: 10px;
  border: 1px solid #cfd8e3;
  padding: 10px 12px;
  font-size: 14px;
}
.nl-chat {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
}
.nl-chat-message {
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f1f5f9;
}
.nl-chat-message-own {
  background: #e0f2f1;
}
.nl-chat-meta {
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 4px;
}
@media (max-width: 768px) {
  .nl-header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 0;
  }
  .nl-nav {
    width: 100%;
    margin-top: 8px;
    text-align: center;
  }
}
/* === Backoffice (admin-panel) layout === */
.bo-body {
  background: #0f172a;
}
.bo-layout {
  display: flex;
  min-height: 100vh;
}
.bo-sidebar {
  width: 260px;
  background: radial-gradient(circle at top left, #1e293b, #020617);
  color: #e5e7eb;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
}
.bo-logo {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.bo-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 10px;
}
.bo-logo-text {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.bo-nav {
  flex: 1;
  font-size: 14px;
}
.bo-nav-section {
  text-transform: uppercase;
  font-size: 11px;
  opacity: 0.6;
  margin: 16px 0 6px;
}
.bo-nav-item {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #cbd5f5;
  margin-bottom: 4px;
}
.bo-nav-item:hover {
  background: rgba(148, 163, 184, 0.12);
  text-decoration: none;
}
.bo-nav-item-active {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(14, 165, 233, 0.12));
  color: #ffffff;
}
.bo-nav-footer {
  margin-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 12px;
}
.bo-main {
  flex: 1;
  background: radial-gradient(circle at top left, #1e293b 0, #020617 45%, #020617 100%);
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
}
.bo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}
.bo-header-title {
  font-size: 18px;
  font-weight: 600;
}
.bo-header-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.bo-user-logout {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 12px;
}
.bo-user-logout:hover {
  background: rgba(148, 163, 184, 0.1);
  text-decoration: none;
}
.bo-content {
  padding: 20px 24px 32px;
}
.bo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.bo-card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85));
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.75);
}
.bo-card-sm {
  padding: 10px 12px;
}
.bo-card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
  margin-bottom: 6px;
}
.bo-card-value {
  font-size: 22px;
  font-weight: 600;
}
.bo-card-sub {
  font-size: 12px;
  opacity: 0.75;
}
.bo-card-line {
  font-size: 13px;
  margin-bottom: 4px;
}
.bo-two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.bo-column h2 {
  margin: 16px 0 10px;
  font-size: 15px;
}
.bo-list {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 8px 0;
  background: rgba(15, 23, 42, 0.8);
}
.bo-list-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 12px;
  font-size: 13px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.7);
}
.bo-list-row:last-child {
  border-bottom: none;
}
.bo-table-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
}
.bo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.bo-table thead {
  background: rgba(15, 23, 42, 0.95);
}
.bo-table th,
.bo-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.8);
}
.bo-table th {
  text-align: left;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
}
.bo-table tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.7);
}
.bo-link {
  color: #38bdf8;
}
.bo-link:hover {
  text-decoration: underline;
}
.bo-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.bo-form {
  max-width: 720px;
}
.bo-form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}
.bo-form-group label {
  font-size: 13px;
  margin-bottom: 4px;
}
.bo-form-group input,
.bo-form-group select,
.bo-form-group textarea {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  padding: 8px 10px;
  font-size: 13px;
}
.bo-form-group textarea {
  resize: vertical;
}
.bo-form-checkbox {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.bo-form-checkbox input {
  width: auto;
}
@media (max-width: 960px) {
  .bo-sidebar {
    display: none;
  }
  .bo-main {
    min-height: 100vh;
  }
  .bo-two-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}
