﻿html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    //color: f;
    font-family: "Roboto";
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

    blockquote:before,
    blockquote:after,
    q:before,
    q:after {
        content: "";
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.header {
    width: 100%;
    height: auto;
}

.header_imgMobile {
    width: 100%;
}

.header_imgDesktop {
    display: none;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    max-width: 1024px;
    gap: 10px;
}

.logoLindor {
    width: 40%;
}

.mainTitle {
    font-weight: 600;
    font-size: 1.7rem;
    color: #1a2d95;
    margin-top: 30px;
    margin-bottom: 20px;
}

.formSection {
    display: flex;
    flex-direction: column;
   margin: 0 10px 0 10px;
    gap: 30px;
}

.sectionPersonalData {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.section_title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #1a2d95;
}

label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #1a2d95;
}

input {
    margin-bottom: 0.5rem;
    border-radius: 10px;
    border: solid 1px #1a2d95;
    width: 100%;
    color: rgb(37, 37, 37);
    height: 1.4rem;
}

select {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 10px;
    border: solid 1px #1a2d95;
    color: rgb(37, 37, 37);
    height: 1.5rem;
}

.label-i {
    display: flex;
    gap: 5px;
}

label i .tooltip {
    left: auto;
    right: 0;
}

label i .tooltip {
    display: none;
    position: absolute;
    max-width: 250px;
    color: red;
    background-color: #fff;
    padding: 5px;
    z-index: 1;
    top: 0;
    /*left: 100%;*/
    left: -500%;
    margin-left: 10px;
    font-size: 13px;
    width: max-content;
    padding: 20px;
    border: 1px solid red;
    font-weight: 500;
}

label i {
    font-style: normal;
    background-color: #001689;
    aspect-ratio: 1/1;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #f9f4dc;
    padding: 0px;
    margin-left: 10px;
    position: relative;
    cursor: pointer;
    font-size: 11px;
    height: 18px;
}

form label i:hover .tooltip,
form label i:active .tooltip,
form label i:focus .tooltip {
    display: block;
}

.label-i {
    display: flex;
    gap: 5px;
}


.imageBlock {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.trash-group {
    display: flex;
    flex-direction: row;
    padding-top: 3px;
    padding-bottom: 20px;
    padding-right: 3px;
    background-color: transparent;
}

.icon-btn {
    --size: 35px;
    align-self: center;
    height: var(--size);
    background: transparent;
    border: none;
    cursor: pointer;
    & svg *

{
    fill: var(--normal-color);
    stroke: var(--normal-color);
}

}

@media (prefers-reduced-motion: no-preference) {
    #delete-btn-ean, #delete-btn-ticket {
        --easeInOutCubic: cubic-bezier(0.65, 0, 0.35, 1);
        --duration: 0.5s;
        --shake1: calc(var(--size) / 256);
        --shake2: calc(2 * var(--shake1));
        --shake3: calc(3 * var(--shake1));
        --shake-1: calc(-1 * var(--shake1));
        --shake-2: calc(-2 * var(--shake1));
        --shake-3: calc(-3 * var(--shake1));
        & svg

{
    overflow: visible;
    & *

{
    transition: fill 0.1s ease, stroke 0.1s ease;
}

}

& #cross, & #normal {
    display: none;
}

& #transition {
    stroke-dasharray: 11.35px 100;
    stroke-dashoffset: -120.5%;
}

& #cap {
    transition: translate 0.1s ease, rotate 0.1s ease;
}

&:hover {
    &:not(.confirm) #cap

{
    translate: 2px -5px;
    rotate: 10deg;
}

}

&.confirm {
    & svg *

{
    fill: var(--confirm-color);
    stroke: var(--confirm-color);
}

& #transition {
    animation: transition var(--duration) var(--easeInOutCubic) forwards;
}

& #cap {
    animation: cap-convert var(--duration) var(--easeInOutCubic);
}

& #body {
    animation: body-convert var(--duration) var(--easeInOutCubic);
}

& svg:hover {
    animation: shake 0.5s linear infinite;
}

}

@keyframes transition {
    0% {
        stroke-dashoffset: -120.5%;
    }

    100% {
        stroke-dashoffset: 0%;
    }
}

@keyframes cap-convert {
    0% {
        translate: 2px -5px;
        rotate: 10deg;
    }

    30%, 70% {
        translate: 12px -17px;
        rotate: 30deg;
    }

    100% {
        translate: 0 0;
        rotate: 0;
    }
}

@keyframes body-convert {
    0%, 100% {
        translate: 0 0;
    }

    50%, 80% {
        translate: 0 4px;
    }
}

