#kiskadi-widget {
    position: fixed;
    max-width: 500px;
    width: 100%;
    height: 100%;
    background-color: #FF941A;
    /*z-index: 999999;*/
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    user-select: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    .header {
        border-radius: 12px;
        background-color: #FA7108;
        padding: 20px;
        /*height: 84px;*/
    }

    .body {
        /*border-radius:  0 0 12px 12px;*/
        /*border-radius:  12px;*/
        background-color: #FFFFFF;
    }

    input.k-document::placeholder {
        color: #aa4400;
    }

    input.login {
        width: 90%;
        border: 1px solid #8b3f00;
        /*outline: none;*/
        border-radius: 40px;
        padding: 12px 16px;
        font-size: 16px;
        color: #8b3f00;
        flex: 1;
        margin-top: 10px;
    }

    input {
        width: 100%;
        border: none;
        outline: none;
        border-radius: 40px 0 0 40px;
        padding: 12px 16px;
        font-size: 16px;
        color: #8b3f00;
        flex: 1;
    }

    :active {
        cursor: grabbing;
    }

    input.login::placeholder {
        color: #aa4400;
    }

    form {
        margin: 10px 0;
    }
}

#kiskadi-widget-login {
    height: 100%;
    width: 100%;
    background-color: white;
    display: flex;

    .body {
        display: flex;
        width: 100%;

        .k-preloader {
            z-index: 999;
            position: absolute;
            background: white;
            width: 100%;
            height: 100%;
            display: flex;
            text-align: center;
            align-items: center;
            justify-content: center;
        }

        .k-content {
            height: 80%;
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            form {
                display: flex;
                flex-direction: column;
                align-items: center;

                .cashback-actions {
                    width: 100%;
                    display: flex;
                    justify-content: center;
                }
            }
        }
    }


}

