/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 4, 9, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.modal-content {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 1.5rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 8px 24px rgba(1, 4, 9, 0.9);
}

.unsupported-icon {
  color: #f85149;
}

.info-icon {
  color: #58a6ff;
}

/* Warning Box (GAMES THAT WON'T WORK) */
.warning-box {
  background: rgba(248, 81, 73, 0.05);
  border: 1px solid rgba(248, 81, 73, 0.2);
  padding: 1.25rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.warning-title {
  color: #f85149;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.warning-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.warning-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #c9d1d9;
  line-height: 1.4;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  transition: background 0.2s;
}

.warning-list li:hover {
  background: rgba(248, 81, 73, 0.1);
}

.warning-list i {
  color: #f85149;
  font-size: 1rem;
  margin-top: 0.1rem;
}

/* Search Results */
.search-results {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #30363d;
  border-radius: 6px;
  background-color: #161b22;
  margin-top: 0.5rem;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-bottom: 1px solid #30363d;
  transition: background 0.2s;
  cursor: pointer;
}

.result-item:last-child {
  border-bottom: none;
}

.result-item:hover {
  background-color: #21262d;
}

.result-img {
  width: 120px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px;
  background: #0d1117;
  border: 1px solid #30363d;
}

.result-info {
  flex: 1;
}

.result-info strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: #c9d1d9;
}

.result-sub {
  font-size: 0.75rem;
  color: #8b949e;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 2em;
  font-weight: 600;
  border: 1px solid transparent;
}

.badge-game {
  background: transparent;
  color: #3fb950;
  border-color: rgba(63, 185, 80, 0.4);
}

.badge-dlc {
  background: transparent;
  color: #d29922;
  border-color: rgba(210, 153, 34, 0.4);
}

.badge-software {
  background: transparent;
  color: #a371f7;
  border-color: rgba(163, 113, 247, 0.4);
}

.badge-depot {
  background: transparent;
  color: #58a6ff;
  border-color: rgba(88, 166, 255, 0.4);
}

.badge-denuvo {
  background: rgba(248, 81, 73, 0.1);
  color: #f85149;
  border-color: rgba(248, 81, 73, 0.4);
}

.badge-active {
  background: rgba(63, 185, 80, 0.15);
  color: #3fb950;
  border-color: rgba(63, 185, 80, 0.4);
}

.badge-closed {
  background: rgba(248, 81, 73, 0.15);
  color: #f85149;
  border-color: rgba(248, 81, 73, 0.4);
}



.no-results {
  text-align: center;
  color: #8b949e;
  padding: 2rem;
}

.hidden {
  display: none !important;
}

/* File Items */
.file-item {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.file-icon {
  font-size: 1.25rem;
  color: #8b949e;
}

.file-details {
  display: flex;
  flex-direction: column;
}

.file-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #58a6ff;
}

.file-meta {
  font-size: 0.75rem;
  color: #8b949e;
}

