﻿
:root {
    --dark-purple: #511C4E;
    --light-purple: #5D1B59;
    --lighter-purple: #DEB7E5;
    --lightest-purple: #E5CAEB;
    --footer-text-purple: #472353;
    --hover-dropdown-purple: #F59FF0;
    --select-list-background-grey: #E9DCED;
    --darker-grey: #A0A0A0;
    --dark-grey: #D9D9D9;
    --light-grey: #E7E1E1;
    --hover-grey: #A6A0A8;
    --white: #F5F5F5;
    /*--orange: #FF3700;*/
    --orange: #FF4D00;
    --light-orange: #F05B23;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: var(--footer-text-purple);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--footer-text-purple);
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

@font-face {
    font-family: 'RobotoFlex';
    src: url('./fonts/RobotoFlex-VariableFont.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Roboto Flex Italic */
@font-face {
    font-family: 'Roboto Flex';
    src: url('../fonts/RobotoFlex-VariableFont.ttf') format('truetype'); /* Or .woff2 */
    font-weight: 400; /* Regular */
    font-style: italic;
    font-display: swap;
}

/* Roboto Flex Bold */
@font-face {
    font-family: 'Roboto Flex';
    src: url('../fonts/RobotoFlex-VariableFont.ttf') format('truetype'); /* Or .woff2 */
    font-weight: 700; /* Bold */
    font-style: normal;
    font-display: swap;
}

/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: RobotoFlex, Arial, sans-serif;
}

/* Base styles for mobile-first approach */
body {
    background-color: var(--footer-text-purple);
    justify-content: center;
    align-items: start;
}

    body a, body i {
        cursor: pointer;
    }

.container {
    width: 100%;
    max-width: 400px;
    margin-top: 2rem;
}

.hero-section {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

    .hero-section h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .hero-section p {
        font-size: 1rem;
    }

.login-logo-image {
    width: 80%;
}

h2, h3, h4, label {
    color: var(--footer-text-purple);
}

label {
    font-weight: 500 !important;
}

form {
    display: flex;
    flex-direction: column;
}

.form-default {
    background-color: var(--dark-grey);
    color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


.btn-primary-abertta {
    border-radius: 40px;
    background-color: var(--dark-purple);
    color: var(--white);
    padding: 10px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

    .btn-primary-abertta:hover {
        background-color: var(--light-purple);
    }
    /*
    .btn-primary-abertta:focus, .btn-primary-abertta:focus-within {
        background-color: var(--lightest-purple);
        color: var(--dark-purple);
        box-shadow: 0 0 0 .25rem rgba(255,55,0,.5)
    }
*/

    .btn-primary-abertta:disabled {
        background-color: var(--darker-grey);
        color: var(--white);
        cursor: not-allowed;
    }

.btn-secondary-abertta {
    border-radius: 40px;
    background-color: var(--orange);
    color: var(--white);
    padding: 10px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

    .btn-secondary-abertta:hover {
        background-color: var(--light-orange);
    }

.input-abertta {
    border-radius: 40px !important;
    background-color: #fff;
    height: 40px;
    border: none;
    /**/
    padding-left: 20px;
}

.input-abertta-grey {
    background-color: var(--select-list-background-grey);
    border-radius: 40px !important;
    height: 40px;
    border: none;
    /**/
    padding-left: 20px;
}

.input-abertta:focus-visible {
    outline: none;
}

.input-abertta:disabled {
    background-color: rgba(180, 161, 184, 1);
    color: rgba(40, 38, 38, 0.7);
}

select {
    appearance: auto !important;
    text-align: start !important;
}


input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
    appearance: textfield;
}

    /* Optional: Remove arrows in Chrome, Safari, Edge */
    input[type="number"]::-webkit-outer-spin-button,
    input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0; /* Important for some browsers */
    }

.footer-message {
    display: none;
}

.footer-small {
    display: block;
}

.footer-big {
    display: none;
}

.termos {
    background-color: var(--white);
    color: black;
    width: 100%;
}

    .termos h1, h2, h3, h4, h5, h6 {
        font-weight: bold;
    }

.svg-badge {
    margin-right: 0.25rem;
    align-self: center;
    margin-left: 1rem;
}

.body-termo {
    padding-left: 3rem;
    padding-right: 2rem;
}

.white-area {
    background-color: var(--white);
    width: 100%;
    height: 100%;
    min-height: 410px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.nav-tab-item-cartao-style a {
    border-radius: 40px;
    background-color: var(--white);
    color: var(--dark-purple);
    padding: 10px;
    border: 1px solid var(--dark-purple);
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    font-weight: bold;
}

    .nav-tab-item-cartao-style a:hover {
        background-color: var(--light-grey);
        border: 1px solid var(--orange);
        color: var(--dark-purple);
        font-weight: bold;
    }

.nav-tab-item-cartao-style .active {
    font-weight: bold;
    background-color: var(--dark-purple);
    color: var(--white);
}


/*
.nav-tab-item-cartao-style a {
    border-radius: 10px 10px 0 0;
    background-color: var(--light-grey);
    color: var(--dark-purple);
    text-decoration: none;
    padding: 0.5rem;
}

*/


.nav-tab-item-style a {
    border-radius: 10px 10px 0 0;
    background-color: var(--light-grey);
    color: var(--dark-purple);
    text-decoration: none;
    padding: 0.5rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-tab-item-style .active {
    font-weight: bold;
    background-color: var(--dark-grey);
    color: var(--dark-purple) !important;
}

.nav-tab-item-style a:hover {
    color: var(--dark-purple);
    background-color: var(--lightest-purple);
    text-decoration: none;
}

.nav-tab-item-style a:focus {
    color: var(--dark-purple);
}

.tab-content > .active {
    background-color: var(--dark-grey) !important;
    border-radius: 0 0 10px 10px;
}

    .tab-content > .active:focus {
        color: var(--dark-purple) !important;
    }

.orange-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: bold;
}

    .orange-link:hover {
        color: var(--dark-purple);
    }

    .orange-link:focus {
        color: var(--dark-purple);
    }

.purple-link {
    color: var(--dark-purple);
    text-decoration: none;
}

    .purple-link:hover {
        color: var(--orange);
    }

    .purple-link:focus {
        color: var(--orange);
    }

.white-link {
    color: #FFF;
    text-decoration: none;
}

    .white-link:hover {
        color: #FFF;
    }

    .white-link:focus {
        color: #FFF;
    }


.grey-area {
    background-color: var(--dark-grey);
    width: 100%;
    min-height: 500px;
    margin: auto;
    border-radius: 0 0 10px 10px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.tab-content-area {
    padding-bottom: 2rem;
    padding-top: 2rem;
}

.table-abertta {
    border-radius: 10px;
    border-collapse: collapse;
    background-color: var(--white);
}

    .table-abertta > tbody > tr:nth-of-type(odd) > * {
        --bs-table-bg-type: #DACCDE;
    }

    .table-abertta > tbody > tr:nth-of-type(even) > * {
        background-color: var(--white);
    }

    .table-abertta thead th:first-child {
        border-radius: 15px 0 0 0;
    }

    .table-abertta thead th:last-child {
        border-radius: 0 15px 0 0;
    }

    .table-abertta tbody tr:last-child td:first-child {
        border-radius: 0 0 0 15px;
    }

    .table-abertta tbody tr:last-child td:last-child {
        border-radius: 0 0 15px 0;
    }

    .table-abertta thead th:only-child {
        border-radius: 5px 5px 0 0;
    }

    .table-abertta th {
        background-color: #511C4E;
        color: #fff;
        padding: 10px;
        font-weight: 400;
    }

    .table-abertta tr:nth-child(even) {
        background-color: #DACCDE !important;
    }

    .table-abertta tr:hover {
        background-color: var(--hover-grey) !important;
    }

    .table-abertta td {
        padding: 0.5rem 0.5rem !important;
    }

/*    .table-abertta-cell:nth-child(even) {
        background-color: #DACCDE !important;
    }

    .table-abertta-cell:nth-child(odd) {
        background-color: var(--white) !important;
    }
*/
.table-abertta-cell:hover {
    background-color: var(--hover-grey) !important;
}

.top {
    background-color: var(--dark-purple);
    color: var(--white);
    padding: 10px;
    z-index: 1000;
}

    .top div {
        display: flex;
        flex-direction: column-reverse;
        padding: 0.5rem 1rem 0 1rem;
        align-items: center;
    }

.second-footer {
    display: flex;
    justify-content: end;
    background-color: var(--white);
    margin-right: 0;
}

.dropdown-menu-abertta {
    min-width: 250px;
}

.navbar-abertta, .dropdown-menu-abertta {
    background-color: var(--dark-purple);
}

.index-menu-area-abertta {
    display: flow;
    margin-top: 1rem;
    flex-direction: column;
}

.index-menu-abertta {
    background: linear-gradient(148.8deg, rgba(220, 201, 224, 0.51) 6.6%, rgba(233, 212, 236, 0.51) 43.54%, rgba(224, 213, 226, 0.51) 93.51%);
    padding: 0;
    margin: 0.5rem 0;
    list-style: none;
    border-radius: 10px 10px 60px 10px;
    padding: 0.5rem 2rem;
}

    .index-menu-abertta:hover {
        background: linear-gradient(148.79deg, #F6DBE9 19.36%, #F9E8F8 48.85%, #FEDFEE 80.16%);
    }


    .index-menu-abertta .title {
        background-color: var(--white);
        color: var(--dark-purple);
    }

.btn-especial-abertta {
    /*color: rgba(218, 213, 222, 1);*/
    color: #FFF;
    background: rgba(93, 27, 89, 1);
    box-shadow: 5px 5px 9.5px 0 rgba(44, 41, 41, 0.47);
    box-shadow: -3px -3px 9.7px 0 rgba(254, 254, 254, 0.08);
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.3rem;
    padding: 0.25rem 0.5rem;
}

    .btn-especial-abertta:hover {
        color: rgba(218, 213, 222, 1);
        border-image-source: linear-gradient(133.31deg, #7A275E 6.98%, rgba(93, 27, 89, 0) 46.42%);
        box-shadow: 1.3px 0.8px 0 0 rgba(65, 8, 61, 0.5);
        box-shadow: 9px 7px 10px 0 rgba(40, 7, 38, 0.25) inset;
        box-shadow: -3px -4px 15px 0 rgba(255, 255, 255, 0.15) inset;
    }

    .btn-especial-abertta:active {
        color: white;
        box-shadow: 5px 5px 9.5px 0 rgba(44, 41, 41, 0.47);
        box-shadow: -3px -3px 9.7px 0 rgba(254, 254, 254, 0.08);
    }

.equipe-saude {
    margin-top: 3rem;
    padding: 0;
}

#qualificacoes {
    margin-bottom: 3rem;
}

.header-title {
    display: flex;
    justify-content: center;
    align-items: center;
}

#foto-perfil {
    border-radius: 50%;
    object-fit: cover;
    width: 13rem;
    height: 13rem;
}

.link-image {
    margin-left: 18px;
    width: 200px;
    height: 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px 10px 80px 10px;
}

.card-autorizacao {
    background-color: #FFF;
    border-radius: 5px;
    border: 1px solid rgba(206, 193, 193, 1);
    margin-top: 2rem;
    max-width: 900px;
}

.section-reembolso {
    padding-left: 1rem;
    padding-right: 1rem;
}

.header-reembolso {
    background-color: var(--footer-text-purple);
    border-radius: 5px;
    color: var(--white);
    padding: 0.5rem;
    /*margin-top: 1rem;
    margin-bottom: 1rem;*/
}

.card-reembolso {
    background-color: var(--white);
    border-radius: 10px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/*Radio Button*/
/* The container-label */

.form-check-input:checked {
    background-color: var(--dark-purple);
    border-color: var(--dark-purple);
}

.container-label {
    display: block;
    position: relative;
    padding-left: 35px;
    /*margin-bottom: 12px;*/
    cursor: pointer;
    font-size: 1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default radio button */
    .container-label input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 4px;
    left: 1px;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 50%;
    border: 1px solid var(--dark-purple);
}

/* On mouse-over, add a grey background color */
.container-label:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.container-label input:checked ~ .checkmark {
    background-color: var(--white);
    border: 1px solid var(--dark-purple);
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.container-label input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.container-label .checkmark:after {
    top: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dark-purple);
}
/*Radio Button*/


.body-reembolso div {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}


.dropdown-abertta-hover:hover {
    color: var(--hover-dropdown-purple) !important;
}

textarea {
    border-color: var(--light-grey);
}

.cknLDn.cknLDn.cknLDn, .gBksCv.gBksCv.gBksCv {
    background-color: var(--orange) !important;
    border-color: transparent !important;
}

.gBksCv.gBksCv.gBksCv {
    border-top: 1px solid white !important;
}

@media (min-width: 576px) {
    .white-area {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 768px) {

    .footer-message {
        display: block;
    }

    .footer-small {
        display: none;
    }

    .footer-big {
        display: flex;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .termos {
        background-color: var(--white);
        color: black;
        width: 100%;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .body-termo {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    /*
    .nav-tab-item-style {
        margin-right: 0.25rem;
    }
*/
    .grey-area {
        background-color: var(--dark-grey);
        width: 100%;
        max-width: 1000px;
        padding-left: 1rem;
        padding-right: 1rem;
        margin: auto;
    }

    .nav-tab-item-style a {
        padding: 1rem;
    }

    .top div {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 2rem 0 2rem;
    }

    .index-menu-area-abertta {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 2rem;
        grid-gap: 1rem;
    }

    .equipe-saude {
        align-self: start;
        margin-top: 3rem;
    }

    .header-title {
        display: flex;
        justify-content: start;
        align-items: end;
    }

    .white-area {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .body-reembolso {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}

@media (min-width: 992px) {
    .body-reembolso {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
