// app global css in SCSS form
@import './icons.scss';

body.body--light {
    --fount-color: black;
    --vn-sectionColor: #ffffff;
    --vn-pageColor: #e0e0e0;
    background-color: var(--vn-pageColor);
    .q-header .q-toolbar {
        color: var(--fount-color);
    }
    --vn-text: var(--fount-color);
    --vn-gray: var(--vn-sectionColor);
    --vn-label: #5f5f5f;
    --vn-dark: var(--vn-sectionColor);
    --vn-light-gray: #e7e3e3;
}

body.body--dark {
    --vn-pageColor: #222;
    --vn-SectionColor: #3c3b3b;
    background-color: var(--vn-pageColor);
    --vn-text: white;
    --vn-gray: var(--vn-SectionColor);
    --vn-label: #a8a8a8;
    --vn-dark: var(--vn-SectionColor);
    --vn-light-gray: #424242;
}

a {
    text-decoration: none;
}

.link {
    color: $color-link;
    cursor: pointer;
}

.tx-color-link {
    color: $color-link !important;
}

.header-link {
    color: $color-link !important;
    cursor: pointer;
    border-bottom: solid $primary;
    border-width: 2px;
    width: 100%;
    .q-icon {
        float: right;
    }
    text-transform: uppercase;
}

.link:hover {
    text-decoration: underline;
}

// Removes chrome autofill background
input:-webkit-autofill,
select:-webkit-autofill {
    color: var(--vn-text);
    font-family: $typography-font-family;
    -webkit-text-fill-color: var(--vn-text);
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

.bg-vn-dark {
    background-color: var(--vn-dark);
}

.color-vn-text {
    color: var(--vn-text);
}

.color-vn-white {
    color: $white;
}

.vn-card {
    background-color: var(--vn-gray);
    color: var(--vn-text);
    border-radius: 8px;
}

.vn-card-list {
    width: 100%;
    max-width: 60em;
}

.bg-vn-primary-row {
    background-color: var(--vn-dark);
}

.bg-vn-secondary-row {
    background-color: var(--vn-light-gray);
}

.fill-icon {
    font-variation-settings: 'FILL' 1;
}

.vn-table-separation-row {
    height: 16px !important;
    background-color: var(--vn-gray) !important;
}

/* Estilo para el asterisco en campos requeridos */
.q-field.required .q-field__label:after {
    content: ' *';
}

input[type='number'] {
    -moz-appearance: textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
