/* Reset e Base */
.reportarErros-ux {
  background-color: #1e1e2e;
  color: #e2e8f0;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container Principal */
.reportarErros-container {
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 2rem;
  flex: 1 0 auto;
}

/* Cabeçalho */
.reportarErros-header {
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  padding: 4rem 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 15px 30px -10px rgba(99, 102, 241, 0.3);
  max-width: 1200px;
  margin: 0 auto 3rem auto;
}

.reportarErros-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(to right, #fff, #e2e8f0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

/* Cards de Suporte */
.reportarErros-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0 auto 3rem auto;
  max-width: 1200px;
}

.reportarErros-support-card {
  background-color: #27273a;
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.reportarErros-support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 12px rgba(99, 102, 241, 0.2);
}

.reportarErros-support-card i {
  font-size: 2.5rem;
  color: #6366f1;
  margin-bottom: 1.5rem;
  background: rgba(99, 102, 241, 0.1);
  padding: 1rem;
  border-radius: 1rem;
}

.reportarErros-support-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 1rem;
}

.reportarErros-support-card p,
.reportarErros-support-card a {
  color: #94a3b8;
  line-height: 1.5;
}

.reportarErros-support-card a:hover {
  color: #6366f1;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .reportarErros-support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .reportarErros-support-grid {
    grid-template-columns: 1fr;
  }
}

/* Formulário */
.reportarErros-form-container {
  background-color: #27273a;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin: 0 auto;
}

.reportarErros-form-section {
  background-color: #323248;
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reportarErros-form-section h3 {
  color: #6366f1;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reportarErros-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Campos */
.reportarErros-form-field {
  margin-bottom: 1rem;
}

.reportarErros-form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #94a3b8;
}

.reportarErros-form-input,
.reportarErros-form-select,
.reportarErros-form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background-color: #1e1e2e;
  border: 2px solid #323248;
  border-radius: 0.5rem;
  color: #e2e8f0;
  transition: all 0.2s;
  font-size: 1rem;
  line-height: 1.5;
}

.reportarErros-form-input:focus,
.reportarErros-form-select:focus,
.reportarErros-form-textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  outline: none;
}

.reportarErros-form-input.invalid,
.reportarErros-form-select.invalid {
  border-color: #ef4444;
  animation: shake 0.5s;
}

/* Checkbox Moderno */
.reportarErros-form-check {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(99, 102, 241, 0.03);
  border-radius: 1rem;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
}

.reportarErros-form-check:hover {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.2);
}

.reportarErros-form-check-label {
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
  flex: 1;
  display: inline-block;
  white-space: normal;
  margin-top: 2px;
}

