/*

__  __                    _                             _              
\ \/ /___ _ __   ___  ___| |_   ___ ___    ___  _ __   | |_ ___  _ __  
 \  // __| '_ \ / _ \/ __| __| / __/ __|  / _ \| '_ \  | __/ _ \| '_ \ 
 /  \\__ \ |_) |  __/ (__| |_ | (_| (__  | (_) | | | | | || (_) | |_) |
/_/\_\___/ .__/_\___|\___|\__(_)___\___|  \___/|_| |_|  \__\___/| .__/ 
  / __ \ |_|_ / _ \ / _|___ __      ____ _ ___  | |__   ___ _ __|_|_   
 / / _` |/ __| (_) | ||_  / \ \ /\ / / _` / __| | '_ \ / _ \ '__/ _ \  
| | (_| | (__ \__, |  _/ /   \ V  V / (_| \__ \ | | | |  __/ | |  __/  
 \ \__,_|\___|  /_/|_|/___|   \_/\_/ \__,_|___/ |_| |_|\___|_|  \___|  
  \____/                                                               

*/
/* blame the green design on itsprobablyjackson, it was initially purple */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
:root {
  --primary: #28d71f;
  --primary-dark: #19b83e;
  --secondary: #2d2d2d;
  --background: #0f0f0f;
  --card-bg: #1a1a1a;
  --text: #ffffff;
  --text-secondary: #b3b3b3;
  --success: #1fd755;
  --danger: #ff5555;
  --header-height: 60px;
  --sidebar-width: 240px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: var(--background);
  color: var(--text);
  min-height: 100vh;
  display: flex;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #444;
}
.sidebar {
  width: var(--sidebar-width);
  background-color: var(--background);
  border-right: 1px solid var(--secondary);
  height: 100vh;
  overflow-y: auto;
  position: fixed;
  z-index: 100;
  transition: all 0.3s ease;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  height: var(--header-height);
  padding: 0 20px;
  border-bottom: 1px solid var(--secondary);
}
@font-face {
  font-family: providencia;
  src: url(./static/fonts/providencia.ttf); /* Might use thiss font later or something */
}
.sidebar-logo h1 {
  font-size: 2rem;
  font-family: Lora;
  margin-left: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.sidebar-logo i {
  color: var(--primary);
  font-size: 1.5rem;
}

.sidebar-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--secondary);
}

