html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background-image: url('../assets/fundo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-vermelho {
    background-color: #009091;
    border: none;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

    .btn-vermelho:hover {
        background-color: #657a83;
        color: white;
    }

input[type="text"],
input[type="email"],
input[type="date"],
input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #009091;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #fdfaf2;
    margin-bottom: 20px;
}

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="date"]:focus,
    input[type="tel"]:focus {
        border-color: #009091;
        outline: none;
        box-shadow: 0 0 0 3px rgba(78, 166, 167, 0.4);
    }

.form-check-input {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    border: 2px solid #009091;
    border-radius: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    position: relative;
}

    .form-check-input:focus {
        border-color: #009091;
        box-shadow: 0 0 0 2px rgba(78, 166, 167, 0.2);
    }

    .form-check-input:checked {
        background-color: #009091;
        border-color: #009091;
    }

        .form-check-input:checked::after {
            content: "";
            position: absolute;
            top: 2px;
            left: 6px;
            width: 4px;
            height: 9px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

.form-select {
    background-color: #fdfaf2;
    padding: 12px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid #009091;
    border-radius: 6px;
}

    .form-select:focus {
        border-color: #009091 !important;
        box-shadow: 0 0 0 3px rgba(78, 166, 167, 0.4);
        outline: none !important;
    }

.row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0px;
}

.col-half {
    flex: 1 1 48%;
}

@media (max-width: 768px) {
    .col-half {
        flex: 1 1 100%;
    }
}

/* Seleciona os blocos pelo id ou você pode usar uma classe comum */
#blocoSign, #blocoDoctorIA {
    border: 2px solid #009091;
    border-radius: 15px;
    padding: 15px;
    position: relative;
    overflow: hidden;
    background-color: transparent; /* fundo inicial */
    transition: background-color 0.3s ease; /* suaviza a transição */
    cursor: pointer; /* indica que é clicável */
}

    /* Efeito ao passar o mouse ou tocar */
    #blocoSign:hover, #blocoSign:active,
    #blocoDoctorIA:hover, #blocoDoctorIA:active {
        background-color: #00909130; /* verde clarinho */
    }
