html,
body {
    height: 100%;
    font-family: "Reddit Sans", sans-serif;
    background-color: transparent;
}

body {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    max-width: 100vw;
}

a {
    text-decoration: none !important;
}

main {
    flex: 1 0 auto;
}

.grow {
    transition: all .2s ease-in-out;
}

.grow:hover {
    transform: scale(1.04);
}

.grow2 {
    transition: all .2s ease-in-out;
}

.grow2:hover {
    transform: scale(1.019);
}

.bg-hover {
    background-color: #00000027;
}

.bg-transparente {
    background-color: #b8b8b85e;
}

.bg-verde {
    background-color: #0d8f2d;
}

.bg-verde2 {
    background-color: #197060;
}

.bg-verde3 {
    background-color: #28534e;
}

.bg-verde4 {
    background-color: #155c27;
}

.bg-secundario {
    background-color: #333333;
}

.bg-principal {
    background-color: #0d9571 !important;
}

.bg-principal2 {
    background-color: #074635 !important;
}

.bg-principal3 {
    background-color: #0b6e54 !important;
}

.bg-cinza-gradiente {
    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgb(228, 228, 228) 0%, rgb(255, 255, 255) 100%);
}

.bg-cinza {
    background-color: rgb(240, 240, 240);
}

.bg-cinza2 {
    background-color: rgb(235, 235, 235);
}

.bg-preto {
    background-color: #000000;
}

.bg-cinza1 {
    background-color: #cacaca;
}

.bg-cinza3 {
    background-color: #BCD2E1;
}

.bg-branco {
    background-color: #ffffff;
}

.bg-branco:hover {
    background-color: #ffffff00;
}

.bg-cinza4 {
    background-color: #dee1e4;
}

.bg-amarelo {
    background-color: #927420;
}

.text-principal {
    color: #0d9571;
}

.text-principal {
    color: #0d9571;
}

.text-verde {
    color: #0D9571;
}

.text-verde3 {
    color: #30755C;
}

.text-cinza {
    color: #6C757D;
}

.text-preto {
    color: #3E3E3F;
}

.text-red {
    color: #FF0000;
}

.custom-table thead {
    background-color: #2C4A44 !important;
    color: white !important;
}

.pdf {
    width: 100%;
    aspect-ratio: 4 / 3;
}


.logofapeu {
    flex: 0 1 auto;
}

.password-requirements {
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.borda_arredondada {
    border: 2px solid #ffffff;
    padding: 6px 20px;
    border-radius: 25px;
    display: inline-block;
}

.fapeu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    background-color: #0d9571;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid #0d9571;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(6, 85, 26, 0.2);
}

.fapeu-btn:hover {
    background-color: #0c8061;
    box-shadow: 0 8px 20px rgba(6, 85, 26, 0.3);
    color: #ffffff;
}

.fapeu-btn:active {
    transform: translateY(4px);
    box-shadow: 0 4px 8px rgba(6, 85, 26, 0.3);
    background-color: #0c8061;
}

.conheca-fapeu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    background-color: #0d9571;
    color: #ffffff;
    font-weight: 600;
    font-size: 2em;
    border-radius: 8px;
    border: 2px solid #cfcfcf;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(6, 85, 26, 0.2);
}

.conheca-fapeu-btn:hover {
    background-color: #0c8061;
    box-shadow: 0 8px 20px rgba(6, 85, 26, 0.3);
    color: #ffffff;
    border: 2px solid #cfcfcf;
}

.conheca-fapeu-btn:active {
    transform: translateY(4px);
    background-color: #0c8061;
    color: #ffffff !important;
    border: 2px solid #cfcfcf;
}

.conheca-fapeu-btn:focus {
    color: #ffffff !important;
}

.font-avantgarde {
    font-family: 'AvantGarde', sans-serif;
}

.font-avantgarde-bold {
    font-family: 'AvantGarde', sans-serif;
    font-weight: bold;
}

.font-montserrat {
    font-family: "Montserrat", sans-serif;
}

.font-montserratbold {
    font-family: "Montserrat", sans-serif;
    font-weight: bolder;
}

