/* ===== Global navbar för AI-CV ===== */

:root {
  --nav-bg: rgba(15, 23, 42, 0.96);
  --nav-border: rgba(148, 163, 184, 0.4);
  --nav-text: #e5e7eb;
  --nav-muted: #cbd5f5;
  --nav-accent: #2563eb;
}

.app-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--nav-border);
  color: var(--nav-text);
}

.app-nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-nav-brand {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--nav-text);
  text-decoration: none;
}

.app-nav-links {
  display: flex;
  gap: 10px;
}

.app-nav-link {
  font-size: 13px;
  color: var(--nav-muted);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.app-nav-link:hover {
  background: rgba(37, 99, 235, 0.22);
  color: #f9fafb;
}

.app-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-nav-account {
  font-size: 13px;
  color: var(--nav-muted);
}

.app-nav-btn {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 6px 12px;
  font-size: 12px;
  background: transparent;
  color: var(--nav-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-nav-btn:not(.secondary) {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  border: none;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.55);
}

.app-nav-btn.secondary {
  background: transparent;
}

.app-nav-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 720px) {
  .app-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .app-nav-left {
    width: 100%;
    justify-content: space-between;
  }
  .app-nav-links {
    display: none; /* vill du visa dem även på mobil kan du ändra detta */
  }
}

footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  font-size: 12px;
  color: #9ca3af;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #6b7280; /* Grå länkfärg (neutral) */
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline; /* Diskret effekt */
}
