*, *::before, *::after {
  box-sizing: border-box;
}
body{
    padding:0px;
    margin:0px;
    font-family: -apple-system, system-ui, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size:14px;
}
textarea,
input
{
font-family: -apple-system, system-ui, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size:14px;

}

li{
    list-style-type:none;
    padding:0px;
    margin:0px;
}

#main_content_full{
  width:1080px;
  margin:0 auto;
  border-left:1px solid #eee;
  border-right:1px solid #eee;
  margin-bottom:0px;

}

#main_content{
  width:1080px;
  margin:0 auto;
  display:flex;
  align-items:stretch;     /* default, but explicit */
  gap:0;                   /* no space between columns */
}

main,
#main{
  width:1080px;
  margin:0 auto;
}

/* Left column */
#left_content{
  flex:0 0 22%;            /* fixed 22% width */
  border-left:1px solid #eee;
}

/* Right column */
#right_content{
  flex:1 1 78%;            /* take the remaining space */
  border-left:1px solid #eee;
  border-right:1px solid #eee;
}

#main_nav{
height:60px;
border-bottom:1px solid #eee;
position: relative;
z-index: 10001;
background: #fff;
}

#main_nav a{
color:#000;
}


#main_nav_inner {
  position: relative;
  width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}



#logo_holder{
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  margin-right: auto; /* push logo to far left */
}

#nav_links{
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-left: auto; /* push nav links to far right */
}

/* Hide mobile elements on desktop */
#mobile_menu_toggle {
  display: none;
}

#mobile_nav_right {
  display: none;
}

.mobile-search-item {
  display: none;
}

#profile_dropdown_picture_mobile {
  display: none;
}

.top-search {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}





/* Nav link styles */
#nav_links a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 14px;
  transition: color 0.2s ease;
}

#nav_links a:hover {
  color: #04b83c;
}

/* Auth button in nav */
.nav-auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  background: #04b83c;
  color: #fff !important;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.nav-auth-button:hover {
  background: #039a33;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(4, 184, 60, 0.25);
  transform: translateY(-1px);
}

.nav-auth-button:active {
  background: #02822b;
  transform: translateY(0);
}

/* Search trigger button in nav - centered */
.nav-search-trigger {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  color: #4B587C;
  transition: all 0.2s ease;
}

.nav-search-trigger:hover {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.02);
}

.nav-search-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.nav-search-text {
  font-weight: 500;
}

.nav-search-kbd {
  font-size: 12px;
  opacity: 0.5;
  margin-left: 4px;
  font-family: system-ui, -apple-system, sans-serif;
}

#logo_image{
height: 60px;
}

#logo_text {
font-size: 22px;
font-weight: 600;
line-height: 1.05;
}
#logo_slogan {
font-size: 11px;
font-weight: 400;
letter-spacing: 0.2px;
color: #6b7280;
margin-top: 1px;
padding-left: 2px;
opacity: 0.9;
}
/*profile picture stuff*/

#profile_dropdown_menu{
    display: none;
    position: absolute;
    right: 0px;
    top: 55px;
    min-width: 220px;
    background: #fff;
    z-index: 10000;
    padding: 8px 0;
}
.menu_shadow{
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 4px, rgba(0, 0, 0, 0.15) 0px 2px 8px;
    border: 1px solid #e5e7eb;
}
#profile_dropdown_picture {
    height: 38px;
    width: 38px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

#profile_dropdown_picture:hover {
    border: 2px solid #04b83c;
    box-shadow: 0 0 0 2px rgba(4, 184, 60, 0.1);
}

/* Dropdown header with user info */
.dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 4px;
}

.dropdown-user-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.dropdown-user-email {
    font-size: 12px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dropdown list */
.dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-list li {
    margin: 0;
}

.dropdown-list li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #1a1a1a;
    text-decoration: none;
    transition: background 0.15s ease;
}

.dropdown-list li a:hover {
    background: #f9fafb;
    color: #04b83c;
}

.dropdown-divider {
    height: 1px;
    background: #f1f1f1;
    margin: 4px 0;
}

.nice_color{
    color:#04b83c;
}

#feedbackBtn {
  position: fixed;
  bottom: 14px;
  right: 14px;

  background: #111;
  color: #fff;
  font-size: 13px;        /* smaller text */
  font-weight: 600;
  padding: 7px 16px;      /* less padding */
  border: none;
  border-radius: 9999px;  /* pill shape */
  cursor: pointer;

  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: background 0.2s, box-shadow 0.2s;
  z-index: 9999;
}

