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

html, body {
  margin: 0;
  padding: 0;
}

body {
  /*font-family: 'Fira Sans', sans-serif;*/
  font-family: 'IBM Plex Sans', sans-serif;
  background-color: #0c0c0c;
  color: #e0e0e0;
  line-height: 1.6;
}

body.has-header {
  display: block;
  padding-top: 72px; /* offset for header height */
}


nav .nav-link {
  color: #7fffd4;
  opacity: 1;
  text-decoration: none;
  font-weight: bold;
  margin-right: 18px;
  transition: opacity 0.2s, color 0.2s;
}

nav .nav-link.active {
  color: #00ffcc !important;
  opacity: 1 !important;
  border: 2px solid #00ffcc;
  border-radius: 6px 6px 0 0;
  background-color: #1e1e1e;
  font-weight: bold;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
  padding: 5px 10px 3px 10px;
}

.bright-download {
  background: linear-gradient(90deg, #43ffbb, #11e5ff 80%);
  color: #1a1a1a !important;
  font-weight: bold;
  border: 2px solid #eafffb;
  box-shadow: 0 0 16px 2px #7fffd4bb, 0 4px 16px #13efffaa;
  transition: background 0.2s, box-shadow 0.2s;
}
.bright-download:hover {
  background: linear-gradient(90deg, #a6ffe8, #0cf5ff 80%);
  color: #0f0f0f !important;
  box-shadow: 0 0 24px 4px #aafffd, 0 4px 32px #25f7ff88;
  text-decoration: underline;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* we’ll push the right side with auto margin */
  gap: 24px;
  padding: 1rem 2rem;
  background-color: #1a1a1a;
  flex-wrap: nowrap; /* prevent wrapping that causes “left shift” */
}

.site-header .logo img { height: 32px; display:block; }

.primary-nav {
  display: flex;
  gap: 24px;
  flex: 0 0 auto;         /* don’t let the middle nav grab all width */
}

.auth-actions {
  margin-left: auto;      /* <-- pins this block to the right */
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Optional: avoid any page-specific CSS from stretching nav */
.primary-nav, .primary-nav * { white-space: nowrap; }


/* Header Layout */
header {
  background-color: #121212;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #1f1f1f;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


nav a {
  color: #00ffcc;         /* Seafoam green */
  font-weight: bold;
  text-decoration: none;
  margin-left: 1.2rem;    /* spacing between links */
  font-size: 1rem;
}

nav a:first-child {
  margin-left: 0;         /* remove margin on the first link */
}

nav a:hover {
  text-decoration: underline;
  color: #7ffff1;         /* Optional: lighter on hover */
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  text-align: center;
  background: radial-gradient(circle at top left, #1a1a1a, #000);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  /*font-family: 'Fira Sans', sans-serif;*/
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 2.4rem;
  margin: 0 auto 0.5rem auto;
  color: #a6e3d4;
  text-align: center;
}

.hero-subtitle {
  /*font-family: 'Fira Sans', sans-serif;*/
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.2rem;
  max-width: 700px;
  color: #ccc;
  text-align: center;
  margin: 0 auto 2rem auto;
}

.hero-subtitle a {
  color: #00ffcc;          /* seafoam green */
  font-weight: bold;
  text-decoration: none;
}

.hero-subtitle a:hover {
  text-decoration: underline;
}

.auth-form input[type="email"],
.auth-form input[type="password"] {
  font-size: 1.1rem;
  padding: 0.1rem;
  height: 1.8rem;
  width: 100%;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #1a1a1a;
  color: #e0e0e0;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.auth-form.shrink input[type="email"],
.auth-form.shrink input[type="password"] {
  font-size: 1rem;
  padding: 0.5rem;
  height: 2rem;
}

.auth-form input:focus {
  outline: none;
  border-color: #00ffcc;
  box-shadow: 0 0 4px #00ffcc;
}

.auth-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #0c0c0c;
  color: #e0e0e0;
}

.auth-box {
  background-color: #1a1a1a;
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 255, 179, 0.2);
  max-width: 400px;
  width: 100%;
}

.auth-box h1 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  text-align: center;
  color: #00ccb3;
}

.auth-box input {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #333;
  border-radius: 6px;
  background-color: #2a2a2a;
  color: #e0e0e0;
}

.auth-box input:focus {
  outline: none;
  border-color: #00ccb3;
  box-shadow: 0 0 5px #00ccb3;
}

.btn-seafoam {
  background-color: #00ccb3;
  color: black;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

.btn-seafoam:hover {
  background-color: #00e6cc;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-social img {
  height: 20px;
  width: 20px;
}

.btn-social span {
  flex-grow: 1;
  text-align: center;
}

/* Google Button Styling */
.btn-social.google {
  background-color: #ffffff;
  color: #444;
  border: 1px solid #ccc;
}

.btn-social.google:hover {
  background-color: #f5f5f5;
}

/* Facebook Button Styling */
.btn-social.facebook {
  background-color: #1877f2;
  color: #ffffff;
}

.btn-social.facebook:hover {
  background-color: #155cc0;
}

.btn-social.twitter {
  background-color: #1da1f2;
}

.btn-social.twitter:hover {
  background-color: #0d8ddb;
}

.rule-text {
  font-size: 0.85rem;
  color: #aaa;
  margin: 6px 0 14px;
  display: block;
}

.message {
  text-align: center;
  margin-top: 10px;
}

.switch-link {
  text-align: center;
  margin-top: 20px;
  font-size: 1.125rem;
}

@keyframes sign-up-link-glow {
  0%,
  100% {
    text-shadow:
      0 0 4px rgba(0, 204, 179, 0.35),
      0 0 10px rgba(0, 204, 179, 0.15);
  }
  50% {
    text-shadow:
      0 0 10px rgba(180, 255, 245, 0.95),
      0 0 22px rgba(0, 255, 220, 0.75),
      0 0 36px rgba(0, 204, 179, 0.5),
      0 0 48px rgba(127, 255, 212, 0.35);
  }
}

.switch-link a {
  color: #00ccb3;  /* Seafoam green */
  text-decoration: none;
  font-weight: bold;
  animation: sign-up-link-glow 2s ease-in-out infinite;
}

.switch-link a:hover {
  text-decoration: underline;
  animation-play-state: paused;
  text-shadow:
    0 0 10px rgba(180, 255, 245, 0.95),
    0 0 22px rgba(0, 255, 220, 0.75),
    0 0 36px rgba(0, 204, 179, 0.5),
    0 0 48px rgba(127, 255, 212, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .switch-link a {
    animation: none;
    text-shadow: 0 0 6px rgba(0, 204, 179, 0.35);
  }
  .switch-link a:hover {
    text-shadow: 0 0 8px rgba(0, 204, 179, 0.45);
  }
}


/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.primary {
  background-color: #a6e3d4;
  color: #000;
}

.primary:hover {
  background-color: #7ed4be;
}

.secondary {
  background-color: transparent;
  border: 1px solid #a6e3d4;
  color: #a6e3d4;
}

.secondary:hover {
  background-color: #1a1a1a;
}

/* Preview Card */
.dooping-preview {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.dooping-card {
  background: #1c1c1c;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,255,255,0.1);
  width: 320px;
  text-align: center;
  border: 1px solid #333;
}

.lock-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #a6e3d4;
}

.message-preview {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #aaa;
}

.unlock {
  background-color: #444;
  color: #a6e3d4;
  border: none;
}

.unlock:hover {
  background-color: #555;
}

/* Section Blocks */
.section {
  padding: 4rem 2rem;
  text-align: center;
}

.section.dark {
  background-color: #111;
}

.section.light {
  background-color: #1a1a1a;
}

.section h2 {
  font-size: 2rem;
  color: #a6e3d4;
  margin-bottom: 1rem;
}

.section p {
  color: #ccc;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Footer */
footer {
  background-color: #121212;
  color: #888;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #1f1f1f;
}

.checkbox-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  width: 100%;
}
.checkbox-row input[type="checkbox"] {
  margin: 0;
  padding: 0;
  width: 16px;
  height: 16px;
  appearance: auto;
}
.checkbox-row label {
  margin-left: 8px;
  font-size: 1rem;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.checkbox-row label.disabled {
  color: #666;
}

label.disabled {
  color: #666;
}

/* Style top-right nav links like Login / Sign Up */
.top-right-links a {
  color: #00ffcc; /* seafoam green */
  font-weight: bold;
  text-decoration: none;
  margin-left: 1rem;
}

.top-right-links a:hover {
  color: #7ffff1;
  text-decoration: underline;
}


/* Dashboard */
.table-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background-color: #1a1a1a;
  color: #e0e0e0;
}

.dashboard-table th,
.dashboard-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #333;
  text-align: left;
}

.dashboard-table th {
  background-color: #121212;
  color: #00ffcc;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.dashboard-table tbody tr:hover {
  background-color: #222;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.panel {
  background-color: #1e1e2f;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  color: #e6fef7;
  transition: transform 0.2s ease;
}

.panel:hover {
  transform: translateY(-4px);
}

.panel h2 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #99fff0;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  margin-top: 1rem;
}

.stat strong {
  font-size: 2rem;
  display: block;
  color: #7fffd4;
}

.subtext {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

.animated-slogan {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(
    90deg,
    #00ffcc,
    #f9b758,
    #00ffcc,
    #f38f4f,
    #00ffcc
  );
  background-size: 500% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: waveflow 18s linear infinite;
  text-shadow: 0 0 6px rgba(0, 255, 204, 0.2);
  display: inline-block;
}

@keyframes waveflow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.gradient-username {
  background: linear-gradient(
    90deg,
    #00ffcc,
    #f9b758,
    #00ffcc,
    #f38f4f,
    #00ffcc
  );
  background-size: 500% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  display: inline-block;
  animation: shimmerLoop 20s linear infinite;
}

.button-grey,
.cancel-btn {
  background-color: #555 !important;
  color: #ddd !important;
  margin-top: 10px;
  margin-left: 10px;
}

.button-grey:hover,
.cancel-btn:hover {
  background-color: #777 !important;
  color: #fff !important;
}

.cancel-btn.red {
  background-color: #cc4444 !important;
  color: white !important;
  border: 1px solid #ff8888 !important;
}

.cancel-btn.red:hover {
  background-color: #dd2222 !important;
}

.red {
  background-color: #cc4444 !important;
  color: white !important;
  font-weight: bold;
  border: 1px solid #ff8888;
}

.red:hover {
  background-color: #dd2222 !important;
}

.view-btn {
  background-color: #00cccc;
  color: black;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  width: 140px;     /* 🔒 Fixed width */
  height: 48px;     /* 🔒 Fixed height */
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap; /* Prevent wrapping */
}

#account-modal input[type="text"] {
  background: #23243a !important;
  color: #ccffef !important;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 0.5rem;
  margin-bottom: 1rem;
}
#account-modal label {
  color: #aad7cc !important;
}
#account-modal .button {
  color: #0f222b !important;
  font-weight: bold;
}
#account-modal {
  background-color: rgba(0,0,0,0.7) !important;
}
#account-modal > div {
  background: #1e1e2f !important;
  color: white !important;
  box-shadow: 0 0 20px rgba(0,255,255,0.2);
}


