 
:root {
  --accent: #00d4e8;
  --accent-dark: #00b4c8;
  --accent-light: #00e8ff;
  --accent-dim: rgba(0, 212, 232, 0.12);
  --accent-glow: rgba(0, 212, 232, 0.24);
  --signal-red: #e84855;
  --signal-amber: #f5a623;
  --signal-green: #4fca7a;
  --bg: #090c0f;
  --bg-panel: #0f1419;
  --bg-surface: #161d25;
  --bg-hover: #1c2530;
  --border: rgba(0, 212, 232, 0.14);
  --border-hard: rgba(0, 212, 232, 0.28);
  --border-panel: rgba(255, 255, 255, 0.05);
  --border-focus: rgba(0, 212, 232, 0.4);
  --text: #e8edf2;
  --text-secondary: #b8c5d6;
  --muted: #7a8fa6;
  --faint: #3d5068;
  --font-display: "Inter", "Inter Fallback", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Inter", "Inter Fallback", -apple-system, "Segoe UI", sans-serif;
  --text-xs: 0.65rem;
  --text-sm: 0.75rem;
  --text-base: 0.88rem;
  --text-lg: 1rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.8rem;
  --text-4xl: 2.25rem;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}
 
body {
  margin: 0;
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--text);
  display: flex;
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(0, 212, 232, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 232, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
}
 
* {
  box-sizing: border-box;
}
 
button,
input,
textarea,
select {
  font-family: inherit;
}
 
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 1.25rem;
  cursor: pointer;
  padding: var(--space-md);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  position: fixed;
  top: var(--space-lg);
  left: var(--space-lg);
  z-index: 1001;
}
 
.menu-toggle:hover {
  background: var(--accent-dim);
  border-color: var(--border-hard);
  color: var(--accent-light);
}
 
.menu-toggle:active {
  transform: scale(0.95);
}
 
.sidebar {
  width: 230px;
  background: var(--bg-panel);
  border-right: 1px solid var(--border);
  color: var(--text);
  display: flex;
  flex-direction: column;
  padding: 20px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1000;
  overflow-y: auto;
}
 
.sidebar .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
 
.sidebar .logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
 
.sidebar nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
 
.sidebar nav a {
  text-decoration: none;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s;
}
 
.sidebar nav a:hover,
.sidebar nav a.active {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: var(--border);
}
 
.sidebar .logout {
  margin-top: auto;
  background: transparent;
  border: 1px solid var(--signal-red);
  padding: 0.65rem;
  color: var(--signal-red);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
 
.sidebar .logout:hover {
  background: var(--signal-red);
  color: var(--bg);
}
 
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  background: var(--bg);
  background-image:
    linear-gradient(rgba(0, 212, 232, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 232, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}
 
.loading p {
  margin-top: var(--space-lg);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--muted);
}
 
.loader {
  width: 60px;
  height: 60px;
  border: 3px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 24px rgba(0, 212, 232, 0.25);
}
 
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
 
.content {
  display: block;
  flex-direction: row;
  width: 100%;
  height: 100vh;
  flex: 1;
}
 
.content.active {
  display: flex;
}
 
.main-content {
  margin-left: 230px;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-2xl) var(--space-2xl);
  min-height: 100vh;
  overflow-y: auto;
  background: var(--bg);
  background-image:
    linear-gradient(rgba(0, 212, 232, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 232, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
}
 
h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-lg) 0;
  color: var(--text);
}
 
h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: var(--space-2xl) 0 var(--space-lg) 0;
  color: var(--text);
}
 
h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: var(--space-lg) 0 var(--space-md) 0;
  color: var(--text);
}
 
.header h1 {
  color: var(--accent);
}
 
.header p {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  margin: 0;
}
 
.card-clickable {
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.card-clickable:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
 
#statsModalList li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
#statsModalList li:last-child {
  border-bottom: none;
}
 
.card {
  background: var(--bg-panel);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-panel);
  text-align: center;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
 
.card:hover {
  border-color: var(--border);
  box-shadow: 0 8px 16px rgba(0, 212, 232, 0.08);
}
 
.card h3 {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 var(--space-md) 0;
}
 
.card p {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
 
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}
 
.wip-box {
  position: relative;
  max-width: 640px;
  padding: var(--space-2xl);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  margin: var(--space-2xl) 0;
}
 
.wip-box h2 {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
}
 
.wip-box p {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 var(--space-lg);
}
 
.assoc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-panel);
  border-radius: var(--radius-md);
  overflow: hidden;
}
 
.assoc-list li {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-panel);
  transition: background 0.2s;
}
 
.assoc-list li:last-child {
  border-bottom: none;
}
 
.assoc-list li:hover {
  background: var(--bg-hover);
}
 
.assoc-list a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
 