#feedbackBtn:hover {
  background: #333;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

#feedbackBtn:active {
  background: #000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
@media (max-width: 768px) {
  #feedbackBtn {
    display: none;
  }
}


/* Floating button */
.feedback-btn {
  position: fixed;
  bottom: 14px;
  right: 14px;
  display: inline-block;

  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border: none;
  border-radius: 9999px;
  cursor: pointer;

  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: background 0.2s, box-shadow 0.2s, opacity 0.2s;
  z-index: 9999;
}
.feedback-btn:hover { background:#333; box-shadow:0 3px 8px rgba(0,0,0,0.2); }
.feedback-btn:active { background:#000; box-shadow:0 2px 5px rgba(0,0,0,0.15); }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
}
.modal.is-open { display: block; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.2s;
}
.modal.is-open .modal__backdrop { opacity: 1; }

.modal__dialog {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 92vw; max-width: 420px;

  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  padding: 18px 18px 16px;
  opacity: 0; transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.modal.is-open .modal__dialog { opacity: 1; transform: translate(-50%, -50%); }

/* Title & close */
.modal__title {
  margin: 0 32px 10px 0;
  font: 600 18px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #111;
}
.modal__close {
  position: absolute;
  top: 10px; right: 10px;
  width: 28px; height: 28px;
  border: none; border-radius: 6px;
  background: transparent; color: #666;
  font-size: 20px; line-height: 1;
  cursor: pointer;
}
.modal__close:hover { background:#f2f2f2; color:#111; }

/* Inputs */
.modal__textarea {
  width: 100%;
  min-height: 120px;
  padding: 10px 12px;
  resize: vertical;
  border: 1px solid #ddd;
  border-radius: 8px;
  font: 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #111;
  outline: none;
}
.modal__textarea:focus { border-color:#bbb; box-shadow: 0 0 0 3px rgba(17,17,17,0.08); }

/* Actions */
.modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}
.modal__actions .btn {
  cursor: pointer;
  font: 600 13px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  transition: background 0.15s, border-color 0.15s;
}
.modal__actions .btn:hover { background: #f9fafb; border-color: #9ca3af; }
.modal__actions .btn-green {
  background: #04b83c;
  color: #fff;
  border-color: #04b83c;
}
.modal__actions .btn-green:hover { background: #039d33; border-color: #039d33; }


/* Message */
.modal__message {
  margin: 12px 0 0;
  color: #1a7f37; /* subtle green */
  font-size: 13px;
}

/* Optional: prevent page scroll when modal open */
body.modal-open { overflow: hidden; }


.button2 {
  background-color: #04b83c;
  color: #fff !important;
  text-decoration:none;
  font-size: 16px;
  font-weight:normal;
  padding: 8px 16px;
  border: none;
  border-radius: 9999px; /* fully rounded */
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
  display: inline-block;
  text-align: center;
}

.button2:hover {
  background-color: #039a33; /* darker green on hover */
}
.button2:active {
  background-color: #02822b; /* even darker on click */
}

.discover-card-notice {
    padding: 8px;
    margin: 16px 8px;
    box-shadow: rgba(50, 50, 93, .25) 0 2px 5px -1px, rgba(0, 0, 0, .3) 0 1px 3px -1px;
    background: #f5f4f7;
    border-radius: 10px;
    position: relative;
    text-align:center;
}


.box-hr{
  margin:0; padding:0; height:3px; background:#f7f7fc;
  border-top:1px solid #eae9ef; border-bottom:1px solid #f2f1f6; border-left:0; border-right:0;
}
.discover-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin:0px;
  padding:0px;
  text-align:center;
  padding-top:6px;
  padding-bottom:6px;
}

.discover-card-text {
  padding:0px;
  margin:0px;
  padding-bottom:5px;
  padding-top:5px;
  font-size: 14px;
  color: #777;
  line-height: 18px;
}
/*module stuff*/
#site_modal h2{ 
margin:0 0 0px; font-size:20px;
}

#site_modal_form label{
  display:block; font-weight:600; margin:8px 0 4px; font-size:14px;
}
#site_modal_form input[type="text"],
#site_modal_form textarea,
#site_modal_form select{
  width:100%; border:1px solid #ddd; border-radius:8px; padding:10px;  font-size:14px;
  background:#fff;
}
#site_modal_form select:disabled{ background:#f8f9fb; color:#777; }
#site_modal_form small.helper{ color:#666; }
.tays_modal_button_group{
  display:flex; gap:8px; justify-content:flex-end; margin-top:14px;
}

.tays_modal_content {
  position: relative;
  background: #fff;
  max-width: 500px;
  margin: 10% auto;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 10px;
}

/* Padding container */
.tays_modal_padding {
  padding: 32px;
}

/* Close (X) button */
.tays_modal_close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.5rem;
  /*font-weight: bold;*/
  color: #666;
  cursor: pointer;
}

