:root {
    --fema-navy: #0b3d5c;
    --fema-navy-2: #0e5278;
    --fema-gold: #c9a227;
    --fema-bg: #f4f7fa;
}

html, body {
    min-height: 100%;
}

body {
    background: var(--fema-bg);
    color: #1c2b36;
    display: flex;
    flex-direction: column;
}

.fema-nav {
    background: linear-gradient(90deg, var(--fema-navy), var(--fema-navy-2));
    box-shadow: 0 2px 10px rgba(11, 61, 92, .25);
}

.brand-mark {
    background: var(--fema-gold);
    color: #1a1404;
    padding: .15rem .45rem;
    border-radius: .25rem;
    margin-right: .4rem;
    font-size: .9rem;
}

.brand-logo {
    height: 72px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.card-evento {
    border: 0;
    border-radius: .75rem;
    box-shadow: 0 8px 24px rgba(11, 61, 92, .08);
    overflow: hidden;
    height: 100%;
}

.card-evento .thumb {
    height: 260px;
    background: #d9e6ef center/cover no-repeat;
}

.fema-footer {
    background: var(--fema-navy);
    color: rgba(255,255,255,.75);
}

.modal-header {
    background: var(--fema-navy);
    color: #fff;
}

#modalInscricao .modal-dialog {
    max-height: calc(100vh - 2rem);
    margin: 1rem auto;
}

#modalInscricao .modal-content {
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#modalInscricao .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    -webkit-overflow-scrolling: touch;
}

.btn-fema {
    background: var(--fema-navy);
    color: #fff;
}

.btn-fema:hover {
    background: var(--fema-navy-2);
    color: #fff;
}

#modalPix {
    z-index: 1065;
}

.modal-backdrop.backdrop-pix {
    z-index: 1060;
}

.pix-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    color: var(--fema-navy);
    text-align: center;
}

.pix-spinner-icon {
    width: 3rem;
    height: 3rem;
    color: var(--fema-navy);
    border-width: .28em;
}

.titulo-obra {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--fema-navy);
    line-height: 1.35;
    margin-bottom: .35rem;
}

.table thead {
    background: #e8f0f6;
}

.status-titulo .btn {
    min-width: 6.2rem;
}

@media print {
    .status-titulo .btn {
        box-shadow: none !important;
    }
}

@media (max-width: 576px) {
    .navbar-nav .nav-link {
        padding: .65rem 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }
}
