﻿
@import url("FontAwesome/import.css");

/* evita que campos preenchidos automaticamente mudem a cor do texto e do background */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    -webkit-text-fill-color: #495057 !important;
}

/* impede que object Sweet Alert adicione padding lateral */
html.swal2-shown, body.swal2-shown {
    overflow-y: auto !important;
}

body {
    background: linear-gradient( #cbe7d7, #fff);
    background-position: center 150px, center top;
    min-height: 100vh;
}

.main-content p {
    font-size: 14px;
    margin: 0;
}

.main-content :is(h1, h2, h3, h4, h5, h6) {
    font-weight: bold;
    margin: 0;
}

.main-content h1 {
    font-size: 20px;
}

.main-content h2 {
    font-size: 18px;
}

.main-content h3 {
    font-size: 17px;
}

.main-content h4 {
    font-size: 16px;
}

.main-content h5 {
    font-size: 15px;
}

.main-content h6 {
    font-size: 14px;
}

.card.container-card {
    width: 94%;
    margin: 30px auto 100px;
    padding: 0;
    background-color: #ffffffcc;
}

.container-card .card-header {
    padding: 20px
}

.container-card .card-body {
    display: flex;
    gap: 30px;
    padding: 30px 0;
}

.main-content label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px
}

.main-content .label-error {
    font-size: 12px;
    font-weight: bold;
}

.main-content .btn-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.main-content .btn {
    font-weight: bold;
}

.lbl-aviso {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #ffc107;
    color: #333;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    margin: 16px 0 0;
    box-shadow: 0px 3px 5px 0px #00000055;
}
    .lbl-aviso i {
        font-size: 24px;
    }

@media (max-width: 991px) {

    body {
        background-position: center 110px, center top;
        background-attachment: fixed;
    }

    .main-content .btn-container {
        flex-direction: column;
        gap: 20px;
    }

    .lbl-aviso {
        flex-direction: column;
        padding: 20px;
    }
        .lbl-aviso i {
            font-size: 32px;
            margin-bottom: 10px;
        }

        .lbl-aviso i:last-child {
            display: none;
        }
}
