/* ==========================================================
   CryptoTasse — Report Fiscale — Sezione 2
   "Ogni numero può essere ricostruito"
   ========================================================== */


/* ----------------------------------------------------------
   MACRO SEZIONE
   ---------------------------------------------------------- */

.ct-rf2-section {
    box-sizing: border-box !important;

    width: 100vw !important;
    max-width: none !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding: 38px 24px 42px !important;

    background: #ffffff;

    font-family: inherit;
}


.ct-rf2-section *,
.ct-rf2-section *::before,
.ct-rf2-section *::after {
    box-sizing: border-box;
}


.ct-rf2-container {
    width: 100% !important;
    max-width: 1180px !important;

    margin: 0 auto !important;
    padding: 0 !important;
}


/* ----------------------------------------------------------
   HEADER
   ---------------------------------------------------------- */

.ct-rf2-header {
    width: 100% !important;
    max-width: 1040px !important;

    margin: 0 0 28px !important;
    padding: 0 !important;
}


.ct-rf2-title {
    display: block !important;

    margin: 0 0 8px !important;
    padding: 0 !important;

    color: #034331 !important;

    font-size: 38px !important;
    line-height: 1.08 !important;
    font-weight: 750 !important;
    letter-spacing: -1.25px !important;
}


.ct-rf2-intro {
    display: block !important;

    width: 100% !important;
    max-width: 920px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #283d78 !important;

    font-size: 17px !important;
    line-height: 1.42 !important;
    font-weight: 400 !important;
}


.ct-rf2-intro strong {
    color: inherit !important;
    font-weight: 700 !important;
}


/* ----------------------------------------------------------
   FLUSSO PRINCIPALE
   ---------------------------------------------------------- */

