﻿/* ==================== */
/*   FONTES BASE        */
/* ==================== */

html {
    font-size: 14px; /* em telas pequenas */
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* ==================== */
/*   FOCO E FORMS       */
/* ==================== */

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.form-select:focus {
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: #999;
}

/* ==================== */
/*   LAYOUT GERAL       */
/* ==================== */

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.login-area-radius {
    background: #fff !important;
    border-radius: 1rem;
}

.footer {
    width: 100%;
}

/* ==================== */
/*   BOTÕES PERSONALIZADOS */
/* ==================== */

.btn-xs, .btn-group-xs > .btn {
    --bs-btn-padding-y: 0.35rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.675rem;
    --bs-btn-border-radius: 100%;
}

.btn-black {
    color: #f5f5f5;
    background-color: #0b090a;
    border-color: transparent !important;
}

    .btn-black:hover,
    .btn-black:active,
    .btn:first-child:active {
        color: #f5f5f5 !important;
        background-color: #41353b !important;
        border-color: #41353b !important;
    }

.btn-red {
    color: #f5f5f5;
    background-color: #ff1100;
    border-color: transparent;
}

    .btn-red:hover,
    .btn-red:active {
        color: #f5f5f5 !important;
        background-color: #c21819 !important;
        border-color: #c21819 !important;
    }

.btn-white {
    color: #ff1100;
    background-color: #f5f5f5;
    border-color: #ff1100;
}

    .btn-white:hover,
    .btn-white:active {
        color: #c21819;
        background-color: #f5f5f5;
        border-color: #c21819;
    }

/* ==================== */
/*   TEXTOS             */
/* ==================== */

.text-black {
    color: #0b090a !important;
}

.text-secondary {
    color: #ff1100 !important;
}

/* ==================== */
/*   LOGO E TÍTULOS       */
/* ==================== */

.logo_CDHU {
    height: 2.55rem;
    margin-top: 0rem;
    margin-bottom: 0.4rem;
}

.title-central-servicos {
    font-size: 1.6rem;
    letter-spacing: -0.1rem;
    font-weight: 400;
}

@media (max-width: 768px) {
    .logo_CDHU {
        height: 2.80rem;
    }

    .title-central-servicos {
        font-size: 1.6rem;
        letter-spacing: -0.1rem;
        font-weight: 400;
    }

    .logo_rodape_governo img {
        max-height: 27px;
    }
}

.size-name-user {
    font-size: 13px;
    line-height: 15px;
    display: flex;
    align-items: center;
    float: right;
}

/* ==================== */
/*   SPINNER            */
/* ==================== */

.spinner-border {
    width: 2.5rem;
    height: 2.5rem;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
}


/* ===== MELHORIAS RESPONSIVAS ===== */

.card-servicos {
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.area-downloads {
    margin-top: 40px;
}

.download-card {
    border-radius: 12px;
    transition: 0.3s ease;
    padding: 20px;
}

    .download-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    }

.download-icon {
    font-size: 42px;
}

.nmEdital {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    margin-top: 10px;
    display: block;
}

.list-group-flush > .list-group-item {
    font-size: 0.9rem;
    line-height: 1.2rem;
    color: #3c3d3d;
    padding-left: 0;
}