﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #3E97FF;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}


.r2j-datepicker {
}

.mask-money {
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Adjust the alpha (fourth value) to change opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    border: 8px solid #f3f3f3; /* Light gray border */
    border-top: 8px solid #3498db; /* Blue border */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.link-style-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit; 
    text-decoration: none;
    cursor: pointer;
    display: flex; 
    align-items: center;
    width: 100%;
    text-align: left;
}

.link-style-button:hover {
    opacity: 0.9;
}

.link-style-button .bx {
    margin-right: 8px; 
}

/* Estilo para tabelas com colunas de largura igual */
.table-equal-cols {
    width: 100%;
    table-layout: fixed;
}

/* Para evitar que textos muito longos quebrem o layout */
.table-equal-cols th,
.table-equal-cols td {
    overflow: hidden; /* Esconde o que não couber */
    text-overflow: ellipsis; /* Adiciona "..." ao final */
    white-space: nowrap; /* Impede a quebra de linha */
}

.bg-custom-secondary {
    background-color: #F5F6FA !important;
}

/* Define o fundo da ÁREA DE DIGITAÇÃO para brancopara os campos de texto do Summernote. */
.note-editable {
    background-color: #FFFFFF !important;
}

.note-toolbar {
    background-color: #f8f9fa; /* Esta é a cor da classe 'bg-light' do Bootstrap */
    border-bottom: 1px solid #dee2e6;
}

.note-editor.note-frame {
    border: 1px solid #dee2e6; /* Cor de borda padrão de inputs do Bootstrap */
}
