/* Гайды для самозанятых - Стили */

:root {
  --guide-primary: #667eea;
  --guide-secondary: #764ba2;
  --guide-success: #48bb78;
  --guide-warning: #ed8936;
  --guide-danger: #f56565;
  --guide-light: #f7fafc;
  --guide-dark: #2d3748;
  --guide-border: #e2e8f0;
  --guide-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --guide-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.guides-hero {
  background: linear-gradient(135deg, var(--guide-primary) 0%, var(--guide-secondary) 100%);
  padding: 60px 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.guides-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
  opacity: 0.3;
}

.hero-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
}

.hero-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 20px;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

/* Container */
.guides-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* User Stats Card */
.user-stats-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: var(--guide-shadow);
}

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

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--guide-primary), var(--guide-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--guide-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: #718096;
}

/* Guides Grid */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

/* Guide Card */
.guide-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--guide-shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--guide-shadow-lg);
}

.guide-card.in-progress {
  border-color: var(--guide-warning);
}

.guide-card.completed {
  border-color: var(--guide-success);
}

.guide-card-header {
  padding: 32px 24px 16px;
  background: linear-gradient(135deg, var(--guide-light) 0%, #ffffff 100%);
  position: relative;
}

.guide-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--guide-primary), var(--guide-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 36px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.completion-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--guide-success);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);
}

.guide-card-body {
  padding: 24px;
}

.guide-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--guide-dark);
  margin-bottom: 12px;
  text-align: center;
}

.guide-description {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

/* Progress Section */
.progress-section {
  margin-bottom: 16px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.progress-text {
  font-size: 14px;
  color: var(--guide-dark);
  font-weight: 500;
}

.progress-percentage {
  font-size: 14px;
  color: var(--guide-primary);
  font-weight: 700;
}

.progress-bar {
  height: 8px;
  background: var(--guide-light);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--guide-primary), var(--guide-secondary));
  border-radius: 4px;
  transition: width 0.3s ease;
}

.guide-card.completed .progress-fill {
  background: linear-gradient(90deg, var(--guide-success), #38a169);
}

/* Guide Meta */
.guide-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--guide-border);
}

.guide-version {
  font-size: 12px;
  color: #718096;
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #f6ad55, #ed8936);
  color: white;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Guide Card Footer */
.guide-card-footer {
  padding: 0 24px 24px;
}

.btn-guide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--guide-primary), var(--guide-secondary));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-guide:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.guide-card.completed .btn-guide {
  background: linear-gradient(135deg, var(--guide-success), #38a169);
}

.guide-card.in-progress .btn-guide {
  background: linear-gradient(135deg, var(--guide-warning), #dd6b20);
}

/* Info Section */
.info-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.info-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--guide-shadow);
}

.info-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--guide-primary), var(--guide-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  margin-bottom: 20px;
}

.info-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--guide-dark);
  margin-bottom: 16px;
}

.info-content p {
  font-size: 14px;
  color: #718096;
  line-height: 1.6;
  margin-bottom: 20px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--guide-dark);
}

.info-list li i {
  color: var(--guide-success);
  margin-top: 2px;
  flex-shrink: 0;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--guide-light);
  color: var(--guide-primary);
  border: 2px solid var(--guide-primary);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--guide-primary);
  color: white;
}

/* Auth Gate Styles for Unauthorized Users */