.sidebar-section-title {
  padding: 0 20px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.sidebar-menu-item {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  margin-right: 10px;
}

.sidebar-menu-item i {
  margin-right: 10px;
}

.sidebar-menu-item:hover, .sidebar-menu-item.active {
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-menu-item.active {
  border-left: 3px solid var(--primary);
}

.sidebar-menu-item:hover, .sidebar-menu-item.active {
  box-shadow: inset 3px 0px 0px 0px var(--primary);
  background-color: rgba(255, 255, 255, 0.1);
}

.discord-banner {
  display: flex;
  align-items: center;
  background-color: rgba(114, 137, 218, 0.15);
  margin: 20px;
  padding: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.discord-banner:hover {
  background-color: rgba(114, 137, 218, 0.25);
}

.discord-banner i {
  font-size: 1.5rem;
  margin-right: 15px;
  color: #7289da;
}

.discord-banner-text {
  a:link {color: white;}
  a:visited {color: white;}
  a:hover {color: white;}
  a:active {color: white;}
  font-size: 0.9rem;
}

.discord-banner-text p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 3px;
}
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

.header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  border-bottom: 1px solid var(--secondary);
  background-color: var(--background);
  position: sticky;
  top: 0;
  z-index: 99;
}

.header-title {
  display: flex;
  align-items: center;
}

.header-title h2 {
  font-weight: 600;
  margin-left: 10px;
}

.header-title i {
  color: var(--primary);
}

.breadcrumb {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
body a
{
  color: #FFFFFF;
}
.form-grid label {
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 5px;
  display: block;
}
.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb i {
  margin: 0 10px;
  font-size: 0.7rem;
}

.user-dropdown {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 6px 12px;
  border-radius: 4px;
}

.user-dropdown:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.user-dropdown img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.user-dropdown i {
  margin-left: 10px;
  color: var(--text-secondary);
}
.dashboard {
  padding: 30px;
}

.dashboard-section {
  margin-bottom: 30px;
  margin-top: 30px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.section-title i {
  margin-right: 10px;
  color: var(--primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.stat-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.stat-title {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-subtitle {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.stat-change {
  display: flex;
  align-items: center;
  margin-top: 10px;
  font-size: 0.9rem;
}

.stat-change.positive {
  color: var(--success);
}

.stat-change.negative {
  color: var(--danger);
}

.stat-change i {
  margin-right: 5px;
}
.badges-section {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.discord-field {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 450px;
  margin: 16px 0;
  padding: 8px;
  border-radius: 8px;
  background-color: #2f3136;
  
}
.discord-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #5865F2;
  color: white;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.discord-btn:hover {
  background: #4752C4;
  transform: translateY(-2px);
}

.discord-btn:active {
  transform: translateY(0);
}
.discord-icon {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}
.discord-link-btn {
  text-decoration: none;
  color: white;
  display: inline-block;
}
.discord-link {
  display: inline-flex;
  align-items: center;
  background: #5865F2 !important;
  color: white !important;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 12px;
  margin-bottom: 36px;
  transition: all 0.2s ease;
}

.discord-link:hover {
  background: #4752C4 !important;
  transform: translateY(-2px);
}

.badges-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.badges-count {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px 10px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
}

.badge-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.badge-item.active {
  background-color: rgba(31, 215, 85, 0.15);
  border: 1px solid rgba(31, 215, 85, 0.3);
}

.badge-item.locked {
  opacity: 0.6;
  cursor: not-allowed;
}

.badge-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.badge-icon.green {
  background-color: rgba(31, 215, 85, 0.15);
  color: var(--primary);
}

.badge-icon.purple {
  background-color: rgba(138, 43, 226, 0.15);
  color: #8a2be2;
}

.badge-icon.blue {
  background-color: rgba(30, 144, 255, 0.15);
  color: #1e90ff;
}

.badge-name {
  font-size: 0.8rem;
  font-weight: 500;
}

.badge-progress {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-top: 20px;
  overflow: hidden;
}

.badge-progress-bar {
  height: 100%;
  background-color: var(--primary);
  border-radius: 3px;
  transition: width 0.5s ease;
}
.chart-section {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.time-selector {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 5px;
}

.time-option {
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.time-option:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.time-option.active {
  background-color: rgba(31, 215, 85, 0.15);
  color: var(--primary);
}

.chart-container {
  height: 300px;
  position: relative;
}

.links-section {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.links-list {
  margin-top: 15px;
}

.link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.link-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.link-info {
  display: flex;
  align-items: center;
}

.link-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.1rem;
}

.link-icon.youtube {
  background-color: rgba(255, 0, 0, 0.15);
  color: #ff0000;
}

.link-icon.tiktok {
  background-color: rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.link-icon.website {
  background-color: rgba(31, 215, 85, 0.15);
  color: var(--primary);
}

.link-name {
  font-weight: 500;
}

.link-stats {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.link-stats i {
  margin-left: 5px;
}

.link-external {
  margin-left: 10px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.link-external:hover {
  color: var(--text);
}

.account-info {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-left: 20px;
}

.account-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.account-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.account-value {
  font-weight: 500;
}

.notification-center {
  position: fixed;
  top: 70px;
  right: 20px;
  width: 320px;
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.notification-center.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid var(--secondary);
}

.notification-title {
  font-weight: 600;
}

.notification-actions {
  display: flex;
  gap: 10px;
}

.notification-action {
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.notification-action:hover {
  color: var(--text);
}

.notifications-list {
  max-height: 300px;
  overflow-y: auto;
}

.notification-item {
  padding: 15px 20px;
  border-bottom: 1px solid var(--secondary);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.notification-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.notification-item.unread {
  border-left: 3px solid var(--primary);
}

.notification-content {
  display: flex;
  gap: 15px;
}

.notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(31, 215, 85, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.notification-message {
  flex: 1;
}

.notification-time {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-top: 5px;
}

.analytics-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.analytics-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.analytics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.analytics-title {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.analytics-badge {
  background-color: rgba(31, 215, 85, 0.15);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
}

.analytics-more {
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.analytics-more:hover {
  color: var(--text);
}

.analytics-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.analytics-subtitle {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.analytics-chart {
  height: 180px;
  margin-top: 15px;
}
.activity-feed {
  max-height: 300px;
  overflow-y: auto;
}

.activity-item {
  display: flex;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(31, 215, 85, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.activity-content {
  flex: 1;
}

.activity-text {
  line-height: 1.4;
}

.activity-time {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-top: 3px;
}
.dashboard-footer {
  border-top: 1px solid var(--secondary);
  padding: 20px 0;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 0.8rem;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: var(--primary);
}
.theme-switcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--background);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 99;
  transition: transform 0.3s ease;
}

.theme-switcher:hover {
  transform: scale(1.1);
}
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .sidebar {
    width: 70px;
    overflow: visible;
  }

  .sidebar-logo h1, .sidebar-menu-item span, .sidebar-section-title {
    display: none;
  }

  .sidebar-menu-item {
    justify-content: center;
    padding: 15px;
  }

  .sidebar-menu-item i {
    margin-right: 0;
  }

  .discord-banner {
    display: none;
  }

  .main-content {
    margin-left: 70px;
  }

  .chart-section, .badges-section {
    overflow-x: auto;
  }
}

@media (max-width: 576px) {
  .dashboard {
    padding: 15px;
  }

  .stat-card {
    padding: 15px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .badges-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }

  .breadcrumb {
    display: none;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-card, .badges-section, .chart-section, .links-section {
  animation: fadeIn 0.5s ease forwards;
}

.stat-card:nth-child(2) {
  animation-delay: 0.1s;
}

.stat-card:nth-child(3) {
  animation-delay: 0.2s;
}

.stat-card:nth-child(4) {
  animation-delay: 0.3s;
}
body, .sidebar, .main-content, .header, .stat-card, .badges-section, 
.chart-section, .links-section, .notification-center, .analytics-card {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.user-dropdown .username {
  transition: color 0.2s ease;
}

.user-dropdown:hover .username {
  color: var(--primary);
}

.logout-form {
  margin-left: 10px;
}

.logout-button {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.logout-button:hover {
  color: var(--danger);
}

.logout-button i {
  margin-right: 5px;
}
#socialsPopup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(20,20,20,0.75);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(3px);
}

.popup {
  background-color: var(--card-bg);
  color: var(--text);
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  width: 100%;
  border: 1px solid var(--secondary);
}



  
      /* itsprobablyjackson was here cuz all the css is 🍑*/
      
      .active {
          border-left: none !important;
     }
