/* ==========================================================================
   DateX Design System - Dark Black Aesthetic & Liquid Glass UI
   ========================================================================== */

:root {
  --bg-primary: #030303;
  --bg-surface: rgba(12, 12, 14, 0.45);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(255, 255, 255, 0.42);
  --border-glow: rgba(255, 255, 255, 0.75);
  --text-main: #f0f0f2;
  --text-muted: #858590;
  --text-dim: #45454d;
  --pill-bg: rgba(255, 255, 255, 0.02);
  --pill-bg-hover: rgba(255, 255, 255, 0.07);
  --accent-glow: rgba(255, 255, 255, 0.12);
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-mono);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

/* Subtle Ambient Glows & Grid Mesh */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
}

.ambient-glow-top {
  top: -20vh;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 45vh;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(30, 30, 35, 0.15) 50%, transparent 80%);
}

.ambient-glow-bottom {
  bottom: -20vh;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  height: 40vh;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(20, 20, 25, 0.1) 60%, transparent 80%);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 80%);
}

/* ==========================================================================
   Pill Component System (Transparent with crisp outlines)
   ========================================================================== */

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--pill-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  outline: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pill-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.pill-btn:hover {
  background: var(--pill-bg-hover);
  border-color: var(--border-hover);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.06), inset 0 0 12px rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.pill-btn:hover::before {
  opacity: 1;
}

.pill-btn:active {
  transform: translateY(0);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   Header / Top Navigation (Top-Left Login / Admin Pill)
   ========================================================================== */

.top-nav {
  position: fixed;
  top: 28px;
  left: 32px;
  z-index: 10;
}

.login-pill {
  padding: 10px 22px;
  font-weight: 500;
  font-size: 0.88rem;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  animation: pulse-dot 2.5s infinite ease-in-out;
}

.pill-dot.authed {
  background-color: #00e676;
  box-shadow: 0 0 10px #00e676;
  animation: none;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 12px rgba(255, 255, 255, 1); }
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */

.main-container {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 24px;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

/* Center (Slightly Above Center) Glitch Date */
.date-section {
  position: relative;
  text-align: center;
  margin-top: -6vh;
  margin-bottom: 52px;
}

.date-glow-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 130px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  filter: blur(35px);
  pointer-events: none;
}

.glitch-date {
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.35), 0 0 50px rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-family: var(--font-mono);
  position: relative;
  user-select: none;
}

.glitch-date .char {
  display: inline-block;
  min-width: 0.62em;
  text-align: center;
  transition: color 0.08s ease, text-shadow 0.08s ease, transform 0.08s ease;
}

.glitch-date .char.dot {
  min-width: 0.35em;
  color: rgba(255, 255, 255, 0.7);
}

.glitch-date .char.is-revealed {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.95), 0 0 35px rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.glitch-date .char.is-ascii {
  color: rgba(255, 255, 255, 0.55);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}

.glitch-date .char.is-glitching {
  color: #d8d8d8;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.8), 0 0 2px #ffffff;
  transform: translateY(-1px);
}

.date-subline {
  display: none;
}

/* ==========================================================================
   Quote Pill (Between Date and Grid)
   ========================================================================== */

.quote-pill-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: -26px;
  margin-bottom: 42px;
  position: relative;
  z-index: 3;
}

.quote-pill {
  padding: 8px 24px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9999px;
  cursor: default;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  user-select: none;
}

.quote-pill:hover {
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.04), inset 0 0 10px rgba(255, 255, 255, 0.02);
  transform: translateY(-1px);
}

/* ==========================================================================
   Pills Grid (6-column layout with 5 positions)
   - Left: 1..2
   - Left-Center: 2..3 (between left and center)
   - Center: 3..4
   - Center-Right: 4..5 (between center and right)
   - Right: 5..6
   - Left-Center (2..3) and Center-Right (4..5) are fully compatible on the same row!
   ========================================================================== */

.pills-section {
  width: 100%;
  max-width: 820px;
}

.pills-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
}

/* 5 Positions in the 6-track row */
.member-pill.pos-left {
  grid-column: 1 / span 2;
}

.member-pill.pos-left-center {
  grid-column: 2 / span 2;
}

.member-pill.pos-center {
  grid-column: 3 / span 2;
}

.member-pill.pos-center-right {
  grid-column: 4 / span 2;
}

.member-pill.pos-right {
  grid-column: 5 / span 2;
}

.member-pill {
  padding: 15px 22px;
  font-size: 0.94rem;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  min-width: 0;
}