.ct-rf2-flow {
    display: grid !important;

    grid-template-columns:
        minmax(215px, 0.82fr)
        38px
        minmax(480px, 1.8fr)
        38px
        minmax(215px, 0.82fr) !important;

    align-items: center !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* ----------------------------------------------------------
   CARD BASE
   ---------------------------------------------------------- */

.ct-rf2-card {
    position: relative;

    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
    max-width: none !important;

    min-width: 0;

    padding: 18px 18px 20px !important;

    border: 1px solid #dfe9e6;
    border-radius: 10px;

    background: #ffffff;

    box-shadow:
        0 4px 18px rgba(3, 67, 49, 0.035);
}


.ct-rf2-card--source,
.ct-rf2-card--result {
    align-self: center !important;

    min-height: 280px !important;
}


/* ----------------------------------------------------------
   BLOCCO CENTRALE
   ---------------------------------------------------------- */

.ct-rf2-card--processing {
    min-height: 0 !important;
    height: 280px !important;

    padding: 14px 16px 56px !important;

    border: 2px solid #10B981;
}


/* ----------------------------------------------------------
   INTESTAZIONI CARD
   ---------------------------------------------------------- */

.ct-rf2-card-heading,
.ct-rf2-processing-head {
    display: flex !important;

    align-items: flex-start !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    gap: 13px;
}


.ct-rf2-processing-head {
    gap: 14px;
}


.ct-rf2-card-heading-text,
.ct-rf2-processing-heading-text {
    min-width: 0;
}


.ct-rf2-card-title {
    margin: 0 0 4px !important;
    padding: 0 !important;

    color: #07155f !important;

    font-size: 18px !important;
    line-height: 1.14 !important;
    font-weight: 750 !important;
    letter-spacing: -0.3px !important;
}


.ct-rf2-card--processing .ct-rf2-card-title {
    font-size: 19px !important;
}


.ct-rf2-card-description {
    margin: 0 !important;
    padding: 0 !important;

    color: #364b86 !important;

    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
}


.ct-rf2-card--processing .ct-rf2-card-description {
    max-width: 470px;

    font-size: 13px !important;
    line-height: 1.25 !important;
}


.ct-rf2-card-description strong {
    color: inherit !important;
    font-weight: 700 !important;
}


/* ----------------------------------------------------------
   ICONE
   ---------------------------------------------------------- */

.ct-rf2-icon {
    flex: 0 0 auto;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #065F46;
}


.ct-rf2-icon svg {
    display: block !important;

    width: 100% !important;
    height: 100% !important;
}


.ct-rf2-icon--document {
    width: 40px;
    height: 45px;
}


.ct-rf2-icon--gear {
    width: 50px;
    height: 50px;

    color: #065F46;
}


.ct-rf2-icon--chart {
    width: 42px;
    height: 44px;
}


/* ----------------------------------------------------------
   FILE ORIGINALI
   ---------------------------------------------------------- */

.ct-rf2-file-list {
    display: flex !important;
    flex-direction: column !important;

    gap: 12px !important;

    width: 100% !important;

    margin: 25px 0 0 !important;
    padding: 0 0 0 4px !important;

    list-style: none !important;
}


.ct-rf2-file-list li {
    display: flex !important;

    align-items: center !important;

    gap: 9px;

    margin: 0 !important;
    padding: 0 !important;

    color: #20356f !important;

    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
}


.ct-rf2-file-icon {
    flex: 0 0 auto;

    display: inline-flex !important;

    width: 19px;
    height: 23px;

    color: #2688ed;
}


.ct-rf2-file-icon svg {
    display: block !important;

    width: 100% !important;
    height: 100% !important;
}


/* ----------------------------------------------------------
   FRECCE FRA I BLOCCHI
   ---------------------------------------------------------- */

.ct-rf2-flow-arrow {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;

    color: #10B981;
}


.ct-rf2-flow-arrow svg {
    display: block !important;

    width: 31px !important;
    height: auto !important;
}


/* ----------------------------------------------------------
   IMMAGINE ELABORAZIONE
   ---------------------------------------------------------- */

.ct-rf2-processing-image-wrap {
    overflow: hidden !important;

    display: block !important;

    width: 100% !important;
    height: 142px !important;

    margin: 10px 0 0 !important;
    padding: 0 !important;

    border: 1px solid #8ad9bd;
    border-radius: 3px;

    background: #ffffff;
}


.ct-rf2-processing-image {
    display: block !important;

    width: 100% !important;
    max-width: none !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;
}


/* ----------------------------------------------------------
   CALLOUT TRACCIABILITÀ
   ---------------------------------------------------------- */

.ct-rf2-trace-callout {
    position: absolute;

    right: 33px;
    bottom: 4px;

    display: flex !important;

    align-items: flex-start !important;

    width: 305px;
    height: 57px;

    pointer-events: none;

    color: #008d72;
}


.ct-rf2-trace-text {
    position: relative;
    z-index: 2;

    display: block !important;

    width: 190px;

    margin-top: 8px;

    text-align: center;

    color: #008d72 !important;

    font-family:
        "Comic Sans MS",
        "Segoe Print",
        "Bradley Hand",
        cursive !important;

    font-size: 14px !important;
    line-height: 1.18 !important;
    font-weight: 600 !important;

    transform: rotate(-2deg);
}


.ct-rf2-trace-arrow {
    position: absolute;

    right: 0;
    top: -8px;

    display: block !important;

    width: 118px !important;
    height: 64px !important;

    color: #008d72;

    transform: rotate(-3deg);
}


/* ----------------------------------------------------------
   RISULTATI
   ---------------------------------------------------------- */

.ct-rf2-result-list {
    display: flex !important;
    flex-direction: column !important;

    gap: 13px !important;

    width: 100% !important;

    margin: 27px 0 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


.ct-rf2-result-list li {
    display: flex !important;

    align-items: center !important;

    gap: 11px;

    margin: 0 !important;
    padding: 0 !important;

    color: #20356f !important;

    font-size: 15px !important;
    line-height: 1.28 !important;
    font-weight: 500 !important;
}


.ct-rf2-check {
    flex: 0 0 auto;

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 18px;

    color: #10B981 !important;

    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}


/* ----------------------------------------------------------
   LINK FINALE
   ---------------------------------------------------------- */

.ct-rf2-footer {
    display: flex !important;

    justify-content: flex-start !important;

    width: 100% !important;

    margin: 29px 0 0 !important;
    padding: 0 !important;
}


.ct-rf2-method-link {
    display: inline-flex !important;

    align-items: center !important;

    gap: 12px;

    margin: 0 !important;
    padding: 0 !important;

    color: #009e80 !important;

    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;

    text-decoration: none !important;

    transition:
        color 0.18s ease,
        gap 0.18s ease;
}


.ct-rf2-method-link:hover,
.ct-rf2-method-link:focus-visible {
    color: #065F46 !important;

    gap: 16px;

    text-decoration: none !important;
}


.ct-rf2-method-arrow {
    color: inherit !important;

    font-size: 25px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1024px) {

    .ct-rf2-section {
        padding: 36px 24px 40px !important;
    }


    .ct-rf2-title {
        font-size: 35px !important;
    }


    .ct-rf2-flow {
        grid-template-columns:
            minmax(190px, 0.8fr)
            30px
            minmax(390px, 1.65fr)
            30px
            minmax(190px, 0.8fr) !important;
    }


    .ct-rf2-card {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }


    .ct-rf2-card-title {
        font-size: 18px !important;
    }


    .ct-rf2-card--processing .ct-rf2-card-title {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }


    .ct-rf2-card-description {
        font-size: 14px !important;
    }


    .ct-rf2-file-list li {
        font-size: 14px !important;
    }


    .ct-rf2-result-list li {
        font-size: 14px !important;
    }


    .ct-rf2-trace-callout {
        right: 18px;
    }

}


/* ==========================================================
   MOBILE / TABLET STRETTO
   ========================================================== */

@media (max-width: 767px) {

    .ct-rf2-section {
        padding: 34px 18px 38px !important;
    }


    .ct-rf2-container {
        max-width: 620px !important;
    }


    .ct-rf2-header {
        margin-bottom: 24px !important;
    }


    .ct-rf2-title {
        margin-bottom: 10px !important;

        font-size: 30px !important;
        line-height: 1.08 !important;
        letter-spacing: -0.8px !important;
    }


    .ct-rf2-intro {
        font-size: 16px !important;
        line-height: 1.43 !important;
    }


    .ct-rf2-flow {
        display: flex !important;
        flex-direction: column !important;

        width: 100% !important;

        gap: 0 !important;
    }


    .ct-rf2-card,
    .ct-rf2-card--source,
    .ct-rf2-card--processing,
    .ct-rf2-card--result {
        width: 100% !important;
        max-width: none !important;

        min-height: 0 !important;
        height: auto !important;

        padding: 20px !important;
    }


    .ct-rf2-card--processing {
        padding-bottom: 94px !important;
    }


    .ct-rf2-card-title {
        font-size: 18px !important;
        line-height: 1.15 !important;
    }


    .ct-rf2-card--processing .ct-rf2-card-title {
        font-size: 20px !important;
    }


    .ct-rf2-card-description,
    .ct-rf2-card--processing .ct-rf2-card-description {
        font-size: 14px !important;
        line-height: 1.35 !important;
    }


    .ct-rf2-icon--document {
        width: 42px;
        height: 47px;
    }


    .ct-rf2-icon--gear {
        width: 49px;
        height: 49px;
    }


    .ct-rf2-icon--chart {
        width: 43px;
        height: 45px;
    }


    .ct-rf2-file-list {
        margin-top: 24px !important;
        padding-left: 4px !important;
    }


    .ct-rf2-file-list li {
        font-size: 14px !important;
    }


    .ct-rf2-result-list {
        margin-top: 24px !important;

        gap: 11px !important;
    }


    .ct-rf2-result-list li {
        font-size: 14px !important;
    }


    /* Frecce orizzontali -> verticali */

    .ct-rf2-flow-arrow {
        width: 100% !important;
        height: 48px !important;

        transform: rotate(90deg);
    }


    .ct-rf2-flow-arrow svg {
        width: 28px !important;
    }


    .ct-rf2-processing-image-wrap {
        height: auto !important;
        margin-top: 16px !important;
    }


    .ct-rf2-processing-image {
        height: auto !important;

        object-fit: contain !important;
    }


    .ct-rf2-trace-callout {
        right: 19px;
        bottom: 9px;

        width: 300px;
    }


    .ct-rf2-trace-text {
        width: 185px;

        font-size: 14px !important;
    }


    .ct-rf2-footer {
        margin-top: 25px !important;
    }


    .ct-rf2-method-link {
        font-size: 15px !important;
    }

}


/* ==========================================================
   MOBILE PICCOLO
   ========================================================== */

@media (max-width: 480px) {

    .ct-rf2-section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }


    .ct-rf2-title {
        font-size: 28px !important;
        line-height: 1.08 !important;
    }


    .ct-rf2-intro {
        font-size: 15px !important;
    }


    .ct-rf2-card,
    .ct-rf2-card--source,
    .ct-rf2-card--result {
        padding: 18px !important;
    }


    .ct-rf2-card--processing {
        padding: 18px 18px 91px !important;
    }


    .ct-rf2-card-heading,
    .ct-rf2-processing-head {
        gap: 11px;
    }


    .ct-rf2-file-list li {
        overflow-wrap: anywhere;

        font-size: 14px !important;
    }


    .ct-rf2-result-list li {
        font-size: 14px !important;
    }


    .ct-rf2-trace-callout {
        right: 7px;
        bottom: 8px;

        width: 270px;
    }


    .ct-rf2-trace-text {
        width: 170px;

        font-size: 13px !important;
    }


    .ct-rf2-trace-arrow {
        width: 113px !important;
    }

}