/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 9 de fev. de 2026, 08:44:13
    Author     : ferna
*/


/****************************** Container do switch   ********************/
.switch-text {
  display: inline-flex;
  align-items: center;
  padding-left: 0; /* Remove o padding padrão do BS5 */
  margin: 0;
}

.switch-text .form-check-input {
  width: 130px; /* Aumentei um pouco para não cortar textos longos */
  height: 32px;
  margin-left: 0; /* Correção: Remove o deslocamento para a esquerda */
  float: none;    /* Correção: Remove o float padrão */
  cursor: pointer;
  background-image: none !important;
  position: relative;
  background-color: #198754 !important; /* success  */
  border: none;
  border-radius: 20px; /* Deixa as bordas arredondadas */
}

/* Bolinha branca (Toggle) */
.switch-text .form-check-input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 26px;
  height: 26px;
  background-color: #fff;
  border-radius: 50%;
  transition: all 0.2s ease-in-out;
  z-index: 2;
}

/* Texto interno */
.switch-text .form-check-input::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  z-index: 1;
  width: 100%;
  text-align: center;
}

/* Texto quando DESLIGADO */
.switch-text .form-check-input:not(:checked)::before {
  content: "Liga Mic";
  padding-left: 25px; /* Empurra o texto para a direita da bolinha */
}

/* Estado LIGADO (Danger) */
.switch-text .form-check-input:checked {
  background-color:   #dc3545 !important; 
}

.switch-text .form-check-input:checked::after {
  left: 100px; /* Move a bolinha para a direita conforme a largura do input */
}

/* Texto quando LIGADO */
.switch-text .form-check-input:checked::before {
  content: "Desliga Mic";
  padding-right: 25px; /* Empurra o texto para a esquerda da bolinha */
}


/* =========================
   PDF / ARQUIVOS
   ========================= */

.pdf-list {
    list-style: none;
    padding: 0;
}

.pdf-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px;
    background-color: #f8f9fa;
    margin-bottom: 5px;
    margin-left: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;   
    width: 100%;
}

.pdf-icon {
    color: red;
    font-size: 24px;
}