.link-hover {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.link-hover:hover {
    transform: translateY(-10px);
}

.initial-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.initial-animation.show-card {
    opacity: 1;
    transform: translateY(0);
}

.table-disponibilidade td {
    vertical-align: middle;
    text-align: center;
}

.badge-disponivel {
    font-size: 0.9rem;
    padding: 0.35em 0.65em;
}

.btn:disabled:hover {
    cursor: not-allowed;
}

.needs-validation .form-control:invalid,
.needs-validation .form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.campos-condicionais {
    margin-top: 1rem;
    padding: 1.25rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0d9571;
}

.form-check-input {
    width: 1.2em;
    height: 1.2em;
    cursor: pointer;
}

.form-check-input:focus {
    box-shadow: 2px 2px 6px rgba(109, 109, 109, 0.1);
}

.form-check-input:checked {
    background-color: #0d9571;
    border-color: #0d9571;
    box-shadow: 2px 2px 6px rgba(109, 109, 109, 0.3);
}

.form-check-label {
    cursor: pointer;
    user-select: none;
}

.projeto-field,
.funcionario-field {
    transition: all 0.3s ease;
}

.btn-group .btn {
    padding: 0.375rem 0.75rem;
}

.bg-tarde {
    background-color: #20793d;
}

.bg-manha {
    background-color: #2980b9;
}

.bg-diatodo {
    background-color: #8e44ad;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    width: 280px;
    overflow-y: auto;
}

@media (max-width: 991.98px) {
    .sidebar {
        display: none !important;
    }
}

.col-md-9.ms-sm-auto.col-lg-10 {
    margin-left: 280px;
    padding-top: 48px;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.75rem 1rem;
}

.sidebar .nav-link .bi {
    margin-right: 0.5rem;
}

.sidebar .nav-link.active {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
    border-right: 3px solid #007bff;
}

.sidebar .nav-link:hover {
    color: #0056b3;
    background-color: rgba(0, 0, 0, 0.05);
}

.sidebar-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
}

.login-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.btn-principal {
    background-color: #0d9571;
    border-color: #0d9571;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-principal2 {
    background-color: #40695e;
    border-color: #40695e;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-principal:hover {
    background-color: #0c8061;
    border-color: #0c8061;
    color: white;
    box-shadow: 0 4px 12px rgba(13, 149, 113, 0.3);
}

.btn-principal2:hover {
    background-color: #053d2e;
    border-color: #053d2e;
    color: white;
    box-shadow: 0 4px 12px rgba(13, 149, 113, 0.3);
}

.btn-outline-principal {
    color: #0d9571;
    border-color: #0d9571;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-principal:hover {
    background-color: #0d9571;
    border-color: #0d9571;
    color: white;
}

.form-control:focus {
    border-color: #0d9571;
    box-shadow: 0 0 0 0.2rem rgba(13, 149, 113, 0.25);
}

.input-group .btn-outline-secondary {
    border-color: #ced4da;
}

.input-group .btn-outline-secondary:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
    color: #495057;
}

