﻿/* Override Radzen Modal Styles */
.rz-dialog {
   /* background-color: transparent !important;
    box-shadow: none !important;*/
}

.validation-summary {
    color: red;
    font-size: 0.9em;
    list-style: none;
    padding: 0;
}

.validation-error {
    color: red !important;
    font-size: 0.9em !important;
}

.modalPopUp .rz-label {
    vertical-align: middle;
    margin-block-start: 0;
    margin-block-end: 0;
    color: #1f1976;
    font-size: 20px;
    font-weight: 900;
    margin: 0 0 5px;
    letter-spacing: -0.1em;
}

/* Override Radzen button styles */
.rz-button {
    all: unset; /* Reset all Radzen styles */
    cursor: pointer;
    display: inline-block;
    align-items: center;
    max-width: 240px;
    height: 40px;
    background: #fff 5px center / 30px no-repeat !important;
    transition: 0.2s linear all;
    color: #000;
    font-weight: 900;
    font-size: 16px;
    text-align: left;
    padding: 0 10px 0 10px;
    letter-spacing: -0.1em;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 5px;
    text-transform: lowercase;
    position: relative;
    color: black !important;
}

    .rz-button#buttonYes .rz-button-text::before {
        content: ''; /* Ensures the pseudo-element is rendered */
        display: inline-block; /* Makes it inline so it appears next to the text */
        background-image: url('../images/icons/tick.svg'); /* Your icon */
        background-size: contain; /* Ensures the icon scales correctly */
        background-repeat: no-repeat; /* Prevents repetition of the image */
        width: 32px; /* Set width for the icon */
        height: 32px; /* Set height for the icon */
        vertical-align: middle; /* Aligns the icon with the text */
    }

    .rz-button#buttonSearchBasket .rz-button-text::before {
        content: ''; /* Ensures the pseudo-element is rendered */
        display: inline-block; /* Makes it inline so it appears next to the text */
        background-image: url('../images/icons/scan.svg'); /* Your icon */
        background-size: contain; /* Ensures the icon scales correctly */
        background-repeat: no-repeat; /* Prevents repetition of the image */
        width: 32px; /* Set width for the icon */
        height: 32px; /* Set height for the icon */
        vertical-align: middle; /* Aligns the icon with the text */
    }

    .rz-button#buttonResetBasket .rz-button-text::before {
        content: ''; /* Ensures the pseudo-element is rendered */
        display: inline-block; /* Makes it inline so it appears next to the text */
        background-image: url('../images/icons/reset.svg'); /* Your icon */
        background-size: contain; /* Ensures the icon scales correctly */
        background-repeat: no-repeat; /* Prevents repetition of the image */
        width: 28px; /* Set width for the icon */
        height: 28px; /* Set height for the icon */
        vertical-align: middle; /* Aligns the icon with the text */
        margin-right: 5px;
    }