/* Input and textarea styling */
#tays_modal_name,
#tays_modal_website,
#tays_modal_twitter,
#tays_modal_facebook,
#tays_modal_about {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Character counter */
.tays_modal_count {
  text-align: right;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 12px;
}

/* Button group */
.tays_modal_button_group {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}


/* ===== CARD BASE ===== */
.owner-card{
  position:relative;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  box-shadow:0 4px 16px rgba(0,0,0,.05);
  padding:22px 18px;
  display:flex;
  align-items:center;
  gap:14px;
  max-width:340px;
  min-width:240px;
}

/* ===== AVATAR / INFO ===== */
.owner-info{
  display:flex;
  align-items:center;
  gap:12px;
}
.owner-avatar{
  width:54px;
  height:54px;
  border-radius:50%;
  overflow:hidden;
  border:2px solid #e5e7eb;
  flex-shrink:0;
}
.owner-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.owner-meta{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.owner-name{
  font-size:16px;
  font-weight:700;
  color:#111827;
}
.owner-role{
  font-size:13px;
  color:#475569;
}
.badge-verified{
height:32px;
width:32px;
}
.owner-badge{
    position:absolute;
    top:5px;
    right:5px;
    padding:0px;
    margin:0px;
}
.badge-label{
    font-size:11px;
    color:#777;
}

/*search bar*/
/* Header search pill */
#main_nav .top-search {
  display: flex;
  align-items: center;
  min-width: 280px;
}

#main_nav .top-search #global_search_header {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 10px 14px 10px 34px; /* left padding for icon */
  border: 0;
  border-radius: 999px;          /* pill */
  background: #f3f6fb;           /* soft gray like screenshot */
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
  color: #1f2328;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;               /* since it's readonly */
}

/* magnifying glass icon (SVG data URI) */
#main_nav .top-search #global_search_header {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239AA0A6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='7' cy='7' r='5'/><path d='M11 11l3.5 3.5'/></svg>");
  background-repeat: no-repeat;
  background-position: 10px 50%;
}

/* placeholder tone */
#main_nav .top-search #global_search_header::placeholder {
  color: #9aa0a6;
}

/* focus style (subtle) */
#main_nav .top-search #global_search_header:focus {
  outline: none;
  box-shadow:
    inset 0 0 0 1px rgba(4,184,60,0.35),
    0 0 0 3px rgba(4,184,60,0.08);
}

/* keep links neutral in nav (optional safety) */
#main_nav .top-search a { color: inherit; text-decoration: none; }

/* Shared base (same sizing as .role-badge) */
.role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: default;
  line-height: 1;
  gap: 6px;
  transition: all 0.15s ease;
}

.badge-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  opacity: 0.85;
}

/* --- Top 10 (brighter purple, premium) --- */
.top10-badge {
  background-color: rgba(123, 104, 238, 0.12);
  color: #6d55e0;
  border: 1px solid rgba(123, 104, 238, 0.35);
}

/* --- Top 100 (lighter lavender variant) --- */
.top100-badge {
  background-color: rgba(123, 104, 238, 0.08);
  color: #7b68ee;
  border: 1px solid rgba(123, 104, 238, 0.25);
}

/* Hover polish */
.top10-badge:hover,
.top100-badge:hover {
  background-color: rgba(123, 104, 238, 0.18);
}

/* Voting badge — green to match branding */
.voting-badge {
  background-color: rgba(22, 163, 74, 0.10);
  color: #166534;
  border: 1px solid rgba(22, 163, 74, 0.30);
  position: relative;
  overflow: visible;
}

/* Pulse effect — subtle ring that radiates outward */
.voting-badge::after {
  content: "";
  position: absolute;
  inset: -6px; /* expand outside pill */
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  opacity: 0.7;
  pointer-events: none;
  animation: votingPulse 2s ease-out infinite;
}

/* Pulse keyframes */
@keyframes votingPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
    opacity: 0.8;
  }
  70% {
    box-shadow: 0 0 0 10px rgba(22, 163, 74, 0.0);
    opacity: 0.4;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.0);
    opacity: 0.3;
  }
}

