@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  font-family: sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1a1f3a 50%, #2d1b4e 100%);
  min-height: 100vh;
  padding: 20px;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}




.container {
  max-width: 1800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

header {
  text-align: center;
  margin-bottom: 40px;
  padding: 10px;
}


header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5em;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.5px;
}

header p {
  font-size: 1.1em;
  color: #cbd5e1;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 10px auto;
  line-height: 1.6;
}

nav {
  position: fixed;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  top: 10px;
  z-index: 999;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}
.controls {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 5px;
}

.search-box,
.filter-select {
  padding: 7px 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  font-size: 0.90em;
  background: rgba(15, 23, 42, 0.6);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}

.search-box::placeholder {
  color: #94a3b8;
}

.search-box:focus,
.filter-select:focus {
  outline: none;
  border-color: #a78bfa;
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.3);
}

.search-box {
  min-width: 250px;
  flex: 1;
  max-width: 400px;
}

.stats {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-card {

  text-align: center;
  min-width: 160px;
}


.stat-card .number {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .label {
  color: #cbd5e1;
  font-size: 16px;
  margin-top: 8px;
  font-weight: 500;
}

.directory {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
}

.card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.7) 100%);
  border-radius: 12px;
  width: 300px;
  padding: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(10px);
}

.featured-card {
  width:900px;
}

.card-rank {
  display: inline-block;
  background: linear-gradient(135deg, #dd8411 0%, #db8503 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75em;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 8px;
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.3);
}

.card-title {
  font-size: 1.2em;
  color: #f1f5f9;
  margin-bottom: 6px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.card-domain {
  color: #60a5fa;
  font-size: 0.8em;
  margin-bottom: 10px;
  word-break: break-all;
  font-weight: 500;
}

.card-details {
  margin: 10px 0;
  flex-grow: 1;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  font-size: 0.85em;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: #94a3b8;
  font-weight: 600;
}

.detail-value {
  color: #e2e8f0;
  font-weight: 700;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75em;
  font-weight: 600;
  margin-right: 6px;
  margin-top: 6px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-dofollow {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.3);
}

.badge-nofollow {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.3);
}

.badge-high {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.3);
}

.badge-medium {
  background: rgba(251, 146, 60, 0.15);
  color: #fed7aa;
  border-color: rgba(251, 146, 60, 0.3);
}

.badge-low {
  background: rgba(107, 114, 128, 0.15);
  color: #d1d5db;
  border-color: rgba(107, 114, 128, 0.3);
}

.badge-free {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.3);
}

.badge-paid {
  background: rgba(168, 85, 247, 0.15);
  color: #d8b4fe;
  border-color: rgba(168, 85, 247, 0.3);
}

.card-link {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #3b82f6 0%, #a78bfa 100%);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  transition: all 0.3s;
  text-align: center;
  font-size: 0.85em;
  box-shadow: 0 3px 12px rgba(59, 130, 246, 0.3);
}

.card-link:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(167, 139, 250, 0.4);
}

.no-results {
  text-align: center;
  padding: 60px 40px;
  color: #cbd5e1;
  font-size: 1.2em;
}