.reportarErros-checkbox-wrapper {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.reportarErros-form-check-input {
  position: absolute;
  opacity: 0;
  width: 24px;
  height: 24px;
  cursor: pointer;
  z-index: 1;
}

.reportarErros-checkbox-mark {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background: transparent;
  border: 2px solid #6366f1;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.reportarErros-checkbox-mark::after {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg) scale(0);
  opacity: 0;
  transition: all 0.2s ease;
}

.reportarErros-form-check-input:checked + .reportarErros-checkbox-mark {
  background: #6366f1;
  box-shadow: 0 2px 5px rgba(99, 102, 241, 0.3);
}

.reportarErros-form-check-input:checked + .reportarErros-checkbox-mark::after {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

/* Upload */
.reportarErros-upload-zone {
  border: 2px dashed rgba(99, 102, 241, 0.3);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(99, 102, 241, 0.03);
  position: relative;
  overflow: hidden;
}

.reportarErros-upload-zone:hover {
  border-color: #6366f1;
  background-color: rgba(99, 102, 241, 0.08);
  transform: translateY(-2px);
}

.reportarErros-upload-icon {
  font-size: 3rem;
  color: #6366f1;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

.reportarErros-upload-info {
  margin-top: 1.5rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

.reportarErros-upload-info p {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.reportarErros-upload-info i {
  color: #6366f1;
}

.reportarErros-preview-container {
  margin-top: 1.5rem;
  text-align: center;
  display: none;
}

.reportarErros-preview-image {
  max-width: 300px;
  max-height: 200px;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.reportarErros-file-name {
  display: block;
  margin-top: 1rem;
  color: #94a3b8;
}

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

/* Botões */
.reportarErros-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.reportarErros-btn-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.reportarErros-btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.reportarErros-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

/* Links e Botões de Link */
.reportarErros-form-check a {
  color: #6366f1;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
  top: -2px;
}

.reportarErros-form-check a:hover {
  color: #818cf8;
}

.reportarErros-form-check a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -1px;
  left: 0;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.reportarErros-form-check a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.reportarErros-form-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #94a3b8;
}

.reportarErros-form-footer p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reportarErros-form-footer i {
  color: #6366f1;
}

/* Footer */
.reportarErros-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem 2rem;
  position: sticky;
  bottom: 0;
  background-color: #1e1e2e;
  border-top: 1px solid #323248;
  z-index: 10;
}

/* Status Tags */
.reportarErros-status-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.reportarErros-status-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-width: 120px;
  justify-content: center;
}

.reportarErros-status-urgent { 
  background-color: #ef4444; 
  color: white;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.reportarErros-status-high { 
  background-color: #f59e0b; 
  color: black;
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

.reportarErros-status-medium { 
  background-color: #3b82f6; 
  color: white;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.reportarErros-status-low { 
  background-color: #10b981; 
  color: white;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

/* Botão adicionar anexo */
.reportarErros-add-attachment {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    width: 100%;
}

.reportarErros-add-attachment button {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
    min-width: 160px;
    backdrop-filter: blur(10px);
}

.reportarErros-add-attachment button:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.reportarErros-add-attachment button i {
    font-size: 16px;
}

/* Animações */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

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

/* Responsividade */
@media (max-width: 768px) {
  .reportarErros-container {
    padding: 1rem;
  }

  .reportarErros-header {
    padding: 2rem 1rem;
    margin: 0 1rem 2rem 1rem;
  }

  .reportarErros-header h1 {
    font-size: 1.75rem;
  }

  .reportarErros-form-container {
    padding: 1.25rem;
    margin: 0 1rem;
  }

  .reportarErros-form-section {
    padding: 1.25rem;
  }

  .reportarErros-form-grid {
    grid-template-columns: 1fr;
  }

  .reportarErros-form-check {
    padding: 1rem;
    margin: 1.5rem 0;
  }

  .reportarErros-form-check-label {
    font-size: 0.9rem;
  }

  .reportarErros-upload-zone {
    padding: 2rem 1rem;
  }

  .reportarErros-upload-icon {
    font-size: 2.5rem;
  }

  .reportarErros-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .reportarErros-footer {
    padding: 1rem;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .reportarErros-header h1 {
    font-size: 1.5rem;
  }

  .reportarErros-form-input,
  .reportarErros-form-select,
  .reportarErros-form-textarea {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }

  .reportarErros-upload-info {
    font-size: 0.85rem;
  }

  .reportarErros-status-tag {
    min-width: 100px;
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
  }
}

/* Estilos para múltiplos anexos - Tema Azul Escuro */
.reportarErros-upload-description {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    color: #ffffff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Container flex para os 5 anexos */
#uploads-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.reportarErros-upload-item {
    flex: 1;
    min-width: 280px;
    max-width: calc(50% - 10px);
    min-height: 420px;
    margin-bottom: 0;
    padding: 20px;
    border: 2px solid #1e40af;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
}

.reportarErros-upload-item:hover {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.reportarErros-form-label {
    color: #e2e8f0 !important;
    font-weight: 600;
    margin-bottom: 10px;
}

.reportarErros-upload-zone {
    background: rgba(30, 64, 175, 0.1) !important;
    border: 2px dashed #3b82f6 !important;
    border-radius: 12px;
    color: #e2e8f0 !important;
    transition: all 0.3s ease;
}

.reportarErros-upload-zone:hover {
    background: rgba(59, 130, 246, 0.2) !important;
    border-color: #60a5fa !important;
    transform: scale(1.02);
}

.reportarErros-upload-icon {
    color: #3b82f6 !important;
    font-size: 2.5rem;
}

.reportarErros-file-name {
    color: #cbd5e1 !important;
    font-style: italic;
}

.reportarErros-add-attachment {
    text-align: center;
    margin: 30px 0;
}

.reportarErros-add-attachment button {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.reportarErros-add-attachment button:hover {
    background: linear-gradient(135deg, #047857, #059669);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.reportarErros-upload-info {
    background: rgba(30, 64, 175, 0.1);
    border: 1px solid #1e40af;
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
    color: #e2e8f0;
}

.reportarErros-upload-info p {
    color: #e2e8f0 !important;
    margin-bottom: 15px;
}

.reportarErros-upload-info strong {
    color: #60a5fa;
}

.reportarErros-file-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 15px 0;
}

.reportarErros-file-type {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #60a5fa;
    transition: all 0.3s ease;
}

.reportarErros-file-type:hover {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.reportarErros-file-type i {
    color: #e2e8f0;
    font-size: 16px;
}

/* Container de preview com altura fixa */
.reportarErros-preview-container {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin-top: 15px;
    border: 2px dashed rgba(59, 130, 246, 0.3);
    flex-grow: 1;
    overflow: hidden;
}

/* Pré-visualização de vídeo */
.reportarErros-preview-video {
    max-width: 100%;
    max-height: 160px;
    border-radius: 8px;
    object-fit: contain;
}

.reportarErros-preview-image {
    max-width: 100%;
    max-height: 160px;
    border-radius: 8px;
    object-fit: contain;
}

/* Info de arquivo para tipos não visuais */
.file-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #ffffff;
    border-radius: 12px;
    height: 100%;
    border: 1px solid #60a5fa;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
    text-align: center;
}

.file-type-icon {
    font-size: 48px;
    color: #60a5fa;
    margin-bottom: 10px;
}

.file-info i {
    font-size: 48px;
    color: #60a5fa;
}

.file-info .file-name {
    font-size: 12px;
    opacity: 0.8;
    word-break: break-all;
}

/* Botão de remover arquivo */
.remove-file-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(30, 64, 175, 0.8);
    color: white;
    border: 2px solid #60a5fa;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.remove-file-btn:hover {
    background: #f59e0b;
    border-color: #fbbf24;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.reportarErros-upload-item:hover .remove-file-btn {
    display: flex;
}

/* Zona de upload com drag and drop */
.reportarErros-upload-zone {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    cursor: pointer;
}

.reportarErros-upload-zone.drag-over {
    background: rgba(59, 130, 246, 0.3) !important;
    border-color: #60a5fa !important;
    transform: scale(1.02);
}

/* Mensagens de erro com tema azul */
.reportarErros-upload-error {
    display: none;
    background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
    color: #ffffff !important;
    border: 1px solid #60a5fa;
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    border-left: 4px solid #fbbf24;
}

/* Container principal com tema escuro */
.reportarErros-form-section {
    background: rgba(30, 64, 175, 0.1);
    border: 1px solid #1e40af;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.reportarErros-form-section h3 {
    color: #60a5fa !important;
    border-bottom: 2px solid #1e40af;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Estilo para o container principal */
.reportarErros-ux {
    background: linear-gradient(135deg, #0f172a, #1e293b, #334155);
    min-height: 100vh;
    padding: 20px;
}

.reportarErros-container {
    background: rgba(30, 64, 175, 0.1);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Header com tema escuro */
.reportarErros-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    border-radius: 15px;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.reportarErros-header h1 {
    color: #ffffff !important;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.reportarErros-header p {
    color: #e2e8f0 !important;
    font-size: 18px;
    opacity: 0.9;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    #uploads-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .reportarErros-upload-item {
        flex: none;
        min-width: auto;
        max-width: 100%;
        padding: 15px;
    }
    
    .reportarErros-file-types {
        grid-template-columns: 1fr;
    }
    
    .reportarErros-add-attachment button {
        width: 100%;
        padding: 18px;
        font-size: 18px;
    }
    
    .file-info {
        padding: 15px;
        gap: 10px;
    }
    
    .file-info i {
        font-size: 24px;
    }
}

/* Responsividade para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .reportarErros-upload-item {
        max-width: 100%;
        min-width: 250px;
    }
    
    #uploads-container {
        gap: 15px;
    }
}