/* Accessibility: disable motion if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .voting-badge::after { animation: none; }
}

/* Optional hover style */
.voting-badge:hover {
  background-color: rgba(22, 163, 74, 0.18);
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

/* Tablet (768px - 1079px) */
@media (max-width: 1079px) {
  #main_nav_inner,
  #main_content,
  #main_content_full,
  main,
  #main {
    width: 100%;
    max-width: 100%;
  }

  #main_content {
    flex-direction: column;
  }

  #left_content {
    flex: 1;
    width: 100%;
    border-left: none;
    border-right: none;
  }

  #right_content {
    flex: 1;
    width: 100%;
  }
}

/* Medium screens - collapse search text */
@media (max-width: 900px) {
  .nav-search-text {
    display: none;
  }

  .nav-search-trigger {
    padding: 0 10px;
    gap: 6px;
  }
}

/* Account menu lives only in the mobile hamburger menu; hidden on desktop */
.mobile-account-menu {
  display: none;
}

/* Mobile (< 768px) */
@media (max-width: 767px) {

  /* ===== MAIN LAYOUT ===== */
  #main_nav_inner,
  #main_content,
  #main_content_full,
  main,
  #main {
    width: 100%;
    max-width: 100%;
  }

  #main_content {
    flex-direction: column;
    border-left: none;
    border-right: none;
  }

  #left_content,
  #right_content {
    flex: 1;
    width: 100%;
    border-left: none;
    border-right: none;
  }

  /* ===== NAVIGATION ===== */
  #main_nav {
    height: 60px;
  }

  #main_nav_inner {
    padding: 0 12px;
    gap: 12px;
    justify-content: space-between;
  }

  #logo_holder {
    flex: 0 0 auto;
  }

  #logo_text {
    font-size: 16px;
  }

  #logo_slogan {
    display: none; /* Hide slogan on mobile */
  }

  #logo_image {
    width: 32px;
    height: 32px;
  }

  /* Hide desktop search trigger on mobile */
  .nav-search-trigger {
    display: none !important;
  }

  /* Right side: profile pic + hamburger */
  #mobile_nav_right {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin-left: auto;
  }

  /* Show mobile profile picture, hide desktop one */
  #profile_dropdown_picture_mobile {
    display: block !important;
    width: 36px;
    height: 36px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
  }

  #profile_dropdown_picture_mobile:hover {
    border: 2px solid #04b83c;
    box-shadow: 0 0 0 2px rgba(4, 184, 60, 0.1);
  }

  #profile_dropdown_picture {
    display: none !important;
  }

  /* Hamburger menu button */
  #mobile_menu_toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    color: #1a1a1a;
    width: 44px;
    height: 44px;
  }

  /* Mobile nav links - full screen overlay */
  #nav_links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 999;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    display: none;
    padding: 0;
    overflow-y: auto;
    border-top: 1px solid #eee;
  }

  #nav_links.mobile-nav-open {
    display: flex;
  }

  #nav_links a,
  #nav_links .mobile-nav-item {
    width: 100%;
    padding: 16px 20px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 16px;
    display: block;
    text-decoration: none;
    color: #1a1a1a;
  }

  #nav_links a:active,
  #nav_links .mobile-nav-item:active {
    background: #f5f5f5;
  }

  /* Reset auth button styling on mobile */
  #nav_links .nav-auth-button {
    background: transparent;
    color: #1a1a1a !important;
    padding: 16px 20px;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  #nav_links .nav-auth-button:hover {
    background: #f5f5f5;
    transform: none;
    box-shadow: none;
  }

  /* Search item in mobile menu */
  .mobile-search-item {
    display: block !important;
    cursor: pointer;
    font-weight: 600;
  }

  /* Profile dropdown positioning */
  #profile_dropdown_menu {
    right: 12px;
    left: auto;
    min-width: 200px;
    top: 60px;
  }

  /* Account section folded into the mobile hamburger menu */
  .mobile-account-menu {
    display: block;
  }

  .mobile-account-user {
    padding: 18px 20px 12px;
    border-bottom: 1px solid #f5f5f5;
  }

  .mobile-account-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
  }

  .mobile-account-email {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
    word-break: break-all;
  }

  .mobile-menu-label {
    padding: 14px 20px 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #04b83c;
  }

  #nav_links .mobile-account-logout {
    color: #dc2626;
    font-weight: 600;
  }

}