.alert {
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-label {
    color: #495057;
    margin-bottom: 0.75rem;
}

.form-control-lg {
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
}

.status-pendente {
    background-color: #ffc107;
    color: #212529;
}

.status-processada {
    background-color: #198754;
    color: white;
}

.status-rejeitada {
    background-color: #dc3545;
    color: white;
}

.doc-nota-fiscal {
    background-color: #0d6efd;
    color: white;
}

.doc-recibo {
    background-color: #6f42c1;
    color: white;
}

.doc-boleto {
    background-color: #fd7e14;
    color: white;
}

.table-notas-fiscais th {
    background-color: #0d9571;
    color: white;
    font-weight: 600;
}

.table-notas-fiscais tr:hover {
    background-color: #f8f9fa;
}

.modal-anexar-nf .modal-header {
    background: linear-gradient(45deg, #0d9571, #0c8061);
}

.modal-anexar-nf .form-control:focus {
    border-color: #0d9571;
    box-shadow: 0 0 0 0.2rem rgba(13, 149, 113, 0.25);
}

.btn-anexar-nf {
    background-color: #0d9571;
    border-color: #0d9571;
    color: white;
    transition: all 0.3s ease;
}

.btn-anexar-nf:hover {
    background-color: #0c8061;
    border-color: #0c8061;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 149, 113, 0.3);
}

.btn-download-nf {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
}

.btn-download-nf:hover {
    background-color: #138496;
    border-color: #117a8b;
    color: white;
}

.card-info-pedido {
    border-left: 4px solid #0d9571;
    background-color: #f8f9fa;
}

.card-info-pedido .card-title {
    color: #0d9571;
    font-weight: 600;
}

.spinner-custom {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0d9571;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.alert-nota-fiscal {
    border-left: 4px solid #0d9571;
    background-color: rgba(13, 149, 113, 0.1);
    border-color: rgba(13, 149, 113, 0.2);
}

.bg-roxo {
    background-color: #6f42c1 !important;
}

.text-roxo {
    color: #6f42c1 !important;
}

.btn-anexar-documentos {
    background-color: #0d9571;
    border-color: #0d9571;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-anexar-documentos:hover {
    background-color: #0c8061;
    border-color: #0c8061;
    color: white;
    box-shadow: 0 4px 12px rgba(13, 149, 113, 0.3);
}

.btn-anexar-documentos:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 149, 113, 0.25);
}

.btn-anexar-documentos:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    opacity: 0.65;
}