footer {
  text-align: center;
  color: #94a3b8;
  padding: 40px 30px;
  opacity: 0.8;
  font-size: 0.9em;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

footer a{
  text-align: center;
  color: white;
  text-decoration: none;

}

.content-wrapper {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.sidebar {
  width: 350px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: 600px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  order: 1;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.3) transparent;
  /* Sidebar on the left */
}


.main-content {
  flex: 1;
  animation: slideIn 0.5s ease-out;
  order: 2;
  /* Main content on the right */
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sidebar-section {
  padding: 5px;
  margin-bottom: 20px;
}


.project-selector-header {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.todo-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.completed-section {
  margin-bottom: 40px;
}

.show-more-btn {
  padding: 14px 40px;
  background: linear-gradient(135deg, #3b82f6 0%, #a78bfa 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.05em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.show-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(167, 139, 250, 0.4);
}

.show-more-btn:active {
  transform: translateY(0);
}

/* Google Sheets Style Table */
.sheets-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
}

.sheets-toolbar {
  background: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sheets-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.sheets-actions {
  display: flex;
  gap: 8px;
}

.sheets-btn {
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.sheets-btn:hover {
  background: #f0f0f0;
  border-color: #bbb;
}

.sheets-wrapper {
  overflow: auto;
  max-height: 600px;
}

.sheets-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sheets-header {
  background: #f8f9fa;
  border-bottom: 2px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.sheets-cell {
  border: 1px solid #e0e0e0;
  padding: 8px 12px;
  text-align: left;
  min-width: 120px;
  height: 36px;
}

.sheets-header-cell {
  font-weight: 600;
  color: #333;
  background: #f8f9fa;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.sheets-header-cell:hover {
  background: #e8e8e8;
}

.sheets-header-cell.sheets-select-all {
  width: 40px;
  min-width: 40px;
  text-align: center;
}

.sheets-sortable {
  position: relative;
}

.sheets-sortable:hover {
  background: #e8e8e8;
}

.sort-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #666;
}

.sheets-body {
  background: white;
}

.sheets-row {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s;
}

.sheets-row:hover {
  background: #f8f9fa;
}

.sheets-row.selected {
  background: #e3f2fd;
}

.sheets-cell {
  color: #333;
  font-size: 13px;
}

.sheets-cell .badge {
  font-size: 11px;
  padding: 2px 6px;
  margin: 0 2px;
}

.sheets-cell .sheets-link {
  color: #1976d2;
  text-decoration: none;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
  background: #e3f2fd;
  display: inline-block;
  transition: background-color 0.2s;
}

.sheets-cell .sheets-link:hover {
  background: #bbdefb;
}

.sheets-cell input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.sheets-cell .rank-badge {
  background: #e3f2fd;
  color: #1976d2;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 12px;
}

.sheets-cell .impact-badge {
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
}

.sheets-cell .impact-high {
  background: #ffebee;
  color: #c62828;
}

.sheets-cell .impact-medium {
  background: #fff3e0;
  color: #ef6c00;
}

.sheets-cell .impact-low {
  background: #f5f5f5;
  color: #616161;
}

.sheets-cell .type-badge {
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
}

.sheets-cell .type-dofollow {
  background: #e8f5e8;
  color: #2e7d32;
}

.sheets-cell .type-nofollow {
  background: #ffebee;
  color: #c62828;
}

.sheets-cell .pricing-badge {
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
}

.sheets-cell .pricing-free {
  background: #e8f5e8;
  color: #2e7d32;
}

.sheets-cell .pricing-paid {
  background: #e3f2fd;
  color: #1976d2;
}

.sheets-cell .pricing-free-paid {
  background: #f3e5f5;
  color: #7b1fa2;
}

/* Responsive Design for Sheets Table */
@media (max-width: 768px) {
  .sheets-container {
    margin: 0 -10px 20px -10px;
    border-radius: 0;
  }
  
  .sheets-toolbar {
    padding: 10px;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  
  .sheets-actions {
    justify-content: center;
  }
  
  .sheets-btn {
    font-size: 12px;
    padding: 4px 8px;
  }
  
  .sheets-cell {
    padding: 6px 8px;
    font-size: 12px;
    min-width: 80px;
  }
  
  .sheets-header-cell {
    padding: 6px 8px;
    font-size: 12px;
  }
  
  .sheets-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .sheets-cell {
    min-width: 60px;
    font-size: 11px;
  }
  
  .sheets-header-cell {
    font-size: 11px;
  }
  
  .sheets-btn {
    font-size: 11px;
    padding: 3px 6px;
  }
}

.project-select {
  padding: 6px;
  font-size: 16px;
  border-radius: 5px;
  font-weight: 700;
}

.progress-section {
  background: rgba(30, 41, 59, 0.4);
  padding: 25px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  margin-bottom: 40px;
  text-align: center;
}

.add-site-section {
  background: rgba(30, 41, 59, 0.4);
  padding: 25px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  margin-bottom: 40px;
}

.quick-submit-section {
  background: rgba(30, 41, 59, 0.4);
  padding: 25px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  margin-bottom: 40px;
}

.dr-section {
  background: rgba(30, 41, 59, 0.4);
  padding: 25px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  margin-bottom: 40px;
}

.dr-container {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.dr-display {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 10px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  min-width: 200px;
}

.dr-label {
  color: #cbd5e1;
  font-size: 1em;
  font-weight: 600;
}

.dr-value {
  color: #60a5fa;
  font-size: 2em;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dr-input-group {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 300px;
}

.dr-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  font-size: 0.9em;
  background: rgba(15, 23, 42, 0.6);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
}

.dr-input:focus {
  outline: none;
  border-color: #a78bfa;
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.3);
}

.dr-input::placeholder {
  color: #94a3b8;
}

.dr-tools-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dr-tool-link {
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dr-chart-container {
  width: 100%;
  padding: 20px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 10px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  margin-top: 20px;
  max-height: 300px;
}


.dr-tool-link:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
  border-color: rgba(96, 165, 250, 0.6);
  color: #a78bfa;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(96, 165, 250, 0.2);
}

.quick-submit-form {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: end;
}

.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  font-size: 0.9em;
  background: rgba(15, 23, 42, 0.6);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
}

.form-group select:focus {
  outline: none;
  border-color: #a78bfa;
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.3);
}

.add-site-form {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: end;
}

.form-group {
  flex: 1;
  min-width: 200px;
}

.form-group label {
  display: block;
  color: #cbd5e1;
  font-size: 0.9em;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  font-size: 0.9em;
  background: rgba(15, 23, 42, 0.6);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #a78bfa;
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.3);
}

.form-group input::placeholder {
  color: #94a3b8;
}

.add-btn {
  padding: 6px 12px;
  background: linear-gradient(135deg, #3b82f6 0%, #a78bfa 100%);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(167, 139, 250, 0.4);
}

.custom-sites-section {
  margin-bottom: 40px;
}

.section-title {
  color: #f1f5f9;
  font-size: 1.5em;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
  text-align: center;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-top: 30px;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #a78bfa 100%);
  width: 0%;
  transition: width 0.5s ease;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.progress-text {
  color: #cbd5e1;
  font-size: 1.1em;
  font-weight: 600;
}

.tracker-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
}

.tracker-item {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.7) 100%);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transition: all 0.4s ease;
  border: 1px solid rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.tracker-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(167, 139, 250, 0.2);
  border-color: rgba(167, 139, 250, 0.3);
}

.tracker-item.submitted {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border-color: rgba(34, 197, 94, 0.24);
}

.tracker-info {
  flex: 1;
  min-width: 0;
}

.tracker-name {
  font-size: 1em;
  color: #f1f5f9;
  margin-bottom: 3px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.tracker-domain {
  color: #60a5fa;
  font-size: 0.82em;
  margin-bottom: 6px;
  word-break: break-all;
  font-weight: 500;
}

.tracker-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82em;
}

.tracker-detail {
  color: #94a3b8;
}

.tracker-detail span {
  color: #e2e8f0;
  font-weight: 600;
}

.checkbox-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-container input[type="checkbox"] {
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #94a3b8;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.6);
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}

.checkbox-container input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #3b82f6 0%, #a78bfa 100%);
  border-color: #a78bfa;
}

.checkbox-container input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: bold;
}