.assoc-list a:hover {
  color: var(--accent);
}
 
.assoc-list .assoc-role {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--signal-amber);
}
 
.link-more {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
 
.link-more::after {
  content: " →";
}
 
.link-more:hover {
  color: var(--accent-light);
  transform: translateX(3px);
}
 
.assoc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}
 
.assoc-tabs .tab {
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
 
.assoc-tabs .tab:hover {
  border-color: var(--border-hard);
  color: var(--text);
  background: var(--bg-surface);
  transform: none;
  box-shadow: none;
}
 
.assoc-tabs .tab.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
 
.manage-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
 
.manage-link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
 
.manage-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}
 
.feed-composer {
  max-width: 720px;
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
}
 
.feed-composer h3 {
  margin: 0 0 var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
}
 
.feed-composer textarea {
  min-height: 110px;
}
 
.feed-composer input[type="file"] {
  padding: var(--space-sm) 0;
}
 
.feed-label {
  display: block;
  margin: var(--space-lg) 0 var(--space-sm);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--muted);
}
 
.feed-rules {
  margin: var(--space-lg) 0 var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--muted);
  background: var(--bg-surface);
  border-left: 3px solid var(--faint);
  border-radius: var(--radius-sm);
}
 
.feed-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: var(--text-base);
  color: var(--text-secondary);
  cursor: pointer;
}
 
.feed-check input {
  margin-top: 2px;
  flex-shrink: 0;
}
 
.feed-btn {
  width: auto;
  margin-top: 0;
  padding: var(--space-md) var(--space-xl);
}
 
.feed-btn:hover:not(:disabled) {
  background: var(--accent);
  color: var(--bg);
}
 
.feed-btn:disabled {
  cursor: wait;
}
 
.feed-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 720px;
}
 
.post {
  padding: var(--space-xl);
  background: var(--bg-panel);
  border: 1px solid var(--border-panel);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
 
.post:hover {
  border-color: var(--border);
  box-shadow: 0 8px 16px rgba(0, 212, 232, 0.06);
}
 
.post-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-panel);
}
 
.post-author {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
}
 
.post-role {
  padding: 2px var(--space-sm);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-hard);
  border-radius: var(--radius-sm);
}
 
.post-date {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  color: var(--muted);
}
 
.post-text {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
 
.post-image {
  display: block;
  width: 100%;
  max-height: 480px;
  margin-top: var(--space-lg);
  object-fit: cover;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
 
.feed-delete {
  margin-top: var(--space-lg);
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-xs);
  color: var(--signal-red);
  border-color: rgba(232, 72, 85, 0.3);
}
 
.feed-delete:hover:not(:disabled) {
  background: rgba(232, 72, 85, 0.12);
  color: var(--signal-red);
  border-color: var(--signal-red);
  box-shadow: none;
}
 
.feed-empty {
  padding: var(--space-2xl);
  max-width: 720px;
  font-size: var(--text-base);
  text-align: center;
  color: var(--muted);
  background: var(--bg-panel);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}
 
.feed-more {
  margin-top: var(--space-lg);
}
 
.leave-box {
  max-width: 720px;
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-panel);
}
 
.btn-modal.danger {
  border-color: var(--signal-red);
  color: var(--signal-red);
}
 
.btn-modal.danger:hover {
  background: var(--signal-red);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(232, 72, 85, 0.25);
}
 
.leave-btn {
  padding: var(--space-sm) var(--space-lg);
  margin-right: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--muted);
  border-color: var(--border);
}
 
.leave-btn:hover {
  color: var(--text);
  background: var(--bg-surface);
  border-color: var(--border-hard);
  box-shadow: none;
}
 
.assoc-list .leave-box {
  max-width: none;
  margin-top: var(--space-md);
  padding-top: 0;
  border-top: none;
}
 
.content-box {
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  background: transparent;
  border: none;
}
 
.content-box h2 {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-top: 0;
  color: var(--accent);
}
 
label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--muted);
}
 
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-base);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text);
  font-family: var(--font-display);
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
 
input::placeholder,
textarea::placeholder {
  color: var(--faint);
}
 
input:focus,
textarea:focus,
select:focus {
  border-color: var(--border-focus);
  background: var(--bg-hover);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
 
input:disabled {
  background: var(--bg-panel);
  color: var(--faint);
  cursor: not-allowed;
  border-color: var(--border-panel);
}
 
textarea {
  resize: vertical;
  min-height: 100px;
}
 
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent);
}
 
input[type="file"] {
  border: none;
  padding: var(--space-md) 0;
  font-size: var(--text-sm);
  color: var(--muted);
  background: transparent;
}
 
form {
  background: var(--bg-panel);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  width: 100%;
}
 
form label {
  margin-bottom: var(--space-sm);
}
 
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
 