#kiskadi-widget-panel {
    height: 100%;
    width: 100%;

    #before-search {
        height: 80%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;

        .logo-header {
            text-align: center;
        }

        .search-box {
            text-align: center;
            width: 90%;
            height: 60px;
            display: flex;
            background: white;
            border-radius: 50px;
            overflow: hidden;
            border: 4px solid #E6E6E6;

            input:-webkit-autofill,
            input:-webkit-autofill:hover,
            input:-webkit-autofill:focus,
            input:-webkit-autofill:active {
                -webkit-box-shadow: 0 0 0 30px white inset !important;
            }

            .search-btn {
                background-color: #ff8800;
                color: white;
                border: none;
                border-radius: 50%;
                padding: 10px;
                width: 60px;
                height: 60px;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
            }
        }

        .cashback-footer {
            width: 90%;
            height: 15%;
            display: flex;
            margin: 0px 12px;
            align-items: center;
            justify-content: center;
            color: #727A90;
        }

        .cashback-secondary-button {
            display: flex;
            width: 30%;
            height: 50%;
            max-height: 30px;
            padding: 15px;
            border: none;
            border-radius: 30px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s ease;
            color: #323F4980;
            background-color: #323F491A;
            align-items: center;
            justify-content: center;
        }
    }

    #cashback-box {
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;

        .k-preloader {
            position: absolute;
            background: white;
            width: 100%;
            height: 90%;
            display: flex;
            text-align: center;
            align-items: center;
            justify-content: center;
        }

        .cashback-primary-button {
            display: flex;
            width: 100%;
            max-height: 30px;
            height: 70%;
            padding: 15px;
            border: none;
            border-radius: 30px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s ease;
            color: #FFFFFF;
            background-color: #FF941A;
            align-items: center;
            justify-content: center;
        }

        #cashback-step-2 {
            button {
                width: 50% !important;
            }
        }

        .cashback-secondary-button {
            display: flex;
            width: 30%;
            height: 50%;
            max-height: 30px;
            padding: 15px;
            border: none;
            border-radius: 30px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s ease;
            color: #323F4980;
            background-color: #323F491A;
            align-items: center;
            justify-content: center;
        }

        .cashback-secondary-alternative {
            display: flex;
            width: 30%;
            height: 50%;
            max-height: 30px;
            padding: 15px;
            border: none;
            border-radius: 30px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s ease;
            color: #FF941A;
            background-color: #FF941A1A;
            align-items: center;
            justify-content: center;
        }

        .cashback-header {
            height: 20%;
            background-color: #FF941A;
        }

        .search-box {
            text-align: center;
            width: 90%;
            height: 60px;
            display: flex;
            background: #FFFFFF;
            border-radius: 50px;
            overflow: hidden;
            border: 4px solid #E6E6E6;
            z-index: 999;
            top: 10%;
            position: absolute;

            .search-btn {
                background-color: #ff8800;
                color: white;
                border: none;
                border-radius: 50%;
                padding: 10px;
                width: 60px;
                height: 60px;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-left: 8px;
                cursor: pointer;

                i {
                    font-style: normal;
                }
            }
        }

        #cashback-body {
            width: 100%;
            height: 90%;
            background-color: #F5F5F5;
            display: flex;
            flex-direction: column;
            align-items: center;

            .cashback-data {
                width: 88%;
                border: 1px solid rgba(50, 63, 73, 0.20);
                height: 80%;
                background-color: #FFFFFF;
                border-radius: 18px;
                margin-top: 48px;
                display: flex;
                flex-direction: column;
                align-items: center;

                #edit-sale {
                    margin-right: 8px;
                }

                .cashback-data-header {
                    padding: 8px 16px 16px;
                    width: 90%;
                    height: 12%;

                    .header-data {
                        display: flex;
                        justify-content: space-between;
                        border-bottom: 1px solid rgba(50, 63, 73, 0.10);
                        align-items: center;
                    }

                    hr {
                        margin: 0;
                    }
                }

                .cashback-data-body {
                    width: 90%;

                    .balance-box {
                        display: flex;
                        justify-content: space-between;
                        font-size: 14px;

                        p {
                            color: #323F49;
                            margin: 8px 0 0 0;
                        }

                        #balance-text {
                            margin-right: 4px;
                        }
                    }
                }

                .cashback-text {
                    margin-left: 16px !important;
                }

                .cashback-value-box {
                    width: 92%;
                    height: -webkit-fill-available;
                    border-radius: 20px;
                    border: 1px solid rgba(50, 63, 73, 0.20);
                    margin-top: 16px;

                    p {
                        margin: 0;
                    }

                    .cashback-available {
                        width: 100%;
                        height: 40%;
                        border-radius: 20px 20px 0 0;
                        display: flex;
                        justify-content: space-between;
                        align-items: center;

                        .currency-input {
                            width: 50%;
                            display: flex;
                            align-items: center;

                            p {
                                width: 20%;
                            }

                            input {
                                text-align: center;
                                background: inherit;
                                color: grey;
                            }
                        }
                    }

                    .cashback-sale-value {
                        width: 100%;
                        height: 60%;
                        display: flex;
                        flex-direction: row;
                        justify-content: space-between;
                        align-items: center;
                        background-color: #F5F5F6;
                        border-radius: 20px 20px 0 0;

                        .currency-input {
                            width: 50%;
                            display: flex;
                            align-items: center;

                            p {
                                width: 20%;
                            }

                            input {
                                font-size: 22px;
                                text-align: center;
                                background: inherit;
                                color: green;
                            }
                        }
                    }

                    .top-rounded {
                        border-radius: 20px 20px 0 0;
                    }

                    .bottom-rounded {
                        border-radius: 0 0 20px 20px;
                    }
                }

                .cashback-actions {
                    width: 90%;
                    height: 15%;
                    margin: 8px;
                    display: flex;
                    justify-content: flex-end;
                    align-items: center;
                    justify-content: space-between;

                    .actions {
                        width: 100%;
                        display: flex;
                        justify-content: flex-end;
                    }
                }
            }

            .cashback-footer {
                width: 90%;
                height: 15%;
                display: flex;
                margin: 0px 12px;
                align-items: center;
                justify-content: space-between;
                color: #727A90;
            }
        }
    }

    #confirmation-box {
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;

        .confirmation-body {
            width: 100%;
            height: 100%;
            background-color: #F5F5F5;
            display: flex;
            flex-direction: column;
            align-items: center;


            .confirmation-header {
                height: 30%;
                width: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 24px;
                flex-direction: column;

                .icon-ring {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 12px;
                }

                .icon-main {
                    background-color: #FF5C00;
                    /* laranja forte */
                    border-radius: 50%;
                    width: 56px;
                    height: 56px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }

                .icon-main svg {
                    width: 28px;
                    height: 28px;
                }

                .icon-small {
                    background-color: #FFEAD9;
                    /* laranja claro */
                    border-radius: 50%;
                    width: 32px;
                    height: 32px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }

                .icon-small svg {
                    width: 18px;
                    height: 18px;
                }
            }

            .transaction-box {
                width: 88%;
                border: 1px solid rgba(50, 63, 73, 0.20);
                height: 60%;
                background: rgba(114, 122, 144, 0.10);
                border-radius: 18px;
                display: flex;
                flex-direction: column;
                align-items: center;

                .transaction-data-inner-box {
                    background-color: white;
                    width: 95%;
                    height: 70%;
                    margin: 8px;
                    border-radius: 18px;

                    .transaction-data {
                        width: 95%;
                        height: 50%;
                        display: flex;
                        justify-content: space-between;
                        padding: 0px 8px;

                        .container {
                            display: flex;
                            width: 100%;
                            margin-top: 24px;

                            .consumer-data {
                                width: 60%;
                                padding-left: 8px;

                                #transaction-label {
                                    margin: 0;
                                }

                                #transaction-time {
                                    color: var(--Grey-grey-500, #727A90);
                                    text-overflow: ellipsis;
                                    font-size: 14px;
                                    font-style: normal;
                                    font-weight: 400;
                                    margin: 8px 0 0 0;
                                }
                            }

                            #sale-value {
                                width: 30%;
                                text-align: right;
                                margin-top: 0;
                            }

                            .icon-box {
                                .icon-small {
                                    background-color: #36A4111A;
                                    /* laranja claro */
                                    border-radius: 50%;
                                    width: 36px;
                                    height: 36px;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                }
                            }
                        }

                    }

                    .balance-data {
                        width: 95%;
                        height: 40%;
                        margin: 0px 2.5%;
                        display: flex;
                        border-radius: 4px;
                        justify-content: space-evenly;
                        flex-direction: column;
                        background-color: #FAFAFA;
                        color: #7991A4;
                        font-size: 12px;
                        font-style: normal;
                        font-weight: 600;

                        .balance-box {
                            display: flex;
                            justify-content: space-between;
                            margin: 0 8px;
                        }
                    }
                }

                .balance-action {
                    width: 100%;
                    height: 30%;
                    display: flex;
                    align-items: center;
                    justify-content: flex-end;
                    margin-right: 32px;

                    .cashback-secondary-button {
                        display: flex;
                        width: 50%;
                        height: 50%;
                        padding: 15px;
                        border: none;
                        border-radius: 10px;
                        font-weight: bold;
                        cursor: pointer;
                        transition: 0.3s ease;
                        color: #323F4980;
                        background-color: #323F491A;
                        align-items: center;
                        justify-content: center;
                    }
                }
            }

            #confirmation-footer {
                height: 15%;
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: center;

                .cashback-primary-button {
                    display: flex;
                    width: 40%;
                    height: 70%;
                    padding: 15px;
                    border: none;
                    border-radius: 30px;
                    font-size: 16px;
                    font-weight: bold;
                    cursor: pointer;
                    transition: 0.3s ease;
                    color: #FFFFFF;
                    background-color: #FF941A;
                    align-items: center;
                    justify-content: center;
                }
            }
        }
    }
}

