:root {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  background: #080214;
  color: #fff;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #07030f;
}

.brand-header {
  padding: 32px 40px;
  background: linear-gradient(135deg, #2b0b47, #4754a5, #d3276e);
  color: #fff;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: radial-gradient(circle, #ff8cc6, #2b0b47);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: #fcd376;
}

.tagline {
  margin: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.panel {
  padding: 32px 40px;
  background: #0e0520;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.card.wide {
  width: 100%;
}

label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 16px;
  display: block;
}

input {
  width: 100%;
  padding: 0.8rem;
  margin-top: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

button {
  margin-top: 16px;
  padding: 0.95rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.1em;
}

button.primary {
  width: 100%;
  background: linear-gradient(135deg, #d3276e, #4754a5);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

button.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  width: 45%;
}

.button-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.status {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #fcd376;
}

.hidden {
  display: none !important;
}

.users-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  letter-spacing: 0.1em;
}

.user-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 150px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
}

.user-main strong {
  font-size: 1rem;
  display: block;
}

.user-meta {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.user-status-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  text-align: right;
}

.license-date {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

.user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.user-actions button {
  font-size: 0.7rem;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  letter-spacing: 0.1em;
}

.ghost.mini {
  width: auto;
}

.user-actions .danger {
  border: none;
  background: #ff6f85;
  color: #fff;
  box-shadow: 0 12px 18px rgba(255, 111, 133, 0.4);
}

.status.active {
  color: #6fffb0;
}

.status.inactive {
  color: #ff6f85;
}

.status.hidden {
  display: none;
}

.status.error {
  color: #ff6f85;
}

@media (max-width: 768px) {
  .user-row {
    grid-template-columns: 1fr;
  }

  .user-status-info {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .user-actions {
    justify-content: flex-start;
  }
}

.hint-links {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #fcd376;
}

.hint-links span {
  font-size: 0.75rem;
}

.hint-links a {
  color: #fff;
  text-decoration: underline;
}
