.loading-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.6;
    background-color: #435ebe;
    z-index: 999;
}

.loading-page .loading-content {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: column;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader > div {
    animation: is-rotating 1s infinite;
    animation-duration: 1.2s;
    animation-delay: 0;
    border: 4px solid #e5e5e5;
    border-radius: 50%;
    border-top-color: blue;
    height: 35px;
    width: 35px;
}

@keyframes is-rotating {
    to {
        transform: rotate(2turn);
    }
}

/**
 * LOADING SWEETALERT2
 */
.swal2-loading {
    padding-bottom: 20px !important;
}

*:focus, *:active {
    outline: 0 !important;
}

.sweet-alert button.confirm {
    outline: none !important;
}

/**
 * ESTILOS PARA MENSAGENS DE ALERTA
 */
.alert {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 1rem !important;
}

.alert-success {
    background-color: #d1e7dd !important;
    border-color: #badbcc !important;
    color: #0f5132 !important;
}

.alert-danger {
    background-color: #f8d7da !important;
    border-color: #f5c2c7 !important;
    color: #842029 !important;
}

.alert-warning {
    background-color: #fff3cd !important;
    border-color: #ffecb5 !important;
    color: #664d03 !important;
}

.alert-info {
    background-color: #cff4fc !important;
    border-color: #b6effb !important;
    color: #055160 !important;
}

.alert .btn-close {
    opacity: 0.5;
}

.alert .btn-close:hover {
    opacity: 1;
}

.table-responsive {
    min-height: 500px;
}

.table-responsive .table {
    width: 99% !important;
}

.custom-file-input {
    color: transparent;
}

  .custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
}
.custom-file-input::before {
    content: 'Select some files';
    color: black;
    display: inline-block;
    background: #435EBE;
    border: 1px solid #999;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    text-shadow: 1px 1px #fff;
    font-weight: 700;
    font-size: 10pt;
  }
  .custom-file-input:hover::before {
    border-color: black;
  }
  .custom-file-input:active {
    outline: 0;
  }
  .custom-file-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
  }

.boder-dashed {
    border-style: dashed !important;
}

.dropdown-menu {
    --bs-dropdown-min-width: 0rem !important;
}

.table-condensed td > span {
    border: 1px solid rgb(229, 237, 244) !important
}

#save-floating {
    bottom:3%;
    right:2%;
    z-index: 1000;
}

.sidebar-view {
    margin-top: -1rem;
}

#datatableMenu {
    position: absolute;
    z-index: 1000000;
}

.icon-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.icon-gradient-nfe {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.icon-gradient-nfce {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.icon-gradient-customers {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.icon-gradient-products {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.icon-gradient-xml {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.icon-gradient-fiscal {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.icon-gradient-users {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.btn-outline-secondary:hover .icon-gradient,
.btn-outline-secondary:hover .icon-gradient-nfe,
.btn-outline-secondary:hover .icon-gradient-nfce,
.btn-outline-secondary:hover .icon-gradient-customers,
.btn-outline-secondary:hover .icon-gradient-products,
.btn-outline-secondary:hover .icon-gradient-xml,
.btn-outline-secondary:hover .icon-gradient-fiscal,
.btn-outline-secondary:hover .icon-gradient-users {
    filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.2));
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.bg-inutilizado {
    --bs-bg-opacity: 1;
    background-color: rgb(160 6 6) !important
}

.bg-pendente-de-envio {
    --bs-bg-opacity: 1;
    background-color:rgb(201, 181, 53) !important
}