.download-btn {
  background-color: #21262d;
  color: #c9d1d9;
  border: 1px solid rgba(240, 246, 252, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.download-btn:hover {
  background-color: #30363d;
  border-color: #8b949e;
}

/* Terminal Output (Legacy check) */
.terminal-text {
  font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
  background-color: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 1rem;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid #30363d;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  background-color: #161b22;
}

.faq-question {
  padding: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #c9d1d9;
}

.faq-question:hover {
  background-color: #21262d;
}

.faq-answer {
  padding: 0 1rem 1rem 1rem;
  color: #8b949e;
  font-size: 0.9rem;
  line-height: 1.5;
  display: none;
  border-top: 1px solid #30363d;
  padding-top: 1rem;
}

.faq-answer.open {
  display: block;
}

/* Formatted elements inside FAQ answers */
.faq-answer ul {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.faq-answer ol {
  list-style-type: decimal;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.faq-answer li {
  margin-bottom: 0.4rem;
}

.faq-answer li:last-child {
  margin-bottom: 0;
}

.faq-answer code {
  background-color: #161b22;
  border: 1px solid #30363d;
  color: #e6edf3;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
  font-size: 0.85em;
  word-break: break-all;
  user-select: all;
  -webkit-user-select: all;
}

.faq-answer code.inline-block {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  margin: 0.35rem 0;
}

.faq-answer strong {
  color: #c9d1d9;
  font-weight: 600;
}

.faq-answer em {
  font-style: italic;
}

.faq-answer a {
  color: #58a6ff;
  font-weight: 500;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

.faq-answer i {
  margin-right: 0.25rem;
}


/* Auth Modal Premium Styles */
.auth-modal-wrapper {
  background: linear-gradient(145deg, #161b22, #0d1117);
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  max-width: 420px;
  width: 90%;
}

.auth-modal-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #58a6ff, #3fb950);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  margin: 0 auto 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  display: block;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #c9d1d9;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}

.auth-subtitle {
  font-size: 0.875rem;
  color: #8b949e;
}

.auth-input-group {
  position: relative;
  margin-bottom: 1.25rem;
}

.auth-input-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #8b949e;
  font-size: 1rem;
  pointer-events: none;
  transition: color 0.3s;
}

.auth-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  background-color: #0d1117;
  border: 1px solid #30363d;
  color: #c9d1d9;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.auth-input:focus {
  border-color: #58a6ff;
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.2);
  outline: none;
}

.auth-input-group:focus-within i {
  color: #58a6ff;
}

.auth-submit-btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  background-color: #238636;
  color: #ffffff;
  border: 1px solid rgba(240, 246, 252, 0.1);
  box-shadow: 0 1px 0 rgba(27, 31, 36, 0.1);
  transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
  cursor: pointer;
  margin-top: 0.5rem;
}

.auth-submit-btn:hover {
  background-color: #2ea043;
  border-color: rgba(240, 246, 252, 0.1);
}

.auth-submit-btn:active {
  background-color: #238636;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
}

.auth-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #8b949e;
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.2s;
}

.auth-close-btn:hover {
  color: #c9d1d9;
}


/* Dropdown */
.search-dropdown {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-right: none;
  color: #c9d1d9;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  padding: 0 1rem;
  outline: none;
  font-weight: 600;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: stretch;
}

.search-icon-wrapper {
  position: absolute;
  left: 0.85rem;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

#searchIcon {
  color: #8b949e;
  font-size: 0.95rem;
  display: block;
}

.search-input-combo {
  width: 100%;
  padding: 0.6rem 0.75rem 0.6rem 2.6rem !important;
  font-size: 0.9rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.top-nav {
  background-color: #010409;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #30363d;
}

/* User dropdown */
.user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 6px;
  min-width: 210px;
  box-shadow: 0 8px 24px rgba(1, 4, 9, 0.9);
  z-index: 999;
  overflow: hidden;
}

/* Floating Sidebar */
.floating-sidebar {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1000;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 50%;
  color: #c9d1d9;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.floating-btn i {
  font-size: 1.25rem;
  transition: transform 0.3s;
}


.floating-btn:hover {
  width: 140px;
  border-radius: 30px;
  background-color: #21262d;
  border-color: #8b949e;
  justify-content: flex-start;
  padding-left: 1.1rem;
}

.floating-btn:hover i {
  transform: scale(1.1);
}


.btn-label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.875rem;
  transition: max-width 0.3s, opacity 0.2s;
  pointer-events: none;
}

.floating-btn:hover .btn-label {
  max-width: 100px;
  opacity: 1;
  margin-left: 0.5rem;
}


/* Mobile: move to bottom right corner or bottom bar */
@media (max-width: 768px) {
  .floating-sidebar {
    top: auto;
    bottom: 1.5rem;
    right: 1.5rem;
    transform: none;
    gap: 0.5rem;
  }

  .floating-btn:hover {
    width: 48px;
    padding-left: 0;
    justify-content: center;
  }

  .floating-btn:hover i {
    margin-right: 0;
  }

  .btn-label {
    display: none;
  }
}

/* User Auth Fixed Corner */

/* Icon colors for floating sidebar */
.floating-btn .fa-database {
  color: #58a6ff;
}

.floating-btn .fa-download {
  color: #3fb950;
}

.floating-btn .fa-discord {
  color: #a371f7;
}

.user-auth-fixed {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 1001;
}

#authSection {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

#authSection .btn-primary,
#authSection .btn-secondary {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: 1px solid #30363d;
  box-shadow: 0 1px 0 rgba(27, 31, 36, 0.1);
}

#authSection .btn-primary {
  background-color: #238636;
  color: #ffffff;
  border-color: rgba(240, 246, 252, 0.1);
}

#authSection .btn-primary:hover {
  background-color: #2ea043;
}

#authSection .btn-secondary {
  background-color: #21262d;
  color: #c9d1d9;
}

#authSection .btn-secondary:hover {
  background-color: #30363d;
  border-color: #8b949e;
}

#authSection .btn-primary:active,
#authSection .btn-secondary:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
}

/* User Profile Button in authSection */
#userMenuBtn {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s;
}

#userMenuBtn:hover {
  transform: translateY(-1px);
  background-color: #30363d !important;
}

