﻿
/*Styles */
:root {
    --brand: #FF6600;
    --brand-light: #FFEEE5;
    --color-primary: #5F4B8B;
    --color-accent: #F7B801;
    --color-success: #43AA8B;
    --color-warning: #F3722C;
    --color-danger: #DF2935;
    --color-surface: #F7F9FB;
    --color-surface-dark: #232946;
    --color-border: #E4E9F7;
    --colour-light-gray: #D9D9D9;
    --colour-light-grayish-orange: #FBF7EC;
    --light-green: #D2F4EA;
    --keyline-grey: #878787;
    --border-fill: #DDD;
    --color-text: #232946;
    --color-text-muted: #8D99AE;
    --body: #4B4B4B;
    --dark: #282828;
    --content-title-font-family: "Work Sans", sans-serif;
    --font-size-8: 0.8rem;
    --font-size-9: 0.7rem;
    --font-size-10: 0.6rem;
    --font-weight-500: 500;
    --radius-lg: 1.25rem;
    --radius: 0.75rem;
    --shadow: 0 4px 32px 0 rgba(35, 41, 70, 0.08);
    --white: #fff;
    --percentage-80: 80%;
    --transition: all 0.18s cubic-bezier(.4,0,.2,1);
}


html, body {
    font-family: var(--content-title-font-family);
    background: var(--color-surface);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}


a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    background-color: #281C4A !important;
    color: #ffffff !important;
    border-color: #281C4A !important;
}

    .btn-primary:focus,
    .btn-primary:hover {
        background-color: #3a2a6a !important;
        border-color: #3a2a6a !important;
        color: #ffffff !important;
    }

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


.btn-outline-primary {
    background-color: #233E99 !important;
    color: #ffffff !important;
    border-color: #233E99 !important;
}

    .btn-outline-primary:hover,
    .btn-outline-primary:focus,
    .btn-outline-primary:active,
    .btn-outline-primary.active,
    .show > .btn-outline-primary.dropdown-toggle {
        background-color: #1A2B6B !important;
        color: #ffffff !important;
        border-color: #1A2B6B !important;
    }

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

/* Modern validation message styling */
.validation-message {
    color: #E14444 !important;
    background: #FFF6F6;
    border-radius: 6px;
    padding: 6px 12px;
    margin-top: 7px;
    margin-bottom: 7px;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.4;
}

.responsive-text {
    font-size: 1.11rem !important;
    color: #222;
    line-height: 1.55;
}

@media (max-width: 768px) {
    .responsive-text {
        font-size: 0.98rem !important;
    }

    .validation-message {
        font-size: 0.98rem !important;
    }
}