.member-pill .pill-tag {
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.member-pill .pill-name {
  color: var(--text-main);
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: color var(--transition-fast);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 6px;
}

.member-pill .pill-arrow,
.member-pill .pill-arrow-svg {
  font-size: 0.85rem;
  color: var(--text-dim);
  transform: translate(0, 0);
  transition: transform var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.member-pill:hover .pill-tag {
  color: var(--text-muted);
}

.member-pill:hover .pill-name {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.member-pill:hover .pill-arrow,
.member-pill:hover .pill-arrow-svg {
  color: #ffffff;
  transform: translate(2px, -2px);
}

/* Empty state if no buttons */
.pills-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

/* ==========================================================================
   Liquid Glass Modal
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.sub-modal-overlay {
  z-index: 120;
}

/* The Liquid Glass Container */
.liquid-glass-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(145deg, rgba(20, 20, 25, 0.65) 0%, rgba(10, 10, 12, 0.8) 100%);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 38px 34px 34px;
  box-shadow: 
    0 35px 70px rgba(0, 0, 0, 0.85),
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    inset 0 -1px 1px rgba(255, 255, 255, 0.05),
    0 0 35px rgba(255, 255, 255, 0.03);
  transform: scale(0.94) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.3s ease;
}

.liquid-glass-modal.expanded {
  max-width: 620px;
}

.edit-sub-modal {
  max-width: 460px;
}

.modal-overlay.active .liquid-glass-modal {
  transform: scale(1) translateY(0);
}

/* Custom Sleek Scrollbar for Modal */
.liquid-glass-modal::-webkit-scrollbar {
  width: 5px;
}
.liquid-glass-modal::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
}

/* Liquid Sheen Reflection */
.liquid-sheen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.005) 100%);
  border-radius: 28px 28px 60% 60% / 28px 28px 20px 20px;
  pointer-events: none;
}

.liquid-specular {
  position: absolute;
  top: 0;
  left: 15%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  pointer-events: none;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 5;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 26px;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 4px 12px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-badge {
  color: #00e676;
  border-color: rgba(0, 230, 118, 0.25);
  background: rgba(0, 230, 118, 0.04);
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #ffffff;
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Modal Form Controls */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.input-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-dim);
  pointer-events: none;
  transition: color var(--transition-fast);
}

.input-wrapper input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 13px 44px 13px 42px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
  backdrop-filter: blur(10px);
  transition: all var(--transition-smooth);
}

.input-wrapper input:focus {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.08), inset 0 0 8px rgba(255, 255, 255, 0.03);
}

.password-toggle-btn {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: color var(--transition-fast);
}

.password-toggle-btn:hover {
  color: #ffffff;
}

/* Feedback Messages */
.form-feedback {
  min-height: 20px;
  font-size: 0.8rem;
  text-align: center;
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
}

.form-feedback.error {
  color: #ff5252;
  text-shadow: 0 0 8px rgba(255, 82, 82, 0.4);
  animation: shake 0.35s ease;
}

.form-feedback.success {
  color: #4caf50;
  text-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.submit-pill {
  width: 100%;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 6px;
  border-color: rgba(255, 255, 255, 0.22);
}

.submit-pill:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.cancel-pill {
  padding: 12px 20px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.btn-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.is-submitting .btn-text {
  display: none;
}

.is-submitting .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Admin Panel Components (Cards, List, Positions, Actions)
   ========================================================================== */

.admin-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 22px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.card-title svg {
  color: var(--text-muted);
}

.add-button-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row.items-center {
  align-items: center;
  flex-wrap: wrap;
}

.flex-1 { flex: 1; }
.flex-2 { flex: 2; }

.add-button-form input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 10px 18px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.add-button-form input:focus {
  border-color: rgba(255, 255, 255, 0.45);
}

.pos-selector-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Position Option Group: 5 Positions */
.pos-btn-group {
  display: inline-flex;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 3px;
  gap: 3px;
}

.pos-option-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 5px 9px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.pos-option-btn:hover {
  color: #ffffff;
}

.pos-option-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.add-pill-action {
  padding: 8px 18px;
  font-size: 0.82rem;
  margin-left: auto;
  border-color: rgba(255, 255, 255, 0.25);
}

.add-pill-action:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

/* Buttons List in Admin Panel */
.admin-card-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 0 4px;
}

.header-hint {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.admin-buttons-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 16px;
}

.admin-buttons-list::-webkit-scrollbar {
  width: 4px;
}
.admin-buttons-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
}

.admin-btn-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 14px;
  transition: all var(--transition-fast);
}

.admin-btn-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.item-order-badge {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
  width: 20px;
  text-align: center;
}

.item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-url {
  font-size: 0.74rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-pos-badge {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.item-pos-badge:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* Item Action Buttons */
.item-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-action-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.icon-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.icon-action-btn.delete-btn:hover {
  background: rgba(255, 82, 82, 0.15);
  border-color: rgba(255, 82, 82, 0.3);
  color: #ff5252;
}

.icon-action-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.admin-footer-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.logout-pill {
  padding: 10px 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-color: rgba(255, 255, 255, 0.1);
}

.logout-pill:hover {
  color: #ff5252;
  border-color: rgba(255, 82, 82, 0.3);
}

/* Edit Modal Buttons */
.edit-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.edit-modal-buttons button {
  flex: 1;
}

.dot-online {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #00e676;
  box-shadow: 0 0 8px #00e676;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 768px) {
  .top-nav {
    top: 20px;
    left: 20px;
  }

  .date-section {
    margin-top: 2vh;
    margin-bottom: 38px;
  }

  .pills-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .member-pill {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .liquid-glass-modal {
    padding: 30px 22px 26px;
  }

  .form-row {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .pills-grid {
    grid-template-columns: 1fr;
  }

  .member-pill.pos-left,
  .member-pill.pos-left-center,
  .member-pill.pos-center,
  .member-pill.pos-center-right,
  .member-pill.pos-right {
    grid-column: 1 / -1;
  }

  .member-pill {
    padding: 14px 20px;
  }

  .quote-pill {
    font-size: 0.74rem;
    padding: 6px 16px;
    text-align: center;
  }
}