/* Auth Gate Overlay */
.auth-gate-overlay {
  min-height: calc(100vh - 200px);
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.auth-gate-overlay::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

/* Auth Gate Hero */
.auth-gate-hero {
  text-align: center;
  margin-bottom: 60px;
}

.auth-gate-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.auth-gate-icon {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--guide-primary), var(--guide-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 56px;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
  animation: float 3s ease-in-out infinite;
}

.auth-gate-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.auth-gate-sparkles i {
  position: absolute;
  color: #ffd700;
  font-size: 16px;
  animation: sparkle 2s ease-in-out infinite;
}

.auth-gate-sparkles i:nth-child(1) {
  top: 10%;
  right: 10%;
}

.auth-gate-sparkles i:nth-child(2) {
  top: 50%;
  right: -10%;
}

.auth-gate-sparkles i:nth-child(3) {
  bottom: 10%;
  left: 10%;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.auth-gate-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--guide-dark);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--guide-primary), var(--guide-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-gate-subtitle {
  font-size: 20px;
  color: #718096;
  max-width: 600px;
  margin: 0 auto;
}

/* Benefits Section */
.auth-gate-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.benefit-item {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--guide-shadow);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--guide-shadow-lg);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--guide-primary), var(--guide-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-bottom: 16px;
}

.benefit-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--guide-dark);
  margin-bottom: 8px;
}

.benefit-content p {
  font-size: 14px;
  color: #718096;
  line-height: 1.6;
  margin: 0;
}

/* Preview Section */
.auth-gate-preview {
  margin-bottom: 60px;
}

.preview-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--guide-dark);
  text-align: center;
  margin-bottom: 32px;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.preview-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--guide-shadow);
  transition: all 0.3s ease;
}

.preview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.preview-card:hover::before {
  opacity: 1;
}

.preview-card-lock {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--guide-dark);
  font-size: 14px;
}

.preview-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--guide-primary), var(--guide-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 36px;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.preview-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--guide-dark);
  margin-bottom: 8px;
}

.preview-card p {
  font-size: 14px;
  color: #718096;
  margin: 0;
}

/* CTA Section */
.auth-gate-cta {
  text-align: center;
  background: white;
  border-radius: 24px;
  padding: 48px 32px;
  box-shadow: var(--guide-shadow-lg);
}

.cta-text {
  font-size: 20px;
  color: var(--guide-dark);
  margin-bottom: 32px;
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-cta:hover::before {
  width: 300px;
  height: 300px;
}

.btn-cta i {
  position: relative;
  z-index: 1;
}

.btn-cta span {
  position: relative;
  z-index: 1;
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--guide-primary), var(--guide-secondary));
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-cta-secondary {
  background: white;
  color: var(--guide-primary);
  border: 2px solid var(--guide-primary);
}

.btn-cta-secondary:hover {
  background: var(--guide-light);
  transform: translateY(-2px);
}

/* Tip Submission Modal Styles */

/* Tip Modal */
.tip-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.tip-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.tip-modal-content {
  position: relative;
  max-width: 700px;
  margin: 40px auto;
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tip-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--guide-border);
}

.tip-modal-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--guide-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.tip-modal-header h2 i {
  color: var(--guide-primary);
}

.tip-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--guide-light);
  border: none;
  color: var(--guide-dark);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tip-modal-close:hover {
  background: var(--guide-danger);
  color: white;
  transform: rotate(90deg);
}

/* Tip Form */
.tip-form {
  padding: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--guide-dark);
  margin-bottom: 8px;
}

.form-group label i {
  color: var(--guide-primary);
}

.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--guide-border);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--guide-primary);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.char-counter {
  text-align: right;
  font-size: 12px;
  color: #718096;
  margin-top: 4px;
}

.char-counter span {
  font-weight: 600;
  color: var(--guide-primary);
}

/* Tip Info Box */
.tip-info-box {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
  border-left: 4px solid var(--guide-primary);
  border-radius: 8px;
  margin-bottom: 24px;
}