.mini-group {
  width: 100%;
}
 
button,
.btn,
.btn-primary {
  padding: var(--space-md) var(--space-lg);
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  cursor: pointer;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
 
.loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
}
 
button:hover,
.btn:hover,
.btn-primary:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 4px 12px rgba(0, 212, 232, 0.2);
}
 
button:active,
.btn:active,
.btn-primary:active {
  transform: translateY(0);
}
 
button:focus,
.btn:focus,
.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow);
}
 
button:disabled,
.btn:disabled,
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
 
.btn.danger {
  border-color: var(--signal-red);
  color: var(--signal-red);
}
 
.btn.danger:hover {
  background: var(--signal-red);
  color: var(--bg);
  box-shadow: 0 4px 12px rgba(232, 72, 85, 0.2);
}
 
.btn-preferences {
  align-self: flex-start;
  margin-top: var(--space-lg);
}
 
form button {
  width: 100%;
  margin-top: var(--space-lg);
}
 
#btn-upl,
#saveBtn,
#newsletterBtn {
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s;
}
 
#btn-upl:hover,
#saveBtn:hover,
#newsletterBtn:hover {
  background: var(--accent);
  color: var(--bg);
}
 
#btn-upl:disabled {
  border-color: var(--faint);
  color: var(--faint);
  cursor: not-allowed;
  transform: none;
}
 
#inp-upl {
  display: none;
}
 
#inp-upl + label {
  display: inline-block;
  padding: var(--space-md) var(--space-lg);
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
  text-align: center;
}
 
#inp-upl + label:hover {
  border-color: var(--border-hard);
  color: var(--accent);
  background: var(--accent-dim);
}
 
#file-name {
  display: block;
  margin-top: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--faint);
  text-align: center;
}
 
.newsletter-banner {
  margin-top: var(--space-2xl);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  color: var(--text);
}
 
.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
 
.newsletter-content h2 {
  margin: 0 0 var(--space-sm) 0;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
}
 
.newsletter-content p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-base);
  line-height: 1.6;
}
 
.activity h2 {
  margin-bottom: var(--space-lg);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
}
 
.activity ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
 
.activity li {
  background: var(--bg-panel);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-panel);
  margin-bottom: var(--space-sm);
  font-size: var(--text-base);
  color: var(--muted);
  transition:
    border-color 0.2s,
    background 0.2s;
}
 
.activity li:hover {
  border-color: var(--border);
  background: var(--bg-hover);
}
 
.settings-container {
  max-width: 100%;
  margin: var(--space-3xl) auto;
  padding: var(--space-lg);
}
 
.title {
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-2xl);
  color: var(--accent);
}
 
.settings-row {
  display: flex;
  gap: var(--space-lg);
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}
 
.settings-card {
  background: var(--bg-panel);
  padding: var(--space-2xl);
  flex: 1;
  min-width: 280px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
 
.settings-card:hover {
  border-color: var(--border-hard);
  box-shadow: 0 4px 12px rgba(0, 212, 232, 0.08);
}
 
.settings-card h2,
.settings-card h3 {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}
 
.preferences-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}
 
.preferences-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: var(--space-lg) 0;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-panel);
  overflow: hidden;
}
 
.preference-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-panel);
  transition: background 0.2s;
}
 
.preference-item:last-child {
  border-bottom: none;
}
 
.preference-item:hover {
  background: var(--bg-hover);
}
 
.preference-content {
  flex: 1;
}
 
.preference-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-xs);
  cursor: pointer;
}
 
.preference-desc {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}
 
.toggle-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--accent);
  margin-left: var(--space-lg);
  flex-shrink: 0;
  transition: transform 0.2s;
}
 
.toggle-checkbox:hover {
  transform: scale(1.1);
}
 
.toggle-checkbox:checked {
  filter: drop-shadow(0 0 4px var(--accent-glow));
}
 
.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}
 
.photo-card {
  background: var(--bg-panel);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-panel);
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
 
.photo-card:hover {
  border-color: var(--border-hard);
  box-shadow: 0 12px 24px rgba(0, 212, 232, 0.12);
}
 
.photo-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: var(--space-lg);
  display: block;
  filter: contrast(1.04) saturate(0.9);
  transition: filter 0.3s;
}
 
.photo-card:hover .photo-img {
  filter: contrast(1.08) saturate(1.05);
}
 
.photo-info {
  margin-top: var(--space-lg);
}
 
.photo-info h3 {
  margin: 0 0 var(--space-md) 0;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
}
 
.photo-info p {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0 0 var(--space-md) 0;
  line-height: 1.5;
}
 
.photo-info .status {
  display: inline-block;
  margin-top: var(--space-md);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--text-xs);
  border: 1px solid;
}
 
