/* ============================================
   PÁGINA DE ACESSO NEGADO - DESIGN MODERNO
   ============================================ */

main {
  min-height: calc(100vh - 200px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem 1rem;
}

.acesso-negado-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.acesso-negado-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 3rem 2rem;
  text-align: center;
  animation: slideIn 0.5s ease-out;
}

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

/* Ícone Principal */
.acesso-negado-icon {
  font-size: 5rem;
  color: #dc3545;
  margin-bottom: 1.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Título */
.acesso-negado-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.acesso-negado-title .text-warning {
  color: #ffc107 !important;
}

/* Mensagem */
.acesso-negado-message {
  margin-bottom: 2rem;
}

.acesso-negado-message .lead {
  font-size: var(--font-size-lg);
  color: #6c757d;
  line-height: 1.6;
}

/* Box de Informações do Usuário */
.user-info-box {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
  border: 2px solid #e9ecef;
}

.user-info-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--font-size-md);
  color: #495057;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #dee2e6;
}

.user-info-header i {
  font-size: var(--font-size-lg);
  color: #007bff;
}

.user-info-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-label {
  font-weight: 600;
  color: #6c757d;
  min-width: 80px;
}

.info-value {
  color: #212529;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.info-value .badge {
  font-size: var(--font-size-sm);
  padding: 0.4rem 0.8rem;
}

/* Box de Instruções */
.instructions-box {
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.instructions-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--font-size-md);
  color: #856404;
  margin-bottom: 1rem;
}

.instructions-header i {
  font-size: var(--font-size-lg);
}

.instructions-list {
  margin: 0;
  padding-left: 1.5rem;
  color: #856404;
}

.instructions-list li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.help-contact {
  background: white;
  padding: 0.8rem;
  border-radius: 8px;
  border-left: 4px solid #ffc107;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #856404;
  font-weight: 500;
}

.help-contact i {
  font-size: var(--font-size-lg);
}

/* Botões de Ação */
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.action-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.action-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.action-buttons .btn i {
  font-size: var(--font-size-md);
}

/* Footer */
.acesso-negado-footer {
  padding-top: 1.5rem;
  border-top: 2px solid #e9ecef;
}

.acesso-negado-footer small {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: var(--font-size-sm);
}

.acesso-negado-footer i {
  color: #dc3545;
}

/* Responsividade */
@media (max-width: 768px) {
  .acesso-negado-card {
    padding: 2rem 1.5rem;
  }
  
  .acesso-negado-title {
    font-size: 2rem;
  }
  
  .acesso-negado-icon {
    font-size: 4rem;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .action-buttons .btn {
    width: 100%;
  }
  
  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  
  .info-label {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  main {
    padding: 1rem 0.5rem;
  }
  
  .acesso-negado-card {
    padding: 1.5rem 1rem;
  }
  
  .acesso-negado-title {
    font-size: 1.5rem;
  }
  
  .acesso-negado-message .lead {
    font-size: 1rem;
  }
}