/* Auth Modal Styles */
.forgot-password-wrap {
  text-align: right;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.forgot-password-btn {
  background: none;
  border: none;
  color: #58a6ff;
  cursor: pointer;
  padding: 0;
}

.forgot-password-btn:hover {
  text-decoration: underline;
}

/* Sidebar Trending / Popular Downloads */
.trending-title {
  color: #c9d1d9;
  font-size: 1rem;
  border-bottom: 1px solid #30363d;
  padding-bottom: 0.5rem;
  margin-top: 0;
}

.trending-loading {
  color: #8b949e;
}

/* Footer Tagline */
.donate-tagline {
  margin-bottom: 8px;
}

/* Community Poll Custom Styles */
.poll-option-btn {
  background: #21262d;
  border: 1px solid #30363d;
  color: #c9d1d9;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  min-width: 100px;
  text-align: center;
  outline: none;
}

.poll-option-btn:hover:not(:disabled) {
  background: #30363d;
  border-color: #8b949e;
}

.poll-option-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.poll-result-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.poll-result-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #c9d1d9;
}

.poll-result-bar-bg {
  background: #21262d;
  border-radius: 4px;
  height: 8px;
  width: 100%;
  overflow: hidden;
}

.poll-result-bar-fill {
  background: #58a6ff;
  height: 100%;
  border-radius: 4px;
  width: 0%;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.poll-result-row.user-voted .poll-result-bar-fill {
  background: #3fb950;
  /* Highlight option the user voted for */
}

/* Admin Poll Manager items */
.admin-poll-card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.75rem;
}

.admin-poll-info {
  flex: 1;
}

.admin-poll-actions {
  display: flex;
  gap: 0.5rem;
}

/* Homepage Poll Layout classes */
.poll-card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.poll-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.poll-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #c9d1d9;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.poll-minimize-btn {
  background: none;
  border: none;
  color: #8b949e;
  cursor: pointer;
  padding: 4px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.3s ease;
}

.poll-minimize-btn:hover {
  color: #58a6ff;
}