@keyframes shake {
    0% {
        transform: translate(var(--shake1), var(--shake1)) rotate(0deg);
    }

    10% {
        transform: translate(var(--shake-1), var(--shake-2)) rotate(-1deg);
    }

    20% {
        transform: translate(var(--shake-3), 0px) rotate(1deg);
    }

    30% {
        transform: translate(var(--shake3), var(--shake2)) rotate(0deg);
    }

    40% {
        transform: translate(var(--shake1), var(--shake-1)) rotate(1deg);
    }

    50% {
        transform: translate(var(--shake-1), var(--shake2)) rotate(-1deg);
    }

    60% {
        transform: translate(var(--shake-3), var(--shake1)) rotate(0deg);
    }

    70% {
        transform: translate(var(--shake3), var(--shake1)) rotate(-1deg);
    }

    80% {
        transform: translate(var(--shake-1), var(--shake-1)) rotate(1deg);
    }

    90% {
        transform: translate(var(--shake1), var(--shake2)) rotate(0deg);
    }

    100% {
        transform: translate(var(--shake1), var(--shake-2)) rotate(-1deg);
    }
}

}
}

@media (prefers-reduced-motion: reduce) {
    #delete-btn-ean, #delete-btn-ticket {
        & #transition, & #cross

{
    display: none;
}

&.confirm {
    & svg *

{
    fill: var(--confirm-color);
    stroke: var(--confirm-color);
}

& #cross {
    display: block;
}

& #normal {
    display: none;
}

}
}
}

#delete-btn-ean:hover:not(.confirm) svg * {
    fill: var(--confirm-color);
    stroke: var(--confirm-color);
}

#delete-btn-ticket:hover:not(.confirm) svg * {
    fill: var(--confirm-color);
    stroke: var(--confirm-color);
}



#file-name-1,
#file-name-2 {
    margin-bottom: 5px;
    padding: 6px;
    font-size: 0.9rem;
    color: #bbbbbb;
}

.custom-file-upload {
    display: flex;
    margin-bottom: 10px;
}

    .custom-file-upload span {
        /*font-size: .5rem !important;*/
        font-size: 1rem !important;
    }

.custom-file-upload {
    background-color: #001689;
    color: #fff;
    border-radius: 50px;
    padding: 1px 20px;
    width: max-content;
    margin-top: 3px !important;
    height:35px;
}

.uploadBtn {
    color: white;
    margin: 10px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.06rem;
}

.sectionShoppingData {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.checkboxContainer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
}

.checkboxContainer_group {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

.checkboxContainer_input {
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    margin-right: 10px;
   
}

.sectionSendInfo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.botom {
    background-color: #001689;
    padding: 15px 40px;
    border-radius: 500px;
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: center;
    height: 50px;
    display: block;
    cursor: pointer;
    width: 80%;
    margin: auto;
}

.subInfo {
    display: flex;
    justify-content: center;
    font-size: 0.85rem;
    text-align: center;
    width: 75%;
    margin: auto;
    padding-top: 10px;
}

#errorMsg{
    display:none;
}
.subInfo-text {
    color: grey;
}



body #errorMsgProceso {
    color: orangered !important;
}

.subInfo2 {
    font-size: 0.7rem;
    text-align: center;
    width: 75%;
    margin: auto;
    color: #1a2d95;
}

.footer {
    width: 100%;
    background-color: #1a58ff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer_logo {
    margin-top: 20px;
    width: 200px;
}

.footer_list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    font-size: 0.8rem;
    gap: 5px;
}

.footer_list--link {
    text-decoration: none;
    color: white;
}

.footer_RRSS {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 50%;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 5px;
}

.footer_RRSS--link {
    display: flex;
}

.footer_RRSS--icon {
    width: 80%;
    display: flex;
    margin: auto;
}

@media (min-width: 768px) {
    .logoLindor {
        width: 20%;
        margin-top: 30px;
    }
    .mainTitle{
        margin-bottom: 20px;
    }
    .formSection {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        margin: 0 10px 0 10px;
    }

    .sectionPersonalData {
        grid-area: 1 / 1 / 2 / 2;
        margin-left: 10px;
    }

    .sectionShoppingData {
        margin-right: 10px;
    }

    .sectionSendInfo {
        grid-area: 2 / 1 / 3 / 3;
    }

    .subInfo-text {
        width: 80%;
    }

    .subInfo2 {
        width: 80%;
    }

    .botom {
        width: 50%;
    }

    .header_imgMobile {
        display: none;
    }

    .header_imgDesktop {
        display: flex;
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .logoLindor {
        width: 15%;
    }

    .botom {
        width: 45%;
    }
}

@media (min-width: 1440px) {
    .logoLindor {
        width: 10%;
    }

    .botom {
        width: 40%;
    }
}