@keyframes shimmerLoop {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Notification bell & dropdown (dark theme friendly) */
:root {
  --accent: #7fffd4;         /* seafoam you’re using */
  --fg: #ccffef;
  --muted: #94b8ab;
  --panel: #1a1a1a;
  --panel-2: #121212;
  --border: #2b2b2b;
}

.notif {
  position: relative;
  margin-left: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.notif svg path {
  fill: var(--fg);
}
.notif:hover svg path {
  fill: var(--accent);
}

.notif .badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  font-size: 11px;
  color: #0f0f0f;
  background: var(--accent);
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
}

.notif-menu {
  position: absolute;
  right: 16px;
  top: 60px;
  width: 320px;
  background: var(--panel);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  z-index: 1000;
}

.notif-menu-header,
.notif-menu-footer {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.notif-menu-footer {
  border-top: 1px solid var(--border);
  border-bottom: none;
  display: flex;
  justify-content: flex-end;
}

#notif-list {
  max-height: 340px;
  overflow: auto;
  background: var(--panel-2);
}

.notif-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.notif-item:last-child {
  border-bottom: none;
}
.notif-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #222;
  object-fit: cover;
  border: 1px solid var(--border);
}
.notif-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.notif-meta .who {
  font-weight: 600;
}
.notif-meta .when {
  color: var(--muted);
  font-size: 12px;
}
.notif-actions {
  display: flex;
  gap: 8px;
}
.notif-btn {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #101010;
  color: var(--fg);
  cursor: pointer;
  font-size: 13px;
}
.notif-btn:hover { filter: brightness(1.15); }
.notif-accept { border-color: var(--accent); }
.notif-reject { opacity: 0.85; }