.status.pending {
  background: rgba(245, 166, 35, 0.1);
  color: var(--signal-amber);
  border-color: rgba(245, 166, 35, 0.3);
}
 
.status.approved {
  background: rgba(79, 202, 122, 0.1);
  color: var(--signal-green);
  border-color: rgba(79, 202, 122, 0.3);
}
 
.status.organized {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--border-hard);
}
 
.status.rejected {
  background: rgba(232, 72, 85, 0.1);
  color: var(--signal-red);
  border-color: rgba(232, 72, 85, 0.3);
}
 
.staff-warning {
  background-color: rgba(255, 123, 0, 0.15);
  color: var(--accent);
  padding: 10px;
  margin: 50px auto;
  border-radius: var(--radius-md);
  text-align: center;
  border-left: 3px solid var(--accent);
  max-width: 600px;
}
 
.gallery-link {
  display: inline-block;
  margin-top: var(--space-md);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
 
.gallery-link:hover {
  color: var(--accent-light);
}
 
.btn-view {
  display: inline-block;
  text-align: center;
  margin-top: var(--space-md);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
 
.btn-view:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
 
.surveys-grid {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: var(--space-2xl);
}
 
.surveys-grid thead {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-hard);
}
 
.surveys-grid thead th {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  border-right: 1px solid var(--border);
}
 
.surveys-grid thead th:last-child {
  border-right: none;
  text-align: center;
}
 
.surveys-grid tbody tr {
  border-bottom: 1px solid var(--border-panel);
  transition:
    background 0.2s,
    border-color 0.2s;
}
 
.surveys-grid tbody tr:hover {
  background: var(--bg-hover);
  border-color: var(--border);
}
 
.surveys-grid tbody td {
  padding: var(--space-lg);
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--text);
  word-break: break-word;
  border-right: 1px solid var(--border-panel);
}
 
.surveys-grid tbody td:last-child {
  border-right: none;
  text-align: center;
}
 
.surveys-grid tbody td code {
  background: var(--bg-surface);
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent);
}
 
.survey-title {
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-base);
}
 
.survey-description {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.4;
  max-width: 300px;
}
 
.survey-date {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  white-space: nowrap;
}
 
.survey-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  border: 1px solid;
}
 
#surveysContainer tr td a {
  text-decoration: none;
  color: var(--accent);
}
 
.survey-status.active {
  background: rgba(79, 202, 122, 0.1);
  color: var(--signal-green);
  border-color: rgba(79, 202, 122, 0.3);
}
 
.survey-status.archived {
  background: rgba(122, 143, 166, 0.1);
  color: var(--muted);
  border-color: rgba(122, 143, 166, 0.3);
}
 
.survey-status.draft {
  background: rgba(245, 166, 35, 0.1);
  color: var(--signal-amber);
  border-color: rgba(245, 166, 35, 0.3);
}
 
.survey-status.expired {
  background: rgba(232, 72, 85, 0.1);
  color: var(--signal-red);
  border-color: rgba(232, 72, 85, 0.3);
}
 
.survey-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}
 
.survey-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
 
.survey-action-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
 
.survey-action-btn.view-btn {
  border-color: var(--accent);
  color: var(--accent);
}
 
.survey-action-btn.share-btn {
  border-color: var(--signal-amber);
  color: var(--signal-amber);
}
 
.survey-action-btn.share-btn:hover {
  background: rgba(245, 166, 35, 0.1);
}
 
.surveys-empty {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: var(--text-base);
  line-height: 1.6;
}
 
.surveys-empty p {
  margin: 0.5rem 0;
}
 
.surveys-empty a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
 
.surveys-empty a:hover {
  color: var(--accent-light);
}
 
#uploadStatus {
  margin-top: var(--space-lg);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  text-align: center;
}
 
#uploadStatus.success {
  color: var(--signal-green);
}
 
#uploadStatus.error {
  color: var(--signal-red);
}
 
.contact-container {
  max-width: 600px;
  margin: var(--space-3xl) auto;
  padding: var(--space-2xl);
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
 
.preview-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 123, 0, 0.08) 0%,
    rgba(255, 123, 0, 0.04) 100%
  );
  border: 1px solid rgba(255, 123, 0, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}
 
.preview-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
 
.preview-wrapper:hover {
  box-shadow:
    0 12px 32px rgba(255, 123, 0, 0.2),
    0 0 20px rgba(255, 123, 0, 0.1);
}
 
.preview-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
 
.delete-preview-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: rgba(255, 59, 48, 0.9);
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
 
.delete-preview-btn:hover {
  background: rgba(255, 59, 48, 1);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.4);
}
 
.delete-preview-btn:active {
  transform: scale(0.95);
}
 
.delete-preview-btn i {
  display: block;
  stroke-linecap: round;
  stroke-linejoin: round;
}
 