.poll-card.minimized {
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.poll-card.minimized .poll-header {
  margin-bottom: 0;
}

.poll-card.minimized .poll-minimize-btn {
  transform: rotate(180deg);
}

.poll-body {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.poll-body.collapsed {
  display: none;
}

.poll-question {
  font-size: 1rem;
  color: #e6edf3;
  margin-bottom: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.poll-vote-interface {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.poll-options-container {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.poll-auth-warning {
  font-size: 0.8rem;
  color: #8b949e;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.poll-auth-warning button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: #58a6ff;
}

.poll-auth-warning button:hover {
  text-decoration: underline;
}

.poll-results-interface {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.poll-results-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.poll-results-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #8b949e;
  margin-top: 0.5rem;
  border-top: 1px solid #21262d;
  padding-top: 0.75rem;
}

.poll-vote-receipt {
  color: #58a6ff;
}

/* Extracted Layout & Styling Utilities */

/* Game Info / Panel Header Classes */
.game-info-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.game-info-name {
  margin: 0;
}

.game-info-id {
  margin: 0.25rem 0 0 0;
}

/* Denuvo warning classes */
.denuvo-warning-wrap {
  margin: 1rem 0 1.5rem 0;
}

.warning-box-no-margin {
  margin-bottom: 0;
}

.warning-title-margin {
  margin-bottom: 0.5rem;
}

.warning-text {
  font-size: 0.85rem;
  color: #c9d1d9;
  margin: 0;
  line-height: 1.45;
}

/* Profile Gate (Auth Screen) Classes */
.profile-gate-wrap {
  text-align: center;
  padding-top: 5rem;
}

.profile-gate-logo {
  width: 200px;
  height: auto;
  margin-bottom: 1.25rem;
  border-radius: 0;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
}

.profile-gate-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #c9d1d9;
  font-weight: 700;
}

.profile-gate-subtitle {
  color: #8b949e;
  margin-bottom: 2rem;
}

.profile-gate-btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.profile-gate-btn-padding {
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
}

.profile-gate-back {
  margin-top: 3rem;
}

.profile-gate-back a {
  color: #58a6ff;
  text-decoration: none;
  font-size: 0.9rem;
}

/* Auth Modal Specific Classes */
.forgot-password-wrap {
  text-align: right;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.forgot-password-btn {
  background: none;
  border: none;
  color: #58a6ff;
  cursor: pointer;
  padding: 0;
}

.auth-error-wrap {
  color: #f85149;
  font-size: 0.875rem;
  margin-top: 1rem;
  text-align: center;
}

.auth-switch-wrap {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #8b949e;
}

.auth-switch-btn {
  background: none;
  border: none;
  color: #58a6ff;
  font-weight: 600;
  cursor: pointer;
  padding: 0 0.25rem;
}

/* Account Settings Panel Classes */
.settings-card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.settings-row-last {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.settings-label {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.settings-value {
  color: #8b949e;
}

.settings-btn {
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
}

.danger-card-title {
  font-size: 0.9rem;
}

/* Admin Management Dashboard Helpers */
.admin-duration-inputs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.admin-list-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-list-empty {
  color: #8b949e;
  text-align: center;
  padding: 1.5rem;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 6px;
}

.admin-poll-input-col-2 {
  flex: 2;
}

.admin-poll-input-col-1 {
  flex: 1;
}

.admin-poll-submit-btn {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1rem;
  border-radius: 6px;
  font-weight: 600;
}

/* Modal text / layout adjustments */
.modal-text-muted {
  color: #8b949e;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.modal-btn-full {
  width: 100%;
}

.modal-confirm-msg {
  color: #8b949e;
  font-size: 0.9rem;
}

.settings-back-wrap {
  margin-bottom: 2rem;
}

.settings-back-link {
  color: #8b949e;
  text-decoration: none;
  font-size: 0.9rem;
}

.profile-email-text {
  color: #8b949e;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.user-hero-action {
  margin-left: auto;
}

.text-danger {
  color: #f85149 !important;
}

.text-success {
  color: #A371F7 !important;
}

.admin-section-subtitle {
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.admin-section-divider {
  margin-top: 2.5rem;
  border-top: 1px solid #21262d;
  padding-top: 1.5rem;
}

.w-full {
  width: 100%;
}

.mb-6 {
  margin-bottom: 1.5rem !important;
}

.text-light {
  color: #c9d1d9 !important;
}

.flex-align-center-gap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.confirm-modal-size {
  max-width: 380px;
}

.admin-submit-btn-circle i {
  font-size: 0.8rem;
}

/* User menu dropdown classes */
.user-menu-wrap {
  position: relative;
}

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #21262d;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  color: #c9d1d9;
  font-size: 0.875rem;
  font-weight: 600;
}

.user-menu-avatar {
  width: 20px;
  height: 20px;
  background: #238636;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: white;
}

.user-menu-chevron {
  font-size: 0.7rem;
  color: #8b949e;
}

.user-dropdown-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #30363d;
  font-size: 0.8rem;
  color: #8b949e;
}

.user-dropdown-email {
  color: #c9d1d9;
}

.user-dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  color: #c9d1d9;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.user-dropdown-link:hover {
  background-color: #21262d;
}

.user-dropdown-divider {
  border-top: 1px solid #30363d;
}

.user-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  color: #f85149;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background-color 0.2s ease;
}

.user-dropdown-btn:hover {
  background-color: #21262d;
}

.user-dropdown-icon {
  width: 1rem;
}

.auth-btn-small {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Extracted Admin Panel, Polls & Table Utilities */

.fw-500 {
  font-weight: 500 !important;
}

.text-muted {
  color: #8b949e !important;
}

.text-xs {
  font-size: 0.75rem !important;
}

.text-sm {
  font-size: 0.85rem !important;
}

.ml-2 {
  margin-left: 8px !important;
}

.status-msg-box {
  text-align: center;
  padding: 1.5rem;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 6px;
}

.status-msg-error {
  color: #f85149;
}

.status-msg-info {
  color: #8b949e;
}

/* Announcement Editor and List styling */
.ann-item-body {
  flex: 1;
  padding-right: 1rem;
  text-align: left;
}

.ann-item-message {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.ann-item-message.expired {
  color: #8b949e;
}

.ann-item-message.active {
  color: #c9d1d9;
}

.ann-item-expiry {
  font-size: 0.75rem;
  color: #8b949e;
}

.ann-actions-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ann-action-btn-small {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.ann-edit-form-wrap {
  flex: 1;
  padding-right: 1rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ann-edit-input {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 4px;
  color: #c9d1d9;
  padding: 0.35rem 0.5rem;
  font-size: 0.875rem;
  width: 100%;
}

.ann-edit-dur-flex {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ann-edit-dur-wrap {
  gap: 0.25rem;
  align-items: center;
}

.ann-select-label-small {
  font-size: 0.75rem;
}

.ann-select-small {
  font-size: 0.75rem;
}

/* Admin Poll Management Classes */
.poll-item-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.poll-item-question {
  color: #c9d1d9;
  font-size: 0.95rem;
}

.poll-item-badge {
  font-size: 0.65rem;
  border-radius: 2em;
  padding: 0.15rem 0.5rem;
}

.poll-item-badge.active {
  background: rgba(63, 185, 80, 0.15);
  color: #3fb950;
  border-color: rgba(63, 185, 80, 0.4);
}

.poll-item-badge.inactive {
  background: rgba(248, 81, 73, 0.15);
  color: #f85149;
  border-color: rgba(248, 81, 73, 0.4);
}

.poll-item-meta {
  font-size: 0.8rem;
  color: #8b949e;
  margin-top: 0.35rem;
}

.poll-action-btn-small {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.announcement-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.admin-expiration-capsule-small {
  height: 32px !important;
  padding: 0.15rem 0.5rem !important;
  gap: 0.5rem !important;
}