.modal-anexar-docs .modal-header {
    background: linear-gradient(45deg, #0d9571, #0c8061) !important;
}

.modal-anexar-docs .form-control:focus {
    border-color: #0d9571;
    box-shadow: 0 0 0 0.2rem rgba(13, 149, 113, 0.25);
}

.modal-anexar-docs .form-select:focus {
    border-color: #0d9571;
    box-shadow: 0 0 0 0.2rem rgba(13, 149, 113, 0.25);
}

.status-documentos .badge {
    font-size: 0.75rem;
    margin-right: 2px;
}

.card-documento {
    border-left: 4px solid #0d9571;
    transition: all 0.3s ease;
}

.card-documento:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.table-documentos th {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

.table-documentos tbody tr:hover {
    background-color: rgba(13, 149, 113, 0.05);
}

.badge-nota-fiscal {
    background-color: #198754;
}

.badge-boleto {
    background-color: #0d6efd;
}

.badge-processado {
    background-color: #198754;
}

.badge-aguardando {
    background-color: #ffc107;
    color: #212529;
}

.alert-documento {
    border-left: 4px solid #0d9571;
    background-color: rgba(13, 149, 113, 0.05);
    border-color: rgba(13, 149, 113, 0.2);
}


.btn:disabled.btn-success {
    background-color: #198754;
    border-color: #198754;
    opacity: 0.8;
}

.btn-documentos-anexados {
    background-color: #dbffe3 !important;
    border-color: #28a745 !important;
    color: #08240e !important;
    cursor: not-allowed !important;
    opacity: 0.8 !important;
    min-width: 220px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
}

.btn-documentos-anexados:hover {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}

.btn-anexar-doc {
    min-width: 220px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
}

.documento-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.documento-status i {
    font-size: 0.875rem;
}

.card-documento-unico {
    border-left: 4px solid #0d9571;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.card-documento-unico:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.documento-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
}

.documento-detalhes {
    flex-grow: 1;
}

.documento-acoes {
    display: flex;
    gap: 0.5rem;
}

.badge-documento-completo {
    background-color: #198754;
    color: white;
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
}

.badge-documento-parcial {
    background-color: #fd7e14;
    color: white;
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
}

.alert-documento-completo {
    border-left: 4px solid #198754;
    background-color: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
}

.alert-documento-parcial {
    border-left: 4px solid #fd7e14;
    background-color: rgba(253, 126, 20, 0.1);
    border-color: rgba(253, 126, 20, 0.2);
}

.icone-nf {
    color: #0d6efd;
}

.icone-boleto {
    color: #fd7e14;
}

.icone-completo {
    color: #198754;
}

@media (max-width: 768px) {
    .documento-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .documento-acoes {
        width: 100%;
        justify-content: flex-end;
    }

    .btn-documentos-anexados {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

.drop-zone {
    border: 2px dashed #0d9571;
    border-radius: 8px;
    background-color: rgba(13, 149, 113, 0.05);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.drop-zone:hover {
    background-color: rgba(13, 149, 113, 0.1);
    border-color: #0c8061;
}

.drop-zone.dragover {
    background-color: rgba(13, 149, 113, 0.15);
    border-color: #0c8061;
    border-style: solid;
}

.progress-documento {
    height: 8px;
    background-color: rgba(13, 149, 113, 0.1);
}

.progress-documento .progress-bar {
    background-color: #0d9571;
}

@media (max-width: 768px) {
    .modal-anexar-docs .modal-dialog {
        margin: 1rem;
    }

    .btn-anexar-documentos {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }

    .table-documentos {
        font-size: 0.875rem;
    }

    .badge {
        font-size: 0.65rem;
    }
}

.status-pendente-liberacao {
    background-color: #af002c !important;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-pendente-pagamento {
    background-color: #17a2b8 !important;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-pagamento-realizado {
    background-color: #28a745 !important;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-devolvido {
    background-color: #dc3545 !important;
    color: #fff !important;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-cancelado {
    background-color: #6c757d !important;
    color: #fff !important;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-aguardando-atesto {
    background-color: #a77d00 !important;
    color: #fff !important;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pesquisa-tab {
    font-weight: 500;
    color: #0d9571;
    transition: all 0.3s ease;
}

.pesquisa-tab:hover {
    background-color: rgba(13, 149, 113, 0.1);
    color: #0b8061;
}

.pesquisa-tab.active {
    background-color: #4c7268 !important;
    color: white !important;
    font-weight: 600;
}

.pesquisa-row {
    transition: all 0.3s ease;
}

.pesquisa-row:hover {
    background-color: rgba(13, 149, 113, 0.05);
}

.status-badge-respondida {
    background-color: #28a745;
    color: white;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge-expirada {
    background-color: #6c757d;
    color: white;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.error-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 350px;
    max-width: 500px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 9999;
    animation: slideInRight 0.4s ease-out;
    border-left: 5px solid #dc3545;
}

.error-toast.success {
    border-left-color: #28a745;
}

.error-toast.warning {
    border-left-color: #ffc107;
}

.error-toast.info {
    border-left-color: #17a2b8;
}

.error-toast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.error-toast-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.error-toast-icon {
    font-size: 1.5rem;
}

.error-toast-icon.error {
    color: #dc3545;
}

.error-toast-icon.success {
    color: #28a745;
}

.error-toast-icon.warning {
    color: #ffc107;
}

.error-toast-icon.info {
    color: #17a2b8;
}

.error-toast-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.error-toast-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.error-toast-message {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.error-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: #dc3545;
    border-radius: 0 0 0 12px;
    animation: progressBar 5s linear;
}

.error-toast.success .error-toast-progress {
    background-color: #28a745;
}

.error-toast.warning .error-toast-progress {
    background-color: #ffc107;
}

.error-toast.info .error-toast-progress {
    background-color: #17a2b8;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

@keyframes progressBar {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

.error-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d9571 0%, #074635 100%);
    padding: 20px;
}

.error-page-content {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 60px 40px;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.error-page-code {
    font-size: 8rem;
    font-weight: 800;
    color: #0d9571;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.error-page-message {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.error-page-icon {
    font-size: 5rem;
    color: #0d9571;
    margin-bottom: 30px;
    opacity: 0.8;
}

.error-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background-color: #0d9571;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(13, 149, 113, 0.3);
}

.error-page-btn:hover {
    background-color: #0c8061;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 149, 113, 0.4);
    color: #ffffff;
}

@media (max-width: 768px) {
    .error-toast {
        min-width: 300px;
        max-width: calc(100vw - 40px);
        top: 10px;
        right: 10px;
    }

    .error-page-code {
        font-size: 5rem;
    }

    .error-page-title {
        font-size: 1.5rem;
    }

    .error-page-message {
        font-size: 1rem;
    }

    .error-page-content {
        padding: 40px 25px;
    }
}

.cpfcnpj-validation-indicator {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    z-index: 10;
    transition: all 0.3s ease;
}

.cpfcnpj-validation-indicator.checking {
    background-color: #e3f2fd;
    color: #1976d2;
}

.cpfcnpj-validation-indicator.available {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.cpfcnpj-validation-indicator.registered {
    background-color: #fff3e0;
    color: #e65100;
}

.cpfcnpj-validation-indicator.error {
    background-color: #ffebee;
    color: #c62828;
}

.validation-icon-loading {
    font-size: 1.1rem;
    color: #1976d2;
}

.validation-icon-success {
    font-size: 1.1rem;
    color: #2e7d32;
}

.validation-icon-error {
    font-size: 1.1rem;
    color: #e65100;
}

input.validating {
    border-color: #1976d2 !important;
    background-color: #f5f9ff;
}

input.valid {
    border-color: #2e7d32 !important;
    background-color: #f1f8f4;
}

input.invalid {
    border-color: #e65100 !important;
    background-color: #fff8f5;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.cpfcnpj-validation-indicator {
    animation: fadeInRight 0.3s ease-out;
}

@media (max-width: 768px) {
    .cpfcnpj-validation-indicator {
        font-size: 0.8rem;
        padding: 5px 10px;
        right: 10px;
    }

    .validation-icon-loading,
    .validation-icon-success,
    .validation-icon-error {
        font-size: 1rem;
    }
}

.cpfcnpj-already-registered-popup {
    border-radius: 16px !important;
}

.cpfcnpj-already-registered-popup .swal2-icon.swal2-warning {
    border-color: #ffa726 !important;
    color: #ffa726 !important;
}

.cpfcnpj-already-registered-popup .swal2-title {
    color: #333;
    font-weight: 700;
}

.form-group:has(#CPFCNPJ) {
    position: relative;
}

#CPFCNPJ {
    padding-right: 160px !important;
}

.dynamic-gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(90deg, rgba(47, 110, 82, 1) 0%, rgba(24, 140, 109, 1) 12%, rgba(33, 145, 112, 1) 26%, rgba(47, 168, 112, 1) 57%, rgba(65, 150, 113, 1) 75%, rgba(43, 140, 113, 1) 91%, rgba(3, 115, 72, 1) 100%);
    background-size: 400% 400%;
    animation: gradientShift 22s ease infinite;
    pointer-events: none;
    overflow: hidden;
}

/* .dynamic-gradient-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 119, 73, 0.329) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s linear infinite;
    pointer-events: none;
} */

.dynamic-gradient-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 63, 7, 0.3) 100%);
    pointer-events: none;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-20px, -20px);
    }

    50% {
        transform: translate(-40px, 0);
    }

    75% {
        transform: translate(-20px, 20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    pointer-events: none;
    transition: all 0.3s ease-out;
}

/* .blob-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13, 149, 113, 0.5), transparent);
    animation: blobMove1 20s ease-in-out infinite;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(10, 110, 84, 0.5), transparent);
    animation: blobMove2 15s ease-in-out infinite;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(5, 61, 46, 0.5), transparent);
    animation: blobMove3 18s ease-in-out infinite;
} */

@keyframes blobMove1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, -100px) scale(1.1);
    }

    66% {
        transform: translate(-100px, 100px) scale(0.9);
    }
}