.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--border-color, #333);
}
 
.tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-secondary, #999);
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}
 
.tab-btn:hover {
  color: var(--accent);
}
 
.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
 
.tab-content {
  display: none;
}
 
.tab-content.active {
  display: block;
}
 
.vote-container {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border, #333);
}
 
.vote-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background-color: var(--bg-panel, #1a1a1a);
  border: 1px solid var(--border, #333);
  border-radius: var(--radius-sm, 4px);
  color: var(--text-secondary, #999);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  transition: all 0.2s ease;
}
 
.vote-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: rgba(255, 123, 0, 0.08);
}
 
.vote-btn.voted {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
 
.vote-btn.voted:hover {
  background-color: #ff6a00;
  border-color: #ff6a00;
}
 
.vote-btn i {
  font-size: 14px;
}
 
.vote-count {
  font-size: 12px;
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}
 
.vote-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
 
.vote-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #7a8fa6;
  font-weight: 500;
}
 
.vote-count i {
  font-size: 1rem;
  opacity: 0.8;
}
 
.vote-count:first-child i {
  color: #00d4e8;
}
 
.vote-count:last-child i {
  color: #e84855;
}
 
.vote-container.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
 
.own-photo-notice {
  color: #6c757d;
  font-size: 0.9rem;
  font-style: italic;
  margin: 0;
  padding: 8px 0;
}
 
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}
 
.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
 
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease-out;
}
 
.modal-container {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 90%;
  max-width: 550px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.3s ease-out;
}
 
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
 
@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
 
.modal-step {
  display: none;
  animation: fadeIn 0.3s ease-out;
  padding: 40px;
  min-height: auto;
  flex-direction: column;
}
 
.modal-step.active {
  display: flex;
}
 
.modal-header {
  margin-bottom: 2rem;
}
 
.modal-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0;
  color: var(--accent);
  letter-spacing: -0.01em;
}
 
.modal-content {
  flex: 1;
  margin-bottom: 2rem;
  overflow-y: auto;
}
 
.modal-content p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}
 
.modal-content p:last-of-type {
  margin-bottom: 0;
}
 
.modal-illustration {
  text-align: center;
  margin: 2rem 0 0 0;
}
 
.icon-box {
  font-size: 3.5rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}
 
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
 
.features-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
 
.features-list li {
  background: rgba(255, 123, 0, 0.08);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}
 
.features-list li strong {
  color: var(--accent);
  font-weight: 700;
}
 
.action-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 1.5rem 0;
}
 
.action-card {
  background: rgba(255, 123, 0, 0.06);
  border: 1px solid rgba(255, 123, 0, 0.2);
  border-radius: 8px;
  padding: 16px;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}
 
.action-card:hover {
  background: rgba(255, 123, 0, 0.12);
  border-color: rgba(255, 123, 0, 0.4);
  transform: translateX(4px);
}
 
.action-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}
 
.action-card h3 {
  margin: 0 0 6px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}
 
.action-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
 
.help-box {
  background: rgba(255, 123, 0, 0.08);
  border: 1px solid rgba(255, 123, 0, 0.2);
  border-radius: 8px;
  padding: 16px;
  margin: 1.5rem 0;
}
 
.help-box p {
  margin: 0.75rem 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}
 
.help-box p:first-child {
  margin-top: 0;
}
 
.help-box a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
 
.help-box a:hover {
  color: #ff6a00;
  text-decoration: underline;
}
 
.modal-footer {
  flex-shrink: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
 
.step-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
}
 
.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 123, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}
 
.step-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}
 
.button-group {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
 
.button-group .btn-back {
  flex: 1;
}
 
.button-group .btn-next {
  flex: 1;
}
 
.btn-modal {
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  display: inline-block;
  white-space: nowrap;
}
 
.btn-modal:hover {
  background: var(--accent);
  color: #090c0f;
  box-shadow: 0 4px 12px rgba(255, 123, 0, 0.25);
}
 
.btn-modal:active {
  transform: translateY(0);
}
 
.btn-modal:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
 
.btn-next,
.btn-finish {
  width: 100%;
}
 
.btn-back {
  background: var(--bg-surface);
  border-color: var(--border);
  color: var(--text-secondary);
}
 
.btn-back:hover {
  background: var(--bg-hover);
  border-color: var(--border-hard);
  color: var(--text);
  box-shadow: none;
}
 
.btn-finish {
  background: var(--accent);
  border-color: var(--accent);
  color: #090c0f;
  font-weight: 700;
}
 
.btn-finish:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
 
.notification-bell-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}
 
.bell-button {
  position: relative;
  background: var(--accent);
  border: none;
  cursor: pointer;
  padding: 14px;
  transition: all 0.3s ease;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  border-radius: 50%;
  box-shadow: 0 4px 16px var(--accent-glow);
}
 