p {
    font-size: 1.07rem;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/*------------------Consent---------------------*/


.consent-checkbox {
    width: 2em;
    height: 2em;
    border: 2px solid #8DA7E2;
    background: #F6F8FB;
    border-radius: 0.45em;
    transition: border 0.18s, box-shadow 0.18s;
    margin-right: 0.55em;
    accent-color: #233E99;
}

.consent-checkbox {
    width: 2em;
    height: 2em;
    border: 2px solid #8DA7E2;
    background: #F6F8FB;
    border-radius: 0.45em;
    transition: border 0.18s, box-shadow 0.18s;
    margin-right: 0.55em;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    position: relative;
}

    .consent-checkbox:checked {
        border-color: #233E99;
        background: #E3EAFD;
        content: '✔';
        color: #233E99;
        left: 0.32em;
        right: auto;
        top: 0.05em;
        padding-bottom: 0.01em;
    }

        .consent-checkbox:checked::after {
            content: '✔';
            color: #233E99;
            font-size: 1.3em;
            
            pointer-events: none;
        }


.continue-next-buttons {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .continue-next-buttons {
        flex-direction: column;
        gap: 0.7rem;
        align-items: stretch;
    }
}

.custom-consent-modal .modal-content {
    animation: fadeInDown 0.33s cubic-bezier(.39,.575,.565,1) both;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translate3d(0, -24px, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}


/*
    Forms
*/
.form-container {
    background: #fff;
    box-shadow: 0 8px 32px rgba(35, 62, 153, 0.09);
    border-radius: 1.2rem;
    padding: 2.5rem 1.4rem 2.7rem 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    transition: box-shadow 0.22s;
}

@media (max-width: 600px) {
    .form-container {
        padding: 1.1rem 0.5rem 2rem 0.5rem;
    }
}

/* Unified section title style */
.section-title, .SectionTitle, .form-section-title {
    font-size: 1.35rem;
    color: #233E99;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1.7rem;
}

.section-hint {
    color: #555e77;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.required-asterisk {
    color: #E14444;
    margin-right: 4px;
    font-size: 1.12em;
    vertical-align: middle;
}

.form-group label.form-label, .form-label {
    font-weight: 600;
    color: #233E99;
    font-size: 1.08rem;
}

/* Modern input fields */
.modern-input, .form-control, .modern-dropdown {
    border-radius: 0.7rem !important;
    border: 2px solid #dae0f3 !important;
    font-size: 1.08rem;
    font-weight: 500;
    padding: 10px 16px;
    background: #fafdff;
    color: #1e1e30;
    min-height: 44px;
    transition: border-color 0.17s;
}

    .modern-input:focus, .form-control:focus, .modern-dropdown:focus {
        border-color: #233E99 !important;
        background: #fff;
        outline: none;
    }

/* Radios and labels (Yes/No, etc) */
.form-check-input {
    width: 1.6em;
    height: 1.6em;
    border-radius: 50%;
    border: 2px solid #8DA7E2;
    background: #F6F8FB;
    margin-right: 0.5em;
    transition: border 0.18s, box-shadow 0.18s;
    box-shadow: 0 0 0 0 #233E99;
}

    .form-check-input:checked {
        border-color: #233E99;
        background: #E3EAFD;
        box-shadow: 0 0 0 2px #8DA7E2;
    }

    .form-check-input:focus {
        outline: 2px solid #233E99;
        box-shadow: 0 0 0 2.5px #B1C4FB;
    }

.form-check-label {
    font-weight: 500;
    font-size: 1.09rem;
    color: #233E99;
    margin-bottom: 0;
}

.pointer {
    cursor: pointer;
}

.gap-5 {
    gap: 2.2rem !important;
}

@media (max-width: 800px) {
    .gap-5 {
        gap: 1.2rem !important;
    }

    .btn-custom-brand, .btn-custom-plain {
        font-size: 1rem;
        padding: 0.8rem 1.1rem;
    }
}

/* Custom button style for brand */
.btn-custom-brand {
    background: linear-gradient(90deg, #233E99 0%, #516FDB 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 1.18rem;
    padding: 0.9rem 1.4rem;
    border: none;
    border-radius: 0.95rem;
    box-shadow: 0 2px 8px rgba(35, 62, 153, 0.09);
    transition: background 0.22s, box-shadow 0.18s;
    vertical-align: middle;
}

    .btn-custom-brand:hover, .btn-custom-brand:focus {
        background: linear-gradient(90deg, #2C4ACB 0%, #415CBA 100%);
        box-shadow: 0 4px 18px rgba(35, 62, 153, 0.13);
    }

.btn:active {
    transform: scale(0.97);
}

.btn-custom-content {
    width: 100%;
    text-align: center;
    letter-spacing: 0.02em;
}

/* .alert-danger style for eligibility feedback */
.alert-danger {
    border-radius: 0.75rem;
    background: linear-gradient(90deg, #f8d7da 0%, #FFF6F6 100%);
    color: #721c24;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08);
    padding: 1.1rem 1.5rem;
    font-size: 1.09rem;
    margin-top: 1.3rem;
    margin-bottom: 1.3rem;
    animation: fadeIn 0.44s cubic-bezier(.39,.575,.565,1) both;
}

hr {
    border-top: 2px solid #E1E8F6;
    margin-top: 0.7rem;
    margin-bottom: 2.2rem;
}

@media (max-width: 600px) {
    .section-title, .SectionTitle, .form-section-title {
        font-size: 1.07rem;
    }

    .btn-custom-brand {
        font-size: 1rem;
        padding: 0.7rem 1.1rem;
    }
}

/* Banner for Park Homes Warm Home Discount */
.phwhd-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(90deg, #233E99 70%, #5066c7 100%);
    border-radius: 0 0 1.2rem 1.2rem;
    padding: 38px 0 30px 0;
    z-index: 2;
    box-shadow: 0 2px 16px 0 rgba(35,62,153,0.06);
}

.phwhd-banner-content {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.phwhd-banner h1 {
    color: #fff;
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.18;
}

.phwhd-banner p {
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0 auto;
    font-weight: 400;
    max-width: 760px;
}

@media (max-width: 600px) {
    .phwhd-banner-content {
        padding: 0 12px;
    }

    .phwhd-banner h1 {
        font-size: 1.35rem;
        margin-bottom: 10px;
    }

    .phwhd-banner p {
        font-size: 1rem;
    }
}

/*ParkHomesDropdown.razor.css*/
.modern-dropdown {
    border-radius: 0.7rem;
    border: 2px solid #dae0f3;
    font-size: 1.08rem;
    font-weight: 500;
    padding: 10px 16px;
    background: #fafdff;
    color: #1e1e30;
    transition: border-color 0.15s;
    min-height: 44px;
}

    .modern-dropdown:focus {
        outline: none;
        border-color: #233E99;
        background: #fff;
    }

/* ContinueNextButtons.razor.css */
.continue-next-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    margin-top: 1.7rem;
}

@media (max-width: 600px) {
    .continue-next-buttons {
        flex-direction: column;
        gap: 0.7rem;
        align-items: stretch;
    }
}

/* --------------------- */
/* Landing Page, Hero, Card styles (new/updated) */
/* --------------------- */

.landing-hero {
    background: linear-gradient(90deg, #684cff 0%, #233E99 100%);
    color: #fff;
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(40,28,74,0.13);
    padding: 2.5rem 1.5rem 2.2rem 1.5rem;
    margin-bottom: 3.5rem;
    margin-top: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .landing-hero h1 {
        font-size: 2.7rem;
        font-weight: 800;
        letter-spacing: -1px;
        margin-bottom: 1.2rem;
    }

    .landing-hero p {
        font-size: 1.19rem;
        font-weight: 500;
        opacity: 0.96;
        margin-bottom: 0;
    }

.landing-cards-row {
    margin-top: 1.2rem;
    margin-bottom: 2.8rem;
}

/* Card grid spacing and style */
.landing-card {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 8px 32px rgba(40,28,74,0.09);
    border: none;
    transition: transform 0.17s, box-shadow 0.18s;
    cursor: pointer;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    outline: none;
}

    .landing-card:focus, .landing-card:hover:not(.disabled) {
        transform: translateY(-4px) scale(1.03);
        box-shadow: 0 12px 40px rgba(106,76,255,0.12);
        z-index: 2;
    }

    .landing-card.disabled,
    .landing-card[tabindex="-1"] {
        opacity: 0.53;
        filter: grayscale(0.1);
        cursor: not-allowed;
        border: 2px dashed #cfd6e8;
        background: #f7f8fb;
    }

/* Card badge styling */

/*.card, .rz-card, .center {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
}*/

.card-badge {
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.28rem 1.1rem 0.28rem 1.1rem;
    border-radius: 1rem;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(40,28,74,0.06);
    display: inline-block;
    margin-left: 0.2rem;
}

    .card-badge.inactive {
        background: #f2eafe;
        color: #a18ad8;
        border: 1px solid #e4e7f8;
    }

.card-img {
    border-radius: 0.7rem;
    background: #f6f5fd;
    box-shadow: 0 2px 8px rgba(40,28,74,0.05);
    padding: 0.4rem;
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
    margin-right: 0.7rem;
}

.card-content {
    font-size: 1.08rem;
    color: #2c2b48;
    font-weight: 500;
    margin-top: 0.2rem;
}

/* Responsive fixes */
@media (max-width: 992px) {
    .landing-hero h1 {
        font-size: 1.6rem;
    }

    .landing-hero {
        padding: 1.4rem 0.7rem;
    }

    .landing-card {
        min-height: 220px;
    }
}

@media (max-width: 767px) {
    .landing-hero {
        padding: 1rem 0.5rem;
    }

    .landing-card {
        min-height: 160px;
    }

    .landing-cards-row {
        gap: 1.3rem;
    }
}

@media (max-width: 600px) {
    .landing-hero h1 {
        font-size: 1.18rem;
    }

    .landing-hero p {
        font-size: 1rem;
    }

    .landing-card {
        min-height: 110px;
    }
}



/* ---- Brand Loader Styles (do not remove!) ---- */

.brand-loader-backdrop {
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-width: 100vw;
}

.brand-loader {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .brand-loader .circle {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 8px solid #fff;
        border-top: 8px solid #233E99; /* Brand blue */
        border-bottom: 8px solid #FF6600; /* Brand orange */
        animation: spin 1.2s linear infinite;
        box-shadow: 0 0 24px #233E99, 0 0 44px #FF6600;
    }

    .brand-loader .circle2 {
        border-top: 8px solid #FF6600;
        border-bottom: 8px solid #233E99;
        border-left: 8px solid #fff;
        border-right: 8px solid #fff;
        animation: spin-rev 1.8s linear infinite;
        opacity: 0.65;
    }

    .brand-loader .logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 64px;
        height: 64px;
        z-index: 2;
        pointer-events: none;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-rev {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}


/* Toast notification styles */

.custom-toast {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    min-width: 300px;
    max-width: 96vw;
    z-index: 9999;
    background: #fff;
    color: #222;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13), 0 1.5px 3px rgba(0,0,0,0.09);
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(.4,.14,.23,1), transform 0.35s cubic-bezier(.33,1,.68,1), box-shadow 0.3s cubic-bezier(.4,.14,.23,1);
}

.toast-info {
    border-left: 6px solid #233E99 !important;
}

.toast-success {
    border-left: 6px solid #2EB872 !important;
}

.toast-warning {
    border-left: 6px solid #FFC107 !important;
}

.toast-error {
    border-left: 6px solid #E64747 !important;
}

.toast-info i {
    color: #233E99;
}

.toast-success i {
    color: #2EB872;
}

.toast-warning i {
    color: #FFA800;
}

.toast-error i {
    color: #E64747 !important;
}

@media (max-width: 600px) {
    .custom-toast {
        min-width: 180px;
        font-size: 0.97rem;
        padding: 0.8rem 0.6rem;
        top: 1rem;
        right: 0.5rem;
    }
}


/*---------------Landing page----------------*/


.landing-hero-enhanced {
    position: relative;
    background: linear-gradient(90deg, #684cff 0%, #233E99 100%);
    border-radius: 2.5rem;
    box-shadow: 0 8px 40px rgba(40,28,74,0.10);
    padding: 3rem 1.5rem 2.9rem 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3.5rem;
    overflow: hidden;
    z-index: 1;
    min-height: 170px;
}

    .landing-hero-enhanced .landing-hero-title {
        font-size: 2.7rem;
        font-weight: 800;
        letter-spacing: -1.1px;
        text-shadow: 0 3px 14px rgba(0,0,0,0.10);
    }

.landing-hero-bg-svg {
    position: absolute;
    right: 0;
    top: 0;
    width: 270px;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="270" height="170" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="130" cy="85" r="80" fill="%23fff" fill-opacity="0.12"/></svg>') no-repeat right top;
    z-index: 0;
    opacity: 1;
}

@media (max-width: 900px) {
    .landing-hero-enhanced {
        padding: 2rem 0.7rem 1.6rem 0.7rem;
        min-height: 110px;
    }

        .landing-hero-enhanced .landing-hero-title {
            font-size: 1.8rem;
        }

    .landing-hero-bg-svg {
        width: 160px;
    }
}

@media (max-width: 600px) {
    .landing-hero-enhanced {
        padding: 1.2rem 0.2rem 1.2rem 0.2rem;
        border-radius: 1.3rem;
    }

        .landing-hero-enhanced .landing-hero-title {
            font-size: 1.16rem;
        }

    .landing-hero-bg-svg {
        width: 100px;
    }
}

/* Landing cards */

.landing-hero-uk {
    background: linear-gradient(90deg, #715aff 0%, #1a3576 100%);
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(32,38,74,0.13);
    margin-top: 2.2rem;
    margin-bottom: 2.5rem;
    min-height: 165px;
    position: relative;
    z-index: 1;
}

.landing-hero-title-uk {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1.1px;
    text-shadow: 0 3px 14px rgba(0,0,0,0.08);
}

.landing-hero-bg-svg {
    position: absolute;
    right: 0;
    top: 0;
    width: 210px;
    height: 210px;
    background: url('data:image/svg+xml;utf8,<svg width="210" height="210" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="105" cy="105" r="85" fill="%23fff" fill-opacity="0.12"/></svg>') no-repeat right top;
    z-index: 0;
    opacity: 1;
}

@media (max-width: 900px) {
    .landing-hero-title-uk {
        font-size: 2rem;
    }

    .landing-hero-bg-svg {
        width: 130px;
        height: 130px;
    }

    .landing-hero-uk {
        padding: 1.5rem 0.2rem 1.5rem 0.2rem;
    }
}

@media (max-width: 600px) {
    .landing-hero-title-uk {
        font-size: 1.18rem;
    }

    .landing-hero-uk {
        border-radius: 1rem;
    }

    .landing-hero-bg-svg {
        width: 70px;
        height: 70px;
    }
}

/* CARDS GRID */
.landing-cards-uk {
    margin-top: 0.5rem;
    margin-bottom: 2.2rem;
    --gap: 2rem;
}

.landing-card-uk {
    background: #fff;
    border-radius: 1.45rem;
    border: 1.5px solid #f2f2f7;
    box-shadow: 0 2px 16px rgba(52,38,124,0.07);
    padding: 1.65rem 1.2rem 1.15rem 1.2rem;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    transition: box-shadow 0.22s, border-color 0.13s, transform 0.16s;
    outline: none;
    margin-bottom: 0.7rem;
    gap: 0.7rem;
    position: relative;
}

    .landing-card-uk:focus,
    .landing-card-uk:hover:not(.disabled) {
        box-shadow: 0 8px 38px rgba(52,38,124,0.14);
        border-color: #dedcff;
        transform: translateY(-4px) scale(1.015);
        z-index: 3;
    }

    .landing-card-uk.disabled, .landing-card-uk[tabindex="-1"] {
        opacity: 0.52;
        filter: grayscale(0.13);
        cursor: not-allowed;
        border: 2px dashed #eaeaea;
        background: #f8f8fc;
        box-shadow: none !important;
    }

@media (max-width: 992px) {
    .landing-card-uk {
        min-height: 170px;
    }

    .landing-cards-uk {
        --gap: 1rem;
    }
}

@media (max-width: 767px) {
    .landing-card-uk {
        min-height: 120px;
        padding: 1.05rem 0.5rem;
    }

    .landing-cards-uk {
        --gap: 0.7rem;
    }

    .landing-card-title-uk {
        font-size: 0.96rem;
    }
}

/* CARD CONTENTS */
.landing-card-title-uk {
    font-size: 1.08rem;
    color: #222340;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.12;
    margin-bottom: 0 !important;
}

.card-img-uk {
    border-radius: 0.5rem;
    background: #f4f5fa;
    box-shadow: 0 1px 5px rgba(40,28,74,0.03);
    padding: 0.25rem;
    width: 38px;
    height: 38px;
    object-fit: contain;
    margin-right: 0.72rem;
    flex-shrink: 0;
}

.card-content-uk {
    font-size: 0.98rem;
    color: #32325d;
    font-weight: 500;
    line-height: 1.48;
    margin-top: 0.08rem;
    margin-bottom: 0;
    word-break: break-word;
    max-width: 16em;
}

/* BADGE */
.card-badge-uk {
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.20rem 1rem 0.20rem 0.75rem;
    border-radius: 2rem;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.28px;
    margin-left: 0.05rem;
    background: #e7fbe9;
    color: #22c55e;
    border: none;
    transition: background 0.13s, color 0.13s;
    min-width: 88px;
    justify-content: center;
    gap: 0.18rem;
}

    .card-badge-uk.active {
        background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
        color: #fff !important;
    }

    .card-badge-uk.inactive {
        background: #f2eafe;
        color: #a18ad8;
        border: 1px solid #e4e7f8;
    }

    /* ICONS */
    .card-badge-uk .bi {
        font-size: 1rem;
        vertical-align: -0.09em;
    }

@media (max-width: 575px) {
    .card-img-uk {
        width: 30px;
        height: 30px;
    }

    .card-badge-uk {
        font-size: 0.75rem;
        padding: 0.13rem 0.52rem;
        min-width: 54px;
    }

    .card-content-uk {
        font-size: 0.92rem;
    }
}

/*Info box*/


.info-box {
    position: relative;
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(44, 51, 73, 0.07);
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    min-height: 62px;
    overflow: hidden; 
}

.info-box-stripes {
    width: 14px;
    min-width: 14px;
    border-radius: 1rem 0 0 1rem;
    background: repeating-linear-gradient( 135deg, #304DAF 0px, #304DAF 3px, transparent 3px, transparent 6px );
    z-index: 2;
    flex-shrink: 0;
}

.info-box-inner {
    display: flex;
    align-items: flex-start;
    flex: 1 1 0%;
    padding: 1.1rem 1.8rem 1.1rem 1.1rem;
    background: #fff;
}

.info-box-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 1.1rem;
    margin-top: 2px;
}

.info-icon {
    width: 34px;
    height: 34px;
    background: #304DAF;
    color: #fff;
    font-style: italic;
    font-size: 1.35rem;
    font-family: 'Segoe UI', Arial, sans-serif;
    border-radius: 50%;
    font-weight: bold;
    box-shadow: 0 1px 4px rgba(44, 51, 73, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-box-content {
    color: #222;
    font-size: 1.13rem;
    font-weight: 600;
    line-height: 1.4;
    padding-left: 0;
}

@media (max-width: 600px) {
    .info-box {
        max-width: 100%;
        border-radius: 0.7rem;
    }

    .info-box-stripes {
        width: 8px;
        min-width: 8px;
        border-radius: 0.7rem 0 0 0.7rem;
    }

    .info-box-inner {
        padding: 0.6rem 0.8rem 0.6rem 0.7rem;
    }

    .info-box-icon {
        width: 22px;
        height: 22px;
        margin-right: 0.6rem;
    }

    .info-icon {
        width: 22px;
        height: 22px;
        font-size: 0.92rem;
    }

    .info-box-content {
        font-size: 0.97rem;
    }
}

/*Consent*/

.consent-statement-box {
    background: #f8faff;
    border: 1.5px solid #dbe7ff;
    border-radius: 1rem;
    padding: 1.2rem 1.5rem 1.1rem 1.5rem;
    box-shadow: 0 1px 7px rgba(44, 51, 73, 0.07);
    font-size: 1.09rem;
}

    .consent-statement-box ul {
        margin-bottom: 0.5rem;
    }


.consent-info-box {
    background: #f8faff;
    border: 2px solid #e4eafd;
    border-radius: 14px;
    padding: 1.2rem 1.7rem 1.2rem 1.7rem;
    margin-bottom: 1.7rem;
    box-shadow: 0 1px 6px rgba(60, 86, 155, 0.04);
    font-size: 1.07rem;
}

    .consent-info-box ul {
        margin-bottom: 0;
        padding-left: 1.15em;
    }

    .consent-info-box li {
        margin-bottom: 0.7em;
    }

        .consent-info-box li:last-child {
            margin-bottom: 0;
        }

@media (max-width: 600px) {
    .consent-info-box {
        padding: 1rem 0.7rem;
        font-size: 0.97rem;
    }
}

.consent-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2.2rem;
    font-size: 1.09rem;
}

/*.consent-checkbox-lg {
    width: 1.45em;
    height: 1.45em;
    min-width: 1.45em;
    min-height: 1.45em;
    margin-top: 0.1em;
    accent-color: #233E99;
    border: 2px solid #233E99;
    border-radius: 0.3em;
}*/

@media (max-width: 600px) {
    .consent-checkbox-row {
        font-size: 0.98rem;
    }

/*    .consent-checkbox-lg {
        width: 1.2em;
        height: 1.2em;
    }*/
}


.custom-checkbox {
    position: relative;
    display: inline-block;
    width: 1.45em;
    height: 1.45em;
    margin-top: 0.1em;
}

    .custom-checkbox input[type="checkbox"] {
        opacity: 0;
        width: 1.45em;
        height: 1.45em;
        margin: 0;
        position: absolute;
        left: 0;
        top: 0;
        cursor: pointer;
        z-index: 2;
    }

.custom-checkmark {
    display: block;
    width: 1.45em;
    height: 1.45em;
    border: 2px solid #233E99;
    border-radius: 0.3em;
    background: #fff;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.custom-checkbox input[type="checkbox"]:checked + .custom-checkmark::after {
    content: "";
    position: absolute;
    left: 0.36em;
    top: 0.09em;
    width: 0.36em;
    height: 0.73em;
    border: solid #233E99;
    border-width: 0 0.19em 0.19em 0;
    transform: rotate(45deg);
}

.custom-checkbox input[type="checkbox"]:focus + .custom-checkmark {
    box-shadow: 0 0 0 2px #a9bdfb;
    outline: none;
}

@media (max-width: 600px) {
    .custom-checkbox, .custom-checkmark, .custom-checkbox input[type="checkbox"] {
        width: 1.15em;
        height: 1.15em;
    }

        .custom-checkbox input[type="checkbox"]:checked + .custom-checkmark::after {
            left: 0.28em;
            top: 0.05em;
            width: 0.29em;
            height: 0.48em;
            border-width: 0 0.13em 0.13em 0;
        }
}
/*Footer*/
.brand-footer {
    background: rgba(255,255,255, 0.95); 
    color: #26317c;
    padding: 18px 0 12px 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin-top: 64px;
    box-shadow: 0 -2px 20px 0 rgba(60, 72, 141, 0.03);
    border-top: 1px solid #f3f5fa;
    width: 100%;
    transition: background 0.2s;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

.footer-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-align: center;
    width: 100%;
    color: #26317c;
    opacity: 0.7;
    transition: opacity 0.2s;
}

@media (max-width: 600px) {
    .footer-content {
        padding: 0 6px;
    }

    .brand-footer {
        padding: 14px 0 7px 0;
        font-size: 11.5px;
    }

    .footer-text {
        font-size: 11.5px;
        text-align: left;
    }
}

/*Auth*/

.user-bar {
    background: #fff; /* Card effect for the login bar */
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1.4rem;
    border-radius: 2rem;
    box-shadow: 0 2px 8px 0 rgba(40,28,74,0.07);
    font-family: 'Segoe UI', 'Montserrat', 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    min-height: 44px;
    /*max-width: 320px;*/
/*    max-width: 240px;
    min-width: 0;*/
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #281c4a;
    font-size: 1rem;
    font-weight: 400;
}

    .user-info i {
        font-size: 1.4rem;
        color: #ff8200;
    }

.greeting strong {
    font-weight: 600;
    color: #281c4a;
    letter-spacing: 0.1px;
    font-size: 1.04rem;
}

.logout-btn {
    background: #ff8200;
    color: #fff;
    border: none;
    outline: none;
    padding: 0.39rem 0.9rem;
    border-radius: 1.3rem;
    font-weight: 500;
    font-size: 0.97rem;
    cursor: pointer;
    box-shadow: 0 2px 6px 0 rgba(40,28,74,0.04);
    display: flex;
    align-items: center;
    gap: 0.36rem;
    transition: background 0.18s, color 0.18s, transform 0.12s;
}

    .logout-btn:hover, .logout-btn:focus {
        background: #281c4a;
        color: #ff8200;
        transform: translateY(-2px) scale(1.04);
    }

    .logout-btn i {
        font-size: 1.07rem;
    }

.logout-text {
    display: inline-block;
}

@media (max-width: 900px) {
    .user-bar {
        padding: 0.3rem 0.6rem;
        font-size: 0.93rem;
        min-height: 38px;
    }

    .greeting strong {
        font-size: 0.92rem;
    }
}

@media (max-width: 600px) {
    .user-bar {
        max-width: 200px;
        gap: 0.18rem;
        padding: 0.16rem 0.5rem;
    }

    .greeting {
        display: none;
    }

    .logout-text {
        display: none;
    }
}

/* -----------------------------------
   Application Dashboard
----------------------------------- */

.dashboard-container {
    min-height: 100vh;
    background: linear-gradient(120deg, #f6f8fa 0%, #f7f9fb 100%);
    padding: 3rem 0;
}

.dashboard-card {
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    max-width: 1160px;
    margin: 0 auto 3rem auto;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    position: relative;
    backdrop-filter: blur(6px);
}

.dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1.5px solid var(--color-border);
    padding-bottom: 1.2rem;
    margin-bottom: 2.2rem;
    gap: 1.3rem;
}



@media (max-width: 768px) {
    .secondary-header {
        background-color: white;
        padding: 15px 20px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 10;
        transition: all 0.3s ease;
        width: 100%;
    }
}

.dashboard-title {
    font-family: var(--font-head);
    font-size: 2.55rem;
    font-weight: 900;
    color: var(--brand);
    letter-spacing: -1.5px;
    margin-bottom: 0.08rem;
    line-height: 1.09;
}

.dashboard-subtitle {
    font-size: 1.08rem;
    color: #7E6E97;
    margin-bottom: 0.07rem;
    margin-left: 1px;
    letter-spacing: 0.01em;
}

.dashboard-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .dashboard-header-actions {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .dashboard-title {
        font-size: 3rem;
        margin-bottom: 0;
    }

    .dashboard-subtitle {
        font-size: 0.875rem;
        margin-top: 4px;
    }

    .brand-btn {
        width: 100%;
        max-width: 300px;
    }
}

.brand-btn {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: 1.09rem;
    border-radius: 999px;
    padding: 0.75rem 1.95rem;
    box-shadow: 0 3px 18px 0 rgba(255,102,0,0.09);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

    .brand-btn.secondary {
        background: var(--color-primary);
    }

    .brand-btn.accent {
        background: var(--color-accent);
        color: #fff;
        padding: 0.52rem 0.85rem;
        font-size: 1.04rem;
    }

    .brand-btn.small {
        font-size: 1.02rem;
        padding: 0.43rem 0.8rem;
    }

    .brand-btn:hover {
        background: var(--color-primary);
        color: #fff;
        box-shadow: 0 9px 28px 0 rgba(95,75,139,0.12);
    }

.dashboard-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    margin: 2.3rem 0 1.3rem 0;
}

.summary-card {
    flex: 1 1 215px;
    background: rgba(253, 247, 240, 0.98);
    border-radius: var(--radius);
    box-shadow: 0 2px 16px 0 #e9e5fd7d;
    padding: 1.6rem 1.15rem 1.12rem 1.15rem;
    text-align: center;
    position: relative;
    transition: box-shadow 0.21s, transform 0.16s;
    margin: 0 0.2rem;
    overflow: hidden;
}

    .summary-card.glass {
        backdrop-filter: blur(1.2px);
        border: 1.5px solid #F8ECE2;
        background: linear-gradient(114deg, #fff8f4 5%, #f6f3fc 95%);
    }

    .summary-card:hover {
        box-shadow: 0 10px 36px 0 #efd7c488;
        transform: translateY(-2px) scale(1.035);
    }

.summary-title {
    color: #968bb4;
    font-size: 1.17rem;
    margin-bottom: 0.13rem;
    letter-spacing: 0.01em;
}

.summary-value {
    font-size: 2.35rem;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: -2px;
    margin-top: 0.11rem;
    transition: color 0.18s;
}

    .summary-value.warning {
        color: var(--color-warning);
    }

    .summary-value.success {
        color: var(--color-success);
    }

.dashboard-chart {
    margin: 2.1rem 0 2.6rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .dashboard-chart canvas {
        max-width: 350px;
        max-height: 210px;
        background: transparent;
        border-radius: 1.5rem;
        box-shadow: 0 2px 12px 0 #ffe0c299;
        transition: box-shadow 0.17s;
    }

        .dashboard-chart canvas:hover {
            box-shadow: 0 8px 38px 0 #ffecd0c1;
        }

.dashboard-table-wrapper {
    margin-top: 1.2rem;
}

.dashboard-table-card {
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 38px 0 #e6e7fa4b;
    background: var(--white);
    overflow-x: auto;
    padding: 1.2rem 0.3rem;
}

.data-table {
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 100%;
    font-size: 1.08rem;
    background: var(--white);
}

.rz-datagrid-table thead {
    background: var(--color-table-header);
    font-size: 1.06rem;
}

.rz-datagrid-table th {
    font-weight: 800;
    color: #62429b;
    border-bottom: 2px solid var(--color-border);
}

.rz-datagrid-table td {
    padding: 0.82rem 0.52rem;
    border-bottom: 1px solid #eee8ff70;
    background: var(--white);
}

.data-table tr {
    transition: background 0.15s;
}

    .data-table tr:hover {
        background: #f4f0ff6b !important;
    }

.table-link {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: underline;
    transition: var(--transition);
}

    .table-link:hover {
        color: var(--brand);
        text-decoration: underline;
    }

.status-badge {
    display: inline-block;
    font-weight: 700;
    border-radius: 2em;
    padding: 0.40em 1.09em;
    font-size: 1.06rem;
    letter-spacing: 0.01em;
    background: #FFEEE5;
    color: #FF6600;
    box-shadow: 0 1px 6px #ffe2cb66;
}

.status-incomplete {
    background: #FFF3E9;
    color: #F3722C;
}

.status-complete {
    background: #ECFBF7;
    color: #43AA8B;
}

a {
    color: var(--color-primary);
    font-weight: 700;
    transition: var(--transition);
}

    a:hover {
        color: var(--color-accent);
    }

.material-icons {
    font-size: 1.32em;
    vertical-align: middle;
}

.animate-fadein {
    animation: fadeIn 0.85s cubic-bezier(.48,0,.44,1);
}

.animate-fadeup {
    animation: fadeUp 0.7s cubic-bezier(.4,0,.3,1);
}

.animate-delay-1 {
    animation-delay: 0.19s;
}

.animate-delay-2 {
    animation-delay: 0.39s;
}

.animate-delay-3 {
    animation-delay: 0.59s;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(28px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .dashboard-card {
        padding: 1.2rem;
    }

    .dashboard-title {
        font-size: 1.48rem;
    }

    .dashboard-summary {
        gap: 1.08rem;
    }

    .dashboard-chart canvas {
        max-width: 99vw;
    }
}

@media (max-width: 770px) {
    .dashboard-header, .dashboard-summary {
        flex-direction: column;
    }

    .dashboard-header-actions {
        width: 100%;
        margin-top: 0.9rem;
        justify-content: flex-start;
    }

    .dashboard-summary {
        gap: 1.1rem;
    }

    .dashboard-card {
        padding: 0.8rem;
    }

    .dashboard-table-card {
        padding: 0.2rem;
    }
}

@media (max-width: 520px) {
    .dashboard-summary {
        flex-direction: column;
    }

/*    .dashboard-title {
        font-size: 1.07rem;
    }*/

    .dashboard-card {
        padding: 0.32rem;
    }

    .dashboard-header-actions {
        gap: 0.4rem;
    }
}

::-webkit-scrollbar {
    width: 8px;
    background: var(--color-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--brand);
}

.nav-container {
    cursor: pointer;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #FF6600;
    margin: 6px 0;
    transition: 0.4s;
}
.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}
.change .bar2 {
    opacity: 0;
}
.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}
.sidebar {
    max-height: 0;
    width: 300px;
    position: absolute;
    background-color: #FFFFFF;
    overflow-y: hidden;
    transition: max-height 0.5s ease-in-out;
    -webkit-box-shadow: 10px 10px 5px -2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 10px 10px 5px -2px rgba(0, 0, 0, 0.4);
    box-shadow: 10px 10px 5px -2px rgba(0, 0, 0, 0.4);
    z-index: 3;
}
.sidebar.open {
    max-height: 150px
}
.sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #281c4a;
    display: block;
    transition: 0.3s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.sidebar a:hover {
    color: #FF6600;
}
.sidebar a i {
  display: inline-block;
  width: 20px;
  text-align: center;
  margin-right: 25px;
}
.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}
.overlay.show {
    display: block;
}
.modal-wrapper {
    z-index: 10;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    height: fit-content;
    width: 18%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-box-shadow: 10px 10px 5px -2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 10px 10px 5px -2px rgba(0, 0, 0, 0.4);
    box-shadow: 10px 10px 5px -2px rgba(0, 0, 0, 0.4);
}
.modal-wrapper.show {
    display: flex;
}