/* Main toggle container */
.custom.rz-toggle-button {
    position: relative;
    width: 50px;
    height: 24px;
    border-radius: 12px;
    background-color: #aaadaa !important;
    transition: background-color 0.3s ease;
    border: none;
    padding: 0;
    cursor: pointer;
}

    /* Active state (ON) */
    .custom.rz-toggle-button.rz-state-active {
        background-color: #4caf50 !important; /* Green color for ON state */
    }

    /* The toggle switch (slider) */
    .custom.rz-toggle-button::after {
        content: "";
        position: absolute;
        top: 2px;
        left: 2px;
        width: 20px;
        height: 20px;
        background-color: #fff;
        border-radius: 50%;
        transition: transform 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    /* Move the slider to the right in the active state (ON) */
    .custom.rz-toggle-button.rz-state-active::after {
        transform: translateX(26px);
    }

/* Hidden input for accessibility */
.custom.rz-helper-hidden-accessible input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Remove the default text (if present) */
.custom.rz-button-text {
    display: none;
}


/* Radzen cards with WSSC look & feel */
/* Radzen cards with WSSC look & feel */
div.rz-card.rz-variant-filled {
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    background: #f9f9f9;
    margin: 20px auto;
    position: relative;
    box-shadow: 0px 0px 0px 2px #e3e3e3, 0px 0px 0px 3px rgba(0, 0, 0, 0.3), 0px 15px 8px -12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    padding: 0;
    
}

    /* Header styles */
    div.rz-card.rz-variant-filled header {
        background: #817192 !important;
        font-weight: bold;
        text-align: left;
        padding: 10px 10px 10px 10px; /* Header padding */
        width: 100%; /* Ensures full width */
        box-sizing: border-box;
        color: #fff;
        font-size: 20px;
        line-height: 20px;
    }
         div.rz-card.rz-variant-filled header h3{
             margin-bottom:0;
             font-weight: bold;
             font-size: 16px;
         }
    /* Content styles */
    div.rz-card.rz-variant-filled > p {
        padding: 0; /* Add padding to the content */
        margin: 0; /* Remove default paragraph margin */
    }
    div.rz-card.rz-variant-filled h2.wssc {
	    font-size: 24px;
        margin: 10px 0;
    }

    div.rz-card.rz-variant-filled .content-wrapper {
        padding: 10px 20px;
    }
    div.rz-card.rz-variant-filled .content-wrapper:has(.column) {
        display: flex;
        flex-flow: row nowrap;
        align-items: stretch;
        gap: 20px;
    }
    div.rz-card.rz-variant-filled .content-wrapper:has(.column) > .column {
        flex: 0 1 auto;
    }
    div.rz-card.rz-variant-filled .toggle-panel {
        display: block;
        color: #523e6b; 
        font-weight: 900;
        letter-spacing: -1px;
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
        padding: 0 30px 0 0;
        background: transparent url(../images/icons/cross.svg) center right / 24px no-repeat;
        height: 24px;
        line-height: 24px;
        transition: all 0.25s ease;
    }
    div.rz-card.rz-variant-filled .toggle-panel::before {
        content: 'hide';
    }
    div.rz-card.rz-variant-filled .toggle-panel.hide::before {
        content: 'show';
    }
    div.rz-card.rz-variant-filled .toggle-panel:hover {
        background-image: url(../images/icons/cross-blue.svg);
    }
    div.rz-card.rz-variant-filled .toggle-panel.hide {
        background-image: url(../images/icons/arrow-down.svg);
    }
    div.rz-card.rz-variant-filled .toggle-panel.hide:hover {
        background-image: url(../images/icons/arrow-down-blue.svg);
    }

    /* Footer styles */
    div.rz-card.rz-variant-filled footer {
        padding: 20px;
    }


@media (max-width: 400px)
{
    div.rz-card.rz-variant-filled .toggle-panel::before {
        display: none;
    }
}


/* Modal overflow - Added to allow the trophy model sit behind our modalPopup */
.rz-dialog-content { overflow:unset; padding:0!important; height:100%; position:relative;}

/*------------------------------------------------------------------------- HOW TO VIDEOS SUPPORT PANEL
*/
div.rz-card.rz-variant-filled.training-video-section {

}
div.rz-card.rz-variant-filled.training-video-section.hidden #supportVideos {
	opacity: 0;
	height: 0;
}

/*------------------------------------------------------------------------- WHATSAPP SUPPORT PANEL
*/
div.rz-card.rz-variant-filled.whatsApp {
    background: #075e54 url(../images/bg-semi-circle.svg) center top / auto 90% no-repeat;
    padding: 10px 0;
}
div.rz-card.rz-variant-filled.whatsApp::before {
    content: '';
    display: block;
    position: absolute;
    right: 20px;
    bottom: 0;
    width: 145px;
    height: 140px;
    background: url(../images/whatsapp-support.svg) center center / 100% no-repeat;
    opacity: 1;
    transition: opacity 0;
    pointer-events: none;
}
.whatsApp h3 {
    color: #25d366;
    font-weight: 900;
    font-size: 32px;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 0 10px;
    margin: 0 0 20px;
}
.whatsApp h3::after {
    content: '';
    display: block;
    width: 200px;
    height: 45px;
    background: url(../images/whatsapp-logo.svg) center center / 100% no-repeat;
}
.whatsApp h5 {
    margin: 0 0 10px;
}
.whatsApp h5 a {
    color: #53d087;
    font-weight: 900;
    font-size: 28px;
    font-size: 28px;
    transition: color 0.25s ease;
}
.whatsApp h5 a:hover {
    color: #5be594;
}

.whatsApp p {
    color: #fff;
    font-size: 15px;
    margin: 0 0 10px;
}
.whatsApp img {
    display: block;
    width: 120px;
    min-width: 100px;
    transition: filter 0.2s linear;
}
.whatsApp img:hover {
    filter: brightness(110%);
}