.bell-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px var(--accent-glow);
  background: var(--accent-light);
}
 
.bell-button:active {
  transform: scale(0.95);
}
 
.bell-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}
 
.bell-button.has-unread {
  animation: bell-bounce 0.6s ease-in-out infinite;
}
 
@keyframes bell-bounce {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-8deg);
  }
  75% {
    transform: rotate(8deg);
  }
}
 
.unread-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--signal-red);
  color: var(--text);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-display);
  border: 2px solid var(--bg);
  animation: badge-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
 
@keyframes badge-pop {
  0% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(1);
  }
}
 
.notification-dropdown {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  height: 80vh;
  max-height: 700px;
  background: var(--bg-panel);
  border: 1px solid var(--border-hard);
  border-radius: 12px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: modal-pop 0.3s ease-out;
}
 
.notification-dropdown::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
  backdrop-filter: blur(2px);
}
 
@keyframes modal-pop {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
 
.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
 
.dropdown-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}
 
.close-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
 
.close-btn:hover {
  background: var(--accent-dim);
  color: var(--accent);
}
 
.notification-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}
 
.notification-list::-webkit-scrollbar {
  width: 8px;
}
 
.notification-list::-webkit-scrollbar-track {
  background: var(--bg-panel);
}
 
.notification-list::-webkit-scrollbar-thumb {
  background: var(--faint);
  border-radius: 4px;
}
 
.notification-list::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}
 
.notification-item {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  align-items: flex-start;
  transition: background 0.15s ease;
  cursor: pointer;
  border-bottom: 1px solid var(--border-panel);
}
 
.notification-item:last-child {
  border-bottom: none;
}
 
.notification-item:hover {
  background: var(--bg-hover);
}
 
.notification-item.unread {
  background: var(--accent-dim);
  border-left: 4px solid var(--accent);
  padding-left: 16px;
}
 
.notif-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
 
.notif-content {
  flex: 1;
  min-width: 0;
}
 
.notif-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  font-family: var(--font-display);
}
 
.notif-message {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.5;
  word-wrap: break-word;
  font-family: var(--font-display);
}
 
.notif-time {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-display);
}
 
.notif-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-direction: column;
}
 
.read-toggle {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 6px;
  opacity: 0.6;
  transition: all 0.2s ease;
  border-radius: 4px;
  color: var(--text-secondary);
}
 
.read-toggle:hover {
  opacity: 1;
  background: var(--accent-dim);
  color: var(--accent);
}
 
.notif-link {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  border: 1px solid var(--border);
}
 
.notif-link:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent-light);
}
 
.loading,
.empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-family: var(--font-display);
}
 
.dropdown-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
 
.view-all-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-display);
  transition: color 0.2s ease;
  display: inline-block;
}
 
.view-all-link:hover {
  color: var(--accent-light);
}
 
.notifications-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}
 
.notifications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: var(--space-lg);
}
 
.notifications-header h1 {
  margin: 0;
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
 
.btn-mark-all {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
 
.btn-mark-all:hover {
  background: var(--accent-light);
  box-shadow: 0 4px 12px var(--accent-glow);
}
 
.btn-mark-all:active {
  transform: translateY(0);
}
 
.notifications-controls {
  margin-bottom: var(--space-2xl);
}
 
.filter-tabs {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
 
.filter-tab {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 700;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
}
 
.filter-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
 
.filter-tab.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
 
.notifications-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}
 
.notification-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-panel);
  border: 1px solid var(--border-panel);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  align-items: flex-start;
}
 
.notification-card:hover {
  background: var(--bg-surface);
  border-color: var(--border);
  box-shadow: 0 4px 12px rgba(0, 212, 232, 0.08);
}
 
.notification-card.unread {
  background: var(--accent-dim);
  border-color: var(--accent);
  border-left: 4px solid var(--accent);
}
 
.notif-icon-lg {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
 
.notif-card-content {
  flex: 1;
  min-width: 0;
}
 
.notif-card-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-xs);
  font-family: var(--font-display);
}
 
.notif-card-message {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}
 
.notif-card-meta {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
 
.notif-card-type {
  display: inline-block;
  padding: 3px 8px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-transform: capitalize;
}
 
.notif-card-actions {
  display: flex;
  gap: var(--space-md);
  flex-shrink: 0;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
 
.btn-small {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: var(--text-xs);
  cursor: pointer;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  font-weight: 700;
  font-family: var(--font-mono);
  white-space: nowrap;
}
 
.btn-small:hover {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent);
}
 
.btn-delete {
  color: var(--signal-red);
  border-color: rgba(232, 72, 85, 0.3);
}
 
.btn-delete:hover {
  background: rgba(232, 72, 85, 0.12);
  color: var(--signal-red);
  border-color: var(--signal-red);
}
 
.notif-card-link {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background: var(--accent-dim);
  color: var(--accent);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 700;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
  border: 1px solid var(--border);
  white-space: nowrap;
}
 
.notif-card-link:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
 
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}
 