@keyframes blobMove2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-100px, 100px) scale(0.9);
    }

    66% {
        transform: translate(100px, -100px) scale(1.1);
    }
}

@keyframes blobMove3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(150px, 50px) scale(1.05);
    }

    66% {
        transform: translate(-150px, -50px) scale(0.95);
    }
}

.dynamic-gradient-bg.mouse-active::before {
    animation: floatInteractive 1s ease-out;
}

@keyframes floatInteractive {
    0% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 0.1;
    }
}

.table-pedido-itens {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.table-pedido-itens thead th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 12px;
    border: none;
    white-space: nowrap;
}

.table-pedido-itens thead th:first-child {
    border-radius: 8px 0 0 0;
}

.table-pedido-itens thead th:last-child {
    border-radius: 0 8px 0 0;
}

.table-pedido-itens tbody td {
    padding: 12px;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    background-color: #fff;
}

.table-pedido-itens tbody tr:last-child td {
    border-bottom: none;
}

.table-pedido-itens tbody tr:hover td {
    background-color: #f8faf9;
}

.table-pedido-itens tfoot td {
    background-color: #f1f5f4;
    font-weight: 600;
    padding: 14px 12px;
}

/* Larguras fixas para colunas da tabela de itens */
.table-pedido-itens .col-item {
    width: 60px;
    text-align: center;
}

