html {
    font-size: 0.8rem;
}

@media (max-width: 400px) {
    html {
        font-size: 0.65rem;
    }
}

@media (max-width: 360px) {
    html {
        font-size: 0.7rem;
    }
    .btn {
        height: 30px;
        line-height: 25px;
        font-size: 0.8rem;
    }
}

@media (min-width: 360px) and (max-width: 480px) {
    html {
        font-size: 0.75rem;
    }
    .btn {
        height: 30px;
        line-height: 25px;
        font-size: 0.9rem;
    }
}

@media (min-width: 480px) and (max-width: 600px) {
    html {
        font-size: 0.75rem;
    }
    .btn {
        height: 30px;
        line-height: 25px;
        font-size: 0.9rem;
    }
}

@media (min-width: 600px) and (max-width: 1980px) {
    html {
        font-size: 0.73rem !important;
    }
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    overflow-x: hidden !important;
}

main {
    flex: 1 0 auto;
}

#container {
    padding-left: 300px;
}

#contentAAAA {
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
}

@media only screen and (max-width: 992px) {
    #container {
        padding-left: 0;
    }
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #000 !important;
}

.modal {
    width: 35%;
}

@media only screen and (min-width: 993px) and (max-width: 1400px) {
    .modal {
        width: 35%;
    }
}

@media only screen and (max-width: 992px) {
    .modal {
        width: 80%;
    }
}

.btn i {
    font-size: 1.5rem !important;
    line-height: inherit !important;
}

.btn i.left {
    margin-right: 8px !important;
}

.btn i.right {
    margin-left: 8px !important;
}