.pagination-btn {
  background: var(--bg-panel);
  border: 1px solid var(--border-panel);
  color: var(--text-secondary);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  transition: all 0.2s ease;
  white-space: nowrap;
}
 
.pagination-btn:hover:not(:disabled) {
  background: var(--bg-surface);
  border-color: var(--border);
  color: var(--accent);
}
 
.pagination-btn.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
 
.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
 
.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  color: var(--muted);
}
 
.empty-state-icon {
  font-size: 48px;
  margin-bottom: var(--space-lg);
}
 
.empty-state-text {
  font-size: var(--text-base);
  font-family: var(--font-display);
  font-weight: 600;
}
 
.loading-state {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--muted);
  font-size: var(--text-sm);
}
 
.whats-new-content {
  max-width: 550px;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}
 
.whats-new-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid var(--border);
}
 
.whats-new-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
 
.whats-new-carousel {
  flex: 1;
  overflow: hidden;
  position: relative;
}
 
.whats-new-slide {
  display: none;
  padding: 30px;
  animation: slideInFade 0.4s ease-out;
}
 
.whats-new-slide.active {
  display: block;
}
 
@keyframes slideInFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 
.slide-content {
  text-align: center;
}
 
.slide-icon {
  font-size: 48px;
  margin-bottom: 16px;
  visibility: hidden;
}
 
.slide-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}
 
.slide-content > p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 24px 0;
}
 
.slide-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
  text-align: left;
}
 
.feature {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-panel);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
 
.feature:hover {
  border-color: var(--border);
  background: var(--bg-hover);
}
 
.feature-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}
 
.feature strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 2px;
}
 
.feature p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.3;
}
 
.feature a {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.3;
}
 
.slide-action {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-panel);
}
 
.btn-enable-2fa {
  width: 100%;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
 
.btn-enable-2fa:hover {
  background: #ff9a33;
}
 
.btn-enable-2fa:active {
  transform: translateY(0);
}
 
.whats-new-footer {
  padding: 20px 30px;
  border-top: 1px solid var(--border);
  background: var(--bg-panel);
}
 
.progress-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
 
.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faint);
  cursor: pointer;
  transition: all 0.2s ease;
}
 
.progress-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}
 
.whats-new-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
 
.btn-prev,
.btn-next,
.btn-finish {
  padding: 10px 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s ease;
}
 
.btn-prev:hover,
.btn-next:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
 
.btn-finish {
  border-color: var(--signal-green);
  color: var(--signal-green);
}
 
.btn-finish:hover {
  background: var(--signal-green);
  color: var(--bg);
}
 
@media (prefers-color-scheme: dark) {
  .vote-btn {
    background-color: #0d0d0d;
    border-color: #2a2a2a;
    color: #888;
  }
 
  .vote-btn:hover {
    background-color: rgba(255, 123, 0, 0.1);
  }
}
 