@media (max-width: 767px) and (min-width: 560px)
{
    div.rz-card.rz-variant-filled.whatsApp::before {
        opacity: 0;
    }
}

@media (max-width: 560px)
{
    div.rz-card.rz-variant-filled.whatsApp::before {
        left: 20px;
        transform: scaleX(-1);
    }
    .whatsApp h3 * {
        flex: 1 0 100%;
    }
}

@media (max-width: 440px)
{
    div.rz-card.rz-variant-filled.whatsApp .content-wrapper:has(.column) {
        flex-flow: column nowrap;
    }
    div.rz-card.rz-variant-filled.whatsApp::before {
        opacity: 0;
    }
    .whatsApp h3::after {
        width: 100%;
        background-size: auto;
        background-position: left center;
    }
}

/*------------------------------------------------------------------------- FAQS RZ-STACK PANEL
*/
.faqs-section .rz-stack {
    height: 200px;
    opacity: 1;
    transition: opacity 0.2s linear, height 0.2s linear;
}
.faqs-section .rz-stack.hidden {
    opacity: 0;
    height: 0;
}
.faqs-section .rz-accordion-header {
    border: 2px solid #e3e3e3;
    border-radius: 10px;
    margin: 0 0 10px;
    background: #fff url(../images/icons/question-mark.svg) 10px center / 30px no-repeat;
    padding-left: 35px;
}
.faqs-section .rz-accordion-header:has(a[title="Collapse"]) {
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    margin: 0;
}
.faqs-section .rz-accordion-header a {
    font-weight: bold;
    color: #1f1976;
}
.faqs-section .rz-accordion-content {
    border: 2px solid #e3e3e3;
    border-radius: 0 0 10px 10px;
    margin: 0 0 10px;
    border-top: 0;
    line-height: 1.4em;
    font-size: 15px;
    padding: 0 50px 15px 50px;
    background: #fff url(../images/icons/answer.svg) 10px top / 30px no-repeat;
}

/*------------------------------------------------------------------------- PAGER ELEMENT FOR TABLES
*/
.rz-pager {
    padding: 0;
    padding-inline-end: 0;
    display: flex;
}
.rz-pager a {
    flex: 0 0 48px;
}
.rz-pager-prev {
    margin-inline-end: 0;
}
.rz-pager-next {
    margin-inline-start: 0;
}
.rz-pager-first {
    margin-left: auto;
}

@media(max-width: 1080px)
{
    .rz-pager .rz-pager-summary {
        flex: 1 1 100%;
        text-align: center;
        margin: 5px auto;
    }
    .rz-pager {
        justify-content: center;
    }
    .rz-pager-first {
        margin-left: 0;
    }

}

/*------------------------------------------------------------------------- FIELDSETS
*/
.rz-fieldset {
    border: 0;
    margin-bottom: 10px;
}
.rz-fieldset-content {
    padding: 0;
}
.rz-multiselect, .rz-dropdown {
    width: 100%;
}

/*------------------------------------------------------------------------- PRIVACY NOTICE (SETTINGS)
*/
div.rz-card.rz-variant-filled.privacyNotice {
    font-size: 15px;
    padding-bottom: 10px;
}
.privacyNotice p {
    margin-bottom: 10px;
    line-height: 1.3em;
}
div.rz-card.rz-variant-filled.setTimeZone {
    font-size: 15px;
    padding-bottom: 10px;
}
.rz-button.rz-primary.rz-shade-default.savePreferences {
    margin: 10px 0;
    background: #fff url(../images/icons/save.svg) 5px center / 20px no-repeat !important;
    padding-left: 40px;
}

/*------------------------------------------------------------------------- MODAL OVERRIDES
*/
@media (max-width: 768px) {
    .rz-dialog:not(.rz-dialog-confirm):not(.rz-dialog-alert) {
        position: relative;
        width: calc(100% - 40px) !important;
        inset-block-start: 0px;
        border-radius: 10px;
    }
}


/* Radzen Modal - alerts */
.rz-dialog-titlebar {
    padding: 0;
}
.rz-dialog-title {
    color: #1f1976;
    font-size: 40px;
    font-weight: 900;
    margin: 0 0 20px;
    letter-spacing: -0.1em;
    
}
.rz-dialog-alert-buttons button:hover {
    background: #523e6b;
    color: #fff;
}