.error-403-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  font-family: var(--body-font);
  color: #334155;
  margin: 0;
  padding: 0;
}

.error-403-wrapper {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.error-403-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.error-403-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #475569;
}

.error-403-brand svg {
  color: #dc2626;
}

/* Main Content */
.error-403-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  text-align: center;
}

.error-403-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.error-403-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
  animation: pulse 2s infinite;
}

.error-403-icon svg {
  color: white;
}

.error-403-code {
  font-size: 4rem;
  font-weight: 800;
  color: #dc2626;
  font-family: var(--title-font);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-403-content {
  max-width: 600px;
  margin-bottom: 2rem;
}

.error-403-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f302b;
  margin-bottom: 0.75rem;
  font-family: var(--title-font);
}

.error-403-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.error-403-info h2 {
  font-size: 1.25rem;
  color: #374151;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.error-403-reasons {
  display: grid;
  gap: 1rem;
  text-align: left;
  margin-bottom: 2rem;
}

.reason-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border-radius: 12px;
  border-left: 4px solid #dc2626;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.reason-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.reason-item svg {
  color: #dc2626;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.reason-item div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reason-item strong {
  color: #1e293b;
  font-weight: 600;
}

.reason-item span {
  color: #64748b;
  font-size: 0.95rem;
}

/* Action Buttons */
.error-403-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  border-color: #1e293b;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 41, 59, 0.3);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.btn-secondary {
  background: transparent;
  color: #dc2626;
  border-color: #dc2626;
}

.btn-secondary:hover {
  background: #dc2626;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.btn-tertiary {
  background: transparent;
  color: #64748b;
  border-color: #e2e8f0;
}

.btn-tertiary:hover {
  background: #f8fafc;
  color: #334155;
  border-color: #cbd5e1;
}

/* Footer */
.error-403-footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.5);
}

.error-403-footer p {
  margin-bottom: 1rem;
  color: #64748b;
}

.error-403-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #dc2626;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.error-403-contact a:hover {
  color: #b91c1c;
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

@keyframes slideDown {
  from { 
    transform: translateY(-20px); 
    opacity: 0; 
  }
  to { 
    transform: translateY(0); 
    opacity: 1; 
  }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .error-403-wrapper {
    padding: 0 0.5rem;
  }

  .error-403-main {
    padding: 2rem 0;
  }

  .error-403-icon {
    width: 100px;
    height: 100px;
  }

  .error-403-icon svg {
    width: 48px;
    height: 48px;
  }

  .error-403-code {
    font-size: 3rem;
  }

  .error-403-title {
    font-size: 2rem;
  }

  .error-403-subtitle {
    font-size: 1.125rem;
  }

  .reason-item {
    padding: 1rem;
  }

  .error-403-actions {
    flex-direction: column;
    padding: 1.5rem 0;
  }

  .btn-primary,
  .btn-secondary,
  .btn-tertiary {
    width: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .error-403-header {
    padding: 1rem 0;
  }

  .error-403-brand {
    font-size: 0.9rem;
  }

  .error-403-main {
    padding: 1.5rem 0;
  }

  .error-403-icon {
    width: 80px;
    height: 80px;
  }

  .error-403-icon svg {
    width: 40px;
    height: 40px;
  }

  .error-403-code {
    font-size: 2.5rem;
  }

  .error-403-title {
    font-size: 1.75rem;
  }

  .reason-item {
    padding: 0.875rem;
  }

  .reason-item svg {
    width: 16px;
    height: 16px;
  }
} 