.checkbox-container input[type="checkbox"]:hover {
  border-color: #a78bfa;
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.3);
}

.delete-btn {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8em;
  transition: all 0.3s;
}

.delete-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.5);
}

@media (max-width: 1024px) {
  .directory {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  header h1 {
    font-size: 2.8em;
  }

  header p {
    font-size: 1.2em;
  }

  .controls {
    padding: 20px;
  }

  .search-box,
  .filter-select {
    font-size: 0.85em;
  }

  .card {
    padding: 24px;
  }

  .sidebar {
    width: 300px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  header {
    margin-bottom: 40px;
    padding: 40px 10px 10px;
  }

  header h1 {
    font-size: 2.5em;
  }

  header p {
    font-size: 1.1em;
  }

  .controls {
    flex-direction: column;
    padding: 20px;
    gap: 10px;
  }

  .search-box,
  .filter-select {
    min-width: auto;
    width: 100%;
  }

  .stats {
    align-items: center;
  }

  .stat-card {
    min-width: 200px;
  }

  .stat-card .number {
    font-size: 1.4em;
  }

  .stat-card .label {
    font-size: 0.9em;
  }

  .directory {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    padding: 20px;
  }

  .card:hover {
    transform: translateY(-8px);
  }

  .card-rank {
    font-size: 0.75em;
  }

  .card-title {
    font-size: 1.3em;
  }

  .card-domain {
    font-size: 0.85em;
  }

  .detail-row {
    font-size: 0.9em;
  }

  .badge {
    font-size: 0.75em;
    padding: 4px 12px;
  }

  .card-link {
    padding: 10px 18px;
    font-size: 0.9em;
  }

  .show-more-btn {
    padding: 12px 30px;
    font-size: 1em;
  }


  footer {
    padding: 30px 20px;
    font-size: 0.85em;
  }

  .no-results {
    padding: 40px 20px;
    font-size: 1.1em;
  }

  .tracker-list {
    grid-template-columns: 1fr;
  }

  .tracker-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .tracker-details {
    flex-wrap: wrap;
  }

  .content-wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .dr-container {
    flex-direction: column;
    align-items: stretch;
  }

  .dr-display {
    justify-content: center;
  }

  .dr-input-group {
    min-width: auto;
    width: 100%;
  }

  .dr-input {
    width: 100%;
  }
}

.custom-website-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.section-subtitle {
  font-size: 1em;
  color: #f1f5f9;
  margin-bottom: 15px;
  font-weight: 600;
}

.custom-website-form {
  display: flex;
  gap: 10px;
  align-items: end;
}

.custom-website-form .form-group {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .custom-website-form {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.launch-form,
.website-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  color: #f1f5f9;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.8);
  color: #f1f5f9;
  font-size: 1em;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.add-btn,
.cancel-btn {
  padding: 6px 12px;
  background: linear-gradient(90deg, #3b82f6 0%, #a78bfa 100%);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.add-btn:hover,
.cancel-btn:hover,
.remove-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.cancel-btn {
  background: #6b7280;
}

.remove-btn {
  padding: 6px 12px;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.days-remaining {
  font-size: 1.2em;
  color: #60a5fa;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
}

.dr-history {
  margin-top: 20px;
}

.dr-history h4 {
  color: #f1f5f9;
  margin-bottom: 10px;
}

.dr-history ul {
  list-style: none;
  padding: 0;
}

.dr-history li {
  background: rgba(15, 23, 42, 0.5);
  padding: 8px 12px;
  margin-bottom: 5px;
  border-radius: 6px;
  color: #cbd5e1;
}

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

.recommended-name {
  color: white;
  font-size: 18px;
}

 .recommended-dr,.recommended-type {
  color: #6b7280;
  font-size: 14px;
}

.recommended-domain {
  color: #60a5fa;
}

.tracker-extra {
  margin-top: 10px;
}

.tracker-extra .tracker-detail {
  margin-bottom: 5px;
}

.edit-btn {
  padding: 5px 10px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.8em;
  margin-top: 5px;
}

.edit-btn:hover {
  background: #2563eb;
}

.edit-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.edit-content {
  background: rgba(30, 41, 59, 0.9);
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.edit-content h3 {
  color: #f1f5f9;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}

.edit-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.edit-form input,
.edit-form textarea {
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.8);
  color: #f1f5f9;
  font-size: 1em;
}

.edit-form textarea {
  resize: vertical;
  min-height: 100px;
}

.edit-form button {
  padding: 10px 20px;
  background: linear-gradient(90deg, #3b82f6 0%, #a78bfa 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.edit-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.edit-form .cancel-btn {
  background: #6b7280;
}

/* Responsive Design for Dashboard */
@media (max-width: 1024px) {
  .content-wrapper {
    gap: 15px;
    flex-direction: row;
  }

  .sidebar {
    width: 280px;
  }

  header h1 {
    font-size: 3em;
  }

  .project-selector-header {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .project-select {
    width: 100%;
  }

  .tracker-list {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
}

@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .container {
    padding: 0;
  }

  header {
    text-align: center;
    margin-bottom: 30px;
  }

  header h1 {
    font-size: 2.2em;
  }

  header p {
    font-size: 1em;
    max-width: 100%;
  }

  .project-selector-header {
    flex-direction: column;
    gap: 10px;
  }

  .project-select,
  .add-btn,
  .delete-btn {
    width: 100%;
    padding: 12px;
  }

  .content-wrapper {
    flex-direction: row;
    gap: 15px;
  }

  .sidebar {
    width: 220px;
    order: 1;
  }

  .main-content {
    order: 2;
  }




  .progress-section,
  .quick-submit-section,
  .completed-section,
  .launch-section,
  .website-dr-section,
  .recommended-section {
    padding: 20px;
    margin-bottom: 20px;
  }

  .tracker-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .tracker-item {
    padding: 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .checkbox-container {
    align-self: flex-end;
  }

  .quick-submit-form,
  .add-site-form,
  .custom-website-form {
    flex-direction: column;
    gap: 10px;
  }

  .form-group {
    min-width: auto;
    width: 100%;
  }

  .recommended-list {
    grid-template-columns: 1fr;
  }

  .edit-content {
    width: 95%;
    padding: 20px;
  }

  .edit-content h3 {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.8em;
  }

  .content-wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    order: 2;
  }

  .main-content {
    order: 1;
  }

  .tracker-item {
    padding: 12px;
  }

  .tracker-name {
    font-size: 0.95em;
  }

  .tracker-domain {
    font-size: 0.8em;
  }

  .tracker-details {
    font-size: 0.8em;
    gap: 8px;
  }



  .progress-section,
  .quick-submit-section,
  .completed-section,
  .launch-section,
  .website-dr-section,
  .recommended-section {
    padding: 15px;
  }
}

/* Sites Table Styling */
.sites-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(10px);
}

.sites-table th {
  background: #2828a7;
  color: #f1f5f9;
  font-weight: 700;
  padding: 15px 12px;
  text-align: left;
  font-size: 0.9em;
  border-bottom: 2px solid rgba(148, 163, 184, 0.3);
  font-family: 'Poppins', sans-serif;
}

.sites-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  color: #e2e8f0;
  font-size: 0.85em;
  vertical-align: middle;
}

.sites-table tr:hover {
  background: rgba(59, 130, 246, 0.05);
}

.sites-table tr:last-child td {
  border-bottom: none;
}

.sites-table a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.sites-table a:hover {
  color: #a78bfa;
  text-decoration: underline;
}

/* Difficulty badges */
.difficulty-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.difficulty-low {
  background: rgba(107, 114, 128, 0.15);
  color: #d1d5db;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

.difficulty-medium {
  background: rgba(251, 146, 60, 0.15);
  color: #fed7aa;
  border: 1px solid rgba(251, 146, 60, 0.3);
}

.difficulty-high {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Link type badges */
.link-type-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.link-type-dofollow {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.link-type-nofollow {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.link-type-self-do-follow {
  background: rgba(168, 85, 247, 0.15);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.link-type-dash {
  background: rgba(107, 114, 128, 0.15);
  color: #d1d5db;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

/* Responsive design for sites table */
@media (max-width: 768px) {
  .sites-table {
    font-size: 0.8em;
  }
  
  .sites-table th,
  .sites-table td {
    padding: 8px 6px;
  }
  
  .sites-table th {
    font-size: 0.8em;
  }
  
  .sites-table td {
    font-size: 0.75em;
  }
  
  .difficulty-badge,
  .link-type-badge {
    padding: 2px 6px;
    font-size: 0.7em;
  }
}

@media (max-width: 480px) {
  .sites-table {
    font-size: 0.7em;
  }
  
  .sites-table th,
  .sites-table td {
    padding: 6px 4px;
  }
  
  .sites-table th {
    font-size: 0.7em;
  }
  
  .sites-table td {
    font-size: 0.65em;
  }
}