@media (max-width: 1024px) {
  .surveys-grid {
    font-size: 0.85rem;
  }
 
  .surveys-grid thead th,
  .surveys-grid tbody td {
    padding: var(--space-md) var(--space-lg);
  }
 
  .survey-description {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
 
  .survey-actions {
    gap: var(--space-xs);
  }
 
  .survey-action-btn {
    padding: 5px 10px;
    font-size: var(--text-xs);
  }
}

@media (max-width: 768px) {
  body {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .sidebar {
    position: fixed;
    width: 230px;
    height: 100vh;
    top: 0;
    left: -230px;
    transition: left 0.3s ease-out;
    z-index: 999;
    overflow-y: auto;
  }

  .sidebar.active {
    left: 0;
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.5);
  }

  body.sidebar-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    animation: fadeIn 0.2s ease-out;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .sidebar nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .sidebar nav a {
    padding: 10px 12px;
  }

  .sidebar .logout {
    width: 100%;
    margin-top: 10px;
  }

  .main-content {
    width: 100%;
    margin-left: 0;
    padding: var(--space-xl);
    box-sizing: border-box;
    margin-top: 60px;
  }

  .cards {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-md);
  }

  .card h3 {
    font-size: var(--text-xs);
  }

  .card p {
    font-size: var(--text-xl);
  }

  .activity h2 {
    font-size: var(--text-sm);
  }

  .activity li {
    padding: var(--space-md);
    font-size: var(--text-sm);
  }

  .photos-grid {
    grid-template-columns: 1fr;
  }

  form {
    width: 100%;
    max-width: 100%;
  }

  .surveys-grid thead {
    width: auto;
  }

  .surveys-grid tbody,
  .surveys-grid thead {
    display: block;
    width: 100%;
  }

  table {
    display: block;
    overflow-x: auto;
    overflow-y: auto;
    white-space: nowrap;
  }

  .surveys-grid tbody tr {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: row;
    width: auto;
    justify-content: space-between;
    align-items: center;
  }

  .surveys-grid tbody td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--space-md) 0;
    border: none;
    border-bottom: 1px solid var(--border-panel);
  }

  .surveys-grid tbody td:last-child {
    border-bottom: none;
  }

  .survey-description {
    max-width: 100%;
    white-space: normal;
  }

  .survey-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .survey-action-btn {
    flex: 1;
    min-width: 70px;
  }

  .modal-container {
    width: 95%;
    max-height: 90vh;
  }

  .modal-step {
    padding: 30px 20px;
    min-height: auto;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-content p {
    font-size: 0.9rem;
  }

  .action-cards {
    grid-template-columns: 1fr;
  }

  .button-group {
    flex-direction: column;
  }

  .button-group .btn-back,
  .button-group .btn-next {
    width: 100%;
  }

  .notifications-header {
    flex-direction: column;
    gap: var(--space-md);
  }

  .btn-mark-all {
    width: 100%;
  }

  .notification-card {
    flex-direction: column;
    gap: var(--space-md);
  }

  .notif-card-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .notif-card-link {
    flex: 1;
    text-align: center;
  }

  .pagination {
    gap: var(--space-xs);
  }

  .pagination-btn {
    padding: var(--space-md) var(--space-md);
    font-size: var(--text-xs);
  }

  .assoc-tabs .tab {
    flex: 1 1 auto;
    text-align: center;
  }

  .feed-composer,
  .post {
    padding: var(--space-lg);
  }

  .post-date {
    margin-left: 0;
    width: 100%;
  }

  .wip-box {
    padding: var(--space-xl);
  }
}

@media (max-width: 600px) {
  .preview-container {
    padding: 1rem;
    margin-top: 1.5rem;
  }

  .preview-wrapper {
    max-width: 100%;
  }

  .delete-preview-btn {
    width: 32px;
    height: 32px;
    padding: 4px;
  }

  .whats-new-content {
    max-width: 95%;
    max-height: 90vh;
  }

  .whats-new-header,
  .whats-new-footer {
    padding: 20px;
  }

  .slide-content {
    padding: 20px;
  }

  .slide-icon {
    font-size: 40px;
  }

  .slide-content h3 {
    font-size: 1.1rem;
  }

  .slide-content > p {
    font-size: 0.9rem;
  }

  .whats-new-actions {
    flex-wrap: wrap;
  }

  .btn-prev,
  .btn-next,
  .btn-finish {
    flex: 1;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: var(--text-2xl);
  }

  h2 {
    font-size: var(--text-xl);
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .main-content {
    padding: var(--space-md);
  }

  form {
    padding: var(--space-lg);
  }

  .settings-card {
    padding: var(--space-lg);
  }

  .contact-container {
    padding: var(--space-lg);
  }

  .photo-img {
    height: 180px;
  }

  .survey-action-btn {
    padding: 6px 8px;
    font-size: var(--text-xs);
  }

  .menu-toggle {
    top: var(--space-md);
    left: var(--space-md);
  }

  .modal-container {
    width: 98%;
    border-radius: 12px;
  }

  .modal-step {
    padding: 20px;
    min-height: auto;
  }

  .modal-header h2 {
    font-size: 1.25rem;
  }

  .modal-content p {
    font-size: 0.85rem;
  }

  .icon-box {
    font-size: 2.5rem;
  }

  .modal-footer {
    padding-top: 1rem;
  }

  .btn-modal {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .btn-finish {
    min-width: 100% !important;
  }

  .notification-bell-floating {
    bottom: 20px;
    right: 20px;
  }

  .notification-dropdown {
    width: 95%;
    height: 85vh;
    max-width: none;
  }

  .notifications-header h1 {
    font-size: var(--text-2xl);
  }

  .filter-tabs {
    gap: var(--space-sm);
  }

  .filter-tab {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-xs);
  }

  .notification-card {
    padding: var(--space-md);
  }

  .notif-card-meta {
    gap: var(--space-md);
    font-size: var(--text-xs);
  }

  .notif-card-actions {
    gap: var(--space-sm);
  }

  .btn-small,
  .notif-card-link {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-xs);
  }

  .pagination-btn {
    padding: var(--space-sm) var(--space-md);
  }

  .manage-link {
    flex: 1 1 100%;
    justify-content: center;
  }

  .feed-btn,
  .leave-btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: var(--space-sm);
  }
}