.tip-info-box i {
  color: var(--guide-primary);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.tip-info-box strong {
  display: block;
  color: var(--guide-dark);
  margin-bottom: 4px;
  font-size: 14px;
}

.tip-info-box p {
  font-size: 13px;
  color: #718096;
  margin: 0;
  line-height: 1.5;
}

/* Tip Modal Footer */
.tip-modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn-cancel,
.btn-submit {
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cancel {
  background: var(--guide-light);
  color: var(--guide-dark);
}

.btn-cancel:hover {
  background: var(--guide-border);
}

.btn-submit {
  background: linear-gradient(135deg, var(--guide-primary), var(--guide-secondary));
  color: white;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
  width: 300px;
  height: 300px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Tip Success Message */
.tip-success {
  padding: 48px 32px;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--guide-success), #38a169);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 40px;
  margin: 0 auto 24px;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.tip-success h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--guide-dark);
  margin-bottom: 12px;
}

.tip-success p {
  font-size: 14px;
  color: #718096;
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-primary {
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--guide-primary), var(--guide-secondary));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Responsive for Tip Modal */
@media (max-width: 768px) {
  .tip-modal-content {
    margin: 20px;
    max-height: calc(100vh - 40px);
  }

  .tip-modal-header {
    padding: 24px 20px 16px;
  }

  .tip-modal-header h2 {
    font-size: 22px;
  }

  .tip-form {
    padding: 20px;
  }

  .tip-modal-footer {
    flex-direction: column;
  }

  .btn-cancel,
  .btn-submit {
    width: 100%;
    justify-content: center;
  }
}

/* Guides Search Section */
.guides-search-section {
  margin-bottom: 32px;
}

.search-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto 12px;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #718096;
  font-size: 18px;
  pointer-events: none;
}

.guides-search-input {
  width: 100%;
  padding: 16px 56px 16px 56px;
  border: 2px solid var(--guide-border);
  border-radius: 16px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.guides-search-input:focus {
  outline: none;
  border-color: var(--guide-primary);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--guide-light);
  border: none;
  color: #718096;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-clear:hover {
  background: var(--guide-danger);
  color: white;
}

.search-results-count {
  text-align: center;
  font-size: 14px;
  color: #718096;
  animation: fadeIn 0.3s ease;
}

.search-results-count span {
  font-weight: 700;
  color: var(--guide-primary);
}

/* Guides Horizontal Scroll */
.guides-scroll-container {
  position: relative;
  margin-bottom: 40px;
}

.guides-horizontal-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 4px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--guide-primary) var(--guide-light);
}

.guides-horizontal-scroll::-webkit-scrollbar {
  height: 8px;
}

.guides-horizontal-scroll::-webkit-scrollbar-track {
  background: var(--guide-light);
  border-radius: 4px;
}

.guides-horizontal-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--guide-primary), var(--guide-secondary));
  border-radius: 4px;
}

.guides-horizontal-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, var(--guide-secondary), var(--guide-primary));
}

.guides-horizontal-scroll .guide-card {
  flex: 0 0 340px;
  min-width: 340px;
}

/* Scroll Navigation Buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--guide-border);
  color: var(--guide-primary);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-btn:hover {
  background: linear-gradient(135deg, var(--guide-primary), var(--guide-secondary));
  color: white;
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
}

.scroll-btn-left {
  left: -24px;
}

.scroll-btn-right {
  right: -24px;
}

.scroll-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* No Results Message */
.no-results {
  text-align: center;
  padding: 60px 20px;
  animation: fadeIn 0.5s ease;
}

.no-results-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--guide-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718096;
  font-size: 32px;
  margin: 0 auto 20px;
}

.no-results h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--guide-dark);
  margin-bottom: 8px;
}

.no-results p {
  font-size: 14px;
  color: #718096;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .guides-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .info-section {
    grid-template-columns: 1fr;
  }
}

/* Responsive for Auth Gate */
@media (max-width: 768px) {
  .auth-gate-title {
    font-size: 32px;
  }

  .auth-gate-subtitle {
    font-size: 16px;
  }

  .auth-gate-benefits {
    grid-template-columns: 1fr;
  }

  .preview-cards {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Responsive for Horizontal Scroll */
@media (max-width: 768px) {
  .guides-horizontal-scroll .guide-card {
    flex: 0 0 300px;
    min-width: 300px;
  }

  .scroll-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .scroll-btn-left {
    left: -12px;
  }

  .scroll-btn-right {
    right: -12px;
  }

  .search-wrapper {
    margin: 0 0 12px;
  }
}