.material-icons.md-12 { font-size: 12px; }
.material-icons.md-14 { font-size: 14px; }
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-20 { font-size: 20px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-28 { font-size: 28px; }
.material-icons.md-32 { font-size: 32px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

.material-icons.black { color: #000000; }
.material-icons.green-darken-4 { color: #1b5e20; }
.material-icons.green-lighten-4 { color: #c8e6c9; }
.material-icons.red-darken-4 { color: #b71c1c; }
.material-icons.grey-lighten-3 { color: #eeeeee; }
.material-icons.yellow-accent-4 { color: #ffd600; }
.material-icons.yellow-darken-4 { color: #f57f17; }
.material-icons.orange-darken-4 { color: #e65100; }
.material-icons.amber-darken-4 { color: #ff6f00; }
.material-icons.amber-accent-3 { color: #ffc400; }
.material-icons.blue-darken-2 { color: #1976d2; }
.material-icons.blue-lighten-4 { color: #bbdefb; }
.material-icons.purple-darken-1 { color: #8e24aa; }
.material-icons.red-darken-1 { color: #e53935; }
.material-icons.blue-grey-darken-1 { color: #546e7a; }

.mb-n4 {
    margin-bottom: -15px;
}

.row.form-row {
    margin-bottom: 0;
}

.row.form-row .input-field {
    margin-bottom: 8px;
    margin-top: 8px;
}

.mb-4 {
    margin-bottom: 15px;
}

.pagination li {
    border: 1px solid #dee2e6;
    margin-left: -2px;
    margin-right: -2px;
    border-radius: 0;
}

.pagination li.active {
    border: 1px solid var(--app-menu-color-soft, #90caf9);
    margin-left: -1px;
    margin-right: -1px;
}

.progress {
    background-color: var(--app-menu-color-extra-soft, #e3f2fd);
}

.progress .determinate,
.progress .indeterminate {
    background-color: var(--app-menu-color, #1976d2);
}

[type="radio"]:checked + span:after,
[type="radio"].with-gap:checked + span:before,
[type="radio"].with-gap:checked + span:after {
    border: 2px solid var(--app-menu-color, #1976d2);
}

[type="radio"]:checked + span:after,
[type="radio"].with-gap:checked + span:after {
    background-color: var(--app-menu-color, #1976d2);
}

.switch label input[type=checkbox]:checked + .lever {
    background-color: var(--app-menu-color-soft, #90caf9);
}

.switch label input[type=checkbox]:checked + .lever:after {
    background-color: var(--app-menu-color, #1976d2);
}

ul.dropdown-content.select-dropdown li span,
.select-dropdown li > span,
.is-today {
    color: var(--app-menu-color, #1976d2) !important;
}

.datepicker-date-display {
    background-color: var(--app-menu-color, #1976d2);
}

.datepicker-day-button:focus {
    color: white !important;
    background-color: #a2b0b6;
}

.datepicker-done,
.datepicker-cancel {
    color: var(--app-menu-color, #1976d2) !important;
}

td.is-selected,
.month-prev:active,
.month-prev:focus,
.month-next:active,
.month-next:focus {
    background-color: var(--app-menu-color, #1976d2) !important;
}

td.is-selected.is-today {
    color: white !important;
}

.timepicker-digital-display {
    background-color: var(--app-menu-color, #1976d2);
}

.timepicker-close {
    color: var(--app-menu-color, #1976d2);
}

.timepicker-canvas-bg,
.timepicker-canvas-bearing {
    fill: var(--app-menu-color, #1976d2) !important;
}

.timepicker-canvas line {
    stroke: var(--app-menu-color, #1976d2);
}

.timepicker-tick:hover {
    background-color: #a2b0b6;
}

[type="checkbox"] + span:not(.lever):before,
[type="checkbox"]:not(.filled-in) + span:not(.lever):after {
    border: 2px solid var(--app-menu-color, #1976d2);
}

[type="checkbox"].filled-in:not(:checked) + span:not(.lever):after {
    background-color: transparent;
    border: 2px solid var(--app-menu-color, #1976d2);
}

[type="checkbox"].filled-in:not(:checked) + label:after {
    border: 2px solid var(--app-menu-color, #1976d2) !important;
}

[type="checkbox"].filled-in:checked + span:not(.lever):after {
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--app-menu-color, #1976d2);
    background-color: var(--app-menu-color, #1976d2);
    z-index: 0;
}

[type="checkbox"]:checked + span:not(.lever):before {
    border-right: 2px solid var(--app-menu-color, #1976d2);
    border-bottom: 2px solid var(--app-menu-color, #1976d2);
}

.btn-largeN i {
    font-size: 2.2rem;
}

.listaAutocomplete {
    background-color: transparent;
    margin: 0.9rem 2rem 1rem 0;
    display: none;
    transform: scaleX(1) scaleY(1);
    min-width: 100px;
    opacity: 1;
    overflow-y: auto;
    position: absolute;
    left: 10px;
    z-index: 3;
    transform-origin: 0 0;
    margin-left: 3rem;
    width: calc(100% - 4.6rem);
}

i.right {
    margin-left: 0;
}

#toast-container {
    min-width: 10%;
    top: 75%;
    right: 50%;
    transform: translateX(50%) translateY(50%);
}

label {
    font-size: 1rem;
}

.card {
    border-radius: 8px;
}

.highlight {
    animation: highlight 1s ease-in-out 3;
}

@keyframes highlight {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.texto-cortar {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/*
|--------------------------------------------------------------------------
| Loader inline padrão VoIP
|--------------------------------------------------------------------------
| Usado nas tabs, nas informações VoIP e no gráfico para evitar modal de
| aguarde durante carregamentos AJAX. Sem card, apenas três bolinhas e texto.
|--------------------------------------------------------------------------
*/
.voip-inline-loader {
  width: 100%;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 12px;
  text-align: center;
}

.voip-inline-loader.compacto {
  min-height: 70px;
  padding: 14px 8px;
}

.voip-inline-loader-card {
  width: auto;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.voip-inline-loader-texto {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #616161;
  font-weight: 600;
}

.voip-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 18px;
}

.voip-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00695c;
  display: inline-block;
  animation: voipDots 1s infinite ease-in-out both;
}

.voip-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.voip-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

.voip-dots span:nth-child(3) {
  animation-delay: 0s;
}

@keyframes voipDots {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.45;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==========================================================================
   DataTable - Gestão de Contas / Extrato Telefônico
   ========================================================================== */


/* Badges do filtro CDR */
.filtro-badge2 {
  border: 1px solid transparent !important;
  box-sizing: border-box !important;
  transition: all 0.15s ease-in-out;
  user-select: none;
}

.filtro-badge2:hover {
  transform: translateY(-1px);
}

.filtro-badge2.ativo {
  border: 1px solid #0288d1 !important;
}

.tabela-padrao table.dataTable {
	font-size: 12px;
}

.tabela-padrao table.dataTable thead th,
.tabela-padrao table.dataTable tbody td,
.tabela-padrao table.dataTable tfoot td,
.tabela-padrao table.dataTable tfoot th {
	font-size: 12px;
}

.tabela-padrao .dataTables_wrapper {
	font-size: 12px;
}

.tabela-padrao .dataTables_filter input,
.tabela-padrao .dataTables_length select {
	font-size: 12px;
}

.tabela-padrao .dataTables_filter input[type="search"] {
	border: 0 !important;
	border-bottom: 1px solid #bdbdbd !important;
	border-radius: 0 !important;
	box-shadow: none !important;

	height: 2rem !important;
	line-height: 2rem !important;

	margin: 0 0 0 8px !important;
	padding: 0 !important;

	font-size: 12px !important;
	background: transparent !important;
}

.tabela-padrao .dataTables_filter input[type="search"]:focus {
	border-bottom: 1px solid #26a69a !important;
	box-shadow: 0 1px 0 0 #26a69a !important;
}

.tabela-padrao .dataTables_length select {
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: auto !important;
	height: 32px !important;
	margin: 0 6px !important;
	padding: 2px 6px !important;
	border: 1px solid #aaa !important;
	background: #fff !important;
}





/* Estilo do loader */
.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

/* Animação de rotação */
@keyframes spin {
  0% { 
    transform: rotate(0deg); 
  }
  100% { 
    transform: rotate(360deg); 
  }
}


/* Botoes Modal */
/* Botões dos Modais */
.modal .modal-footer {
	display: flex !important;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	height: auto !important;
	padding: 12px 16px !important;
}

.modal .modal-footer .btn,
.modal .modal-footer .btn-flat {
	float: none !important;
	margin: 0 !important;
	height: 36px !important;
	line-height: 36px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 18px !important;
}

@media (max-width: 600px) {
	.modal .modal-footer {
		justify-content: center;
		flex-wrap: wrap;
	}

	.modal .modal-footer .btn,
	.modal .modal-footer .btn-flat {
		min-width: 120px;
	}
}
	
	
/* CSS para quebra correta de checkbox nova linha*/
@media (max-width: 600px) {

    .checkbox-col {
        margin-top: -10px;
        margin-bottom: 10px;
        padding-left: 44px !important;
    }

}

    .checkbox2-col {
		margin-top: -10px;
        padding-left: 44px !important;
		margin-bottom: 10px;
    }
	
/* CSS para quebra correta de checkbox nova linha*/
@media (max-width: 600px) {

    .checkbox2-col {
        margin-top: -20px;
        margin-bottom: 30px;
        padding-left: 44px !important;
    }

}
	
	