/*@media screen and (max-width: 400px) {*/
/*    #kiskadi-widget {*/
/*        width: 90%;*/
/*        left: 5% !important;*/
/*        right: 5% !important;*/
/*    }*/
/*}*/


.cashback-title {
    text-align: center;
    color: #727A9080;
    margin-bottom: 10px;

    small strong {
        color: #727A9080;
    }
}


.cashback-content {
    background-color: #f0fdf4;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-bottom: 10px;

    small {
        font-size: 16px;
        color: #4caf50;
    }
}

.cashback-total,
.cashback-order-value {
    font-size: 14px;
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 4px;
}

.cashback-value {
    font-size: 40px;
    font-weight: bolder;
    color: #2e7d32;
    margin: 5px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cashback-order {
    font-size: 20px;
    font-weight: bolder;
    color: #2e7d32;
    margin: 5px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.k-btn-secondary {
    display: block;
    width: 50%;
    height: 50px;
    padding: 15px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
    background-color: #FA71081A;
    color: #FA7108;
}

button[disabled].k-btn-secondary {
    background-color: #F5F5F5CC;
    color: #727A90;
}

button[disabled].k-btn-primary-outline {
    border: 2px solid #F5F5F5CC;
    color: #727A90;
}

.k-btn-primary {
    display: block;
    width: 50%;
    height: 50px;
    padding: 15px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
    color: #FFFFFF;
    background-color: #FA7108;
    margin-top: 15px;
}

.k-btn-primary-outline {
    display: block;
    width: 50%;
    height: 50px;
    padding: 15px;
    border: 1px solid #FA7108;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
    color: #FA7108;
    background-color: #FFFFFF;
}

.k-btn-default-subline {
    border: none;
    text-decoration: underline;
    display: block;
    width: 100%;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    color: #727A9080;
    background-color: #FFFFFF;
    margin-top: 10px;
}

#kiskadi-widget .footer {
    display: flex;
    justify-content: center;
    color: #727A90;
    padding: 5px;
}

input.small {
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 50px;
    border: 1px solid #2e7d32;
    color: #2e7d32;
    background-color: #f0fdf4;
    width: 150px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.input-group {
    display: flex;
    align-items: center;
    max-width: 200px;
    border: none;
    border-radius: 50px;
    overflow: hidden;
    background-color: #ddf4e6;
    color: #2e7d32;

    .input-group input::placeholder {
        color: #2e7d32;
        opacity: 1;
    }

    .input-prefix {
        padding: 0 12px;
        font-weight: bold;
        font-size: 20px;
    }

    .input-group input {
        font-size: 40px;
        border: none;
        outline: none;
        padding: 10px;
        flex: 1;
        background-color: #ddf4e6;
        width: 100%;
        text-align: right;
        color: #2e7d32;
        font-weight: bold;
    }
}