.table-pedido-itens .col-quant {
    width: 70px;
    text-align: center;
}

.table-pedido-itens .col-und {
    width: 60px;
    text-align: center;
}

.table-pedido-itens .col-descricao {
    min-width: 250px;
}

.table-pedido-itens .col-valor {
    width: 120px;
    text-align: right;
}

.table-pedido-itens .col-ipi {
    width: 70px;
    text-align: center;
}

.table-pedido-itens .col-desc {
    width: 100px;
    text-align: right;
}

.table-pedido-itens .col-total {
    width: 130px;
    text-align: right;
}

.table-documentos-modal {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.table-documentos-modal thead th {
    background-color: #0d9571;
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 10px;
    border: none;
    white-space: nowrap;
}

.table-documentos-modal thead th:first-child {
    border-radius: 8px 0 0 0;
}

.table-documentos-modal thead th:last-child {
    border-radius: 0 8px 0 0;
}

.table-documentos-modal tbody td {
    padding: 10px;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.875rem;
    background-color: #fff;
}

.table-documentos-modal tbody tr:last-child td {
    border-bottom: none;
}

.table-documentos-modal tbody tr:hover td {
    background-color: #f0fdf8;
}

.table-documentos-modal .col-tipo {
    width: 140px;
}

.table-documentos-modal .col-arquivo {
    min-width: 200px;
}

.table-documentos-modal .col-vencimento {
    width: 130px;
    text-align: center;
}

.table-documentos-modal .col-tamanho {
    width: 100px;
    text-align: center;
}

.table-documentos-modal .col-acoes {
    width: 80px;
    text-align: center;
}

.table-info-moderna {
    width: 100%;
}

.table-info-moderna td {
    padding: 10px 0;
    vertical-align: top;
    border: none;
}

.table-info-moderna td:first-child {
    width: 180px;
    color: #495057;
    font-weight: 600;
    font-size: 0.875rem;
}

.table-info-moderna td:last-child {
    color: #212529;
    font-size: 0.9rem;
}

.table-info-moderna tr:not(:last-child) td {
    border-bottom: 1px solid #f0f0f0;
}

.badge-tipo-doc {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-tipo-doc.nota-fiscal {
    background-color: #e3f2fd;
    color: #1565c0;
}

.badge-tipo-doc.boleto {
    background-color: #fff3e0;
    color: #e65100;
}

.badge-tipo-doc.simples-nacional {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.table-empty-row td {
    padding: 30px !important;
    text-align: center;
    color: #6c757d;
    font-style: italic;
    background-color: #fafafa !important;
}

@media (max-width: 992px) {

    .table-pedido-itens thead th,
    .table-pedido-itens tbody td,
    .table-pedido-itens tfoot td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }

    .table-pedido-itens .col-descricao {
        min-width: 150px;
    }
}

@media (max-width: 768px) {

    .table-pedido-itens,
    .table-documentos-modal {
        font-size: 0.75rem;
    }

    .table-pedido-itens thead th,
    .table-documentos-modal thead th {
        font-size: 0.7rem;
        padding: 8px 6px;
    }

    .table-pedido-itens tbody td,
    .table-documentos-modal tbody td {
        padding: 8px 6px;
    }
}