/* Guidelines Page Specific Styles */
/* Table of Contents */
.toc-section {
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.03), rgba(126, 58, 242, 0.03));
  border-radius: 20px;
  padding: 12px;
  margin-bottom: 60px;
  border-left: 5px solid var(--primary-color);
}

.toc-title {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 25px;
  font-family: 'Syne', sans-serif;
}

.toc-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
}

.toc-item {
  margin-bottom: 10px;
}

.toc-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 12px;
  background: white;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.toc-link:hover {
  border-color: var(--primary-color);
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(26, 86, 219, 0.1);
}

.toc-number {
  background: var(--primary-color);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Guidelines Content */
.guideline-section {
  margin-bottom: 80px;
  scroll-margin-top: 100px;
}

.guideline-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 30px 40px;
  border-radius: 15px 15px 0 0;
  margin-bottom: 0;
}

.guideline-number {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.guideline-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 5px;
  font-family: 'Syne', sans-serif;
}

.guideline-body {
  background: white;
  padding: 40px;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  border-top: none;
}

/* User Types */
.user-type-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
  height: 100%;
}

.user-type-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.user-type-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: white;
  font-size: 1.8rem;
}

.user-type-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-family: 'Syne', sans-serif;
}

.user-type-permissions {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.user-type-permissions li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
}

.user-type-permissions li:last-child {
  border-bottom: none;
}

.user-type-permissions li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 0.9rem;
}

/* Steps Process */
.steps-process {
  position: relative;
  padding-left: 40px;
}

.steps-process::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.process-step {
  position: relative;
  margin-bottom: 40px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid #e5e7eb;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  position: absolute;
  left: -50px;
  top: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  border: 4px solid white;
  z-index: 1;
}

.step-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-family: 'Syne', sans-serif;
}

/* Rules List */
.rules-list {
  list-style: none;
  padding-left: 0;
}

.rules-list li {
  padding: 15px 20px 15px 60px;
  margin-bottom: 15px;
  background: #f9fafb;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
  position: relative;
}

.rules-list li::before {
  content: '✓';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Important Notes */
.important-note {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border-left: 5px solid #f97316;
  padding: 25px;
  border-radius: 10px;
  margin: 30px 0;
}

.note-title {
  color: #ea580c;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.note-title i {
  font-size: 1.3rem;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #e5e7eb;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.action-btn.primary {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
}

.action-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(26, 86, 219, 0.3);
}

.action-btn.secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.action-btn.secondary:hover {
  background: var(--primary-color);
  color: white;
}

/* Responsive */
@media (max-width: 992px) {
  
  
  .toc-list {
    grid-template-columns: 1fr;
  }
  
  .guideline-title {
    font-size: 1.9rem;
  }
}

@media (max-width: 768px) {
  
  
  .guideline-header {
    padding: 25px;
  }
  
  .guideline-body {
    padding: 25px;
  }
  
  .steps-process {
    padding-left: 30px;
  }
  
  .step-number {
    left: -40px;
    width: 35px;
    height: 35px;
  }
  
  .process-step {
    padding: 25px;
  }
  
  .toc-section {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  
  
  .guideline-title {
    font-size: 1.7rem;
  }
  
  .steps-process::before {
    left: 17px;
  }
  
  .step-number {
    left: -35px;
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .quick-actions {
    flex-direction: column;
  }
  
  .action-btn {
    width: 100%;
    justify-content: center;
  }
}