﻿


/* =========================
   LOGIN BOX
========================= */

.login-wrap {
    max-width: 1100px;
    margin: clamp(1px, 20vw, 200px) auto 100px;
    padding: 0 5px;
    font-family: inherit;
}

    .login-wrap h1 {
        line-height: 38px;
        font-size: 2rem;
        color: #121111;
        margin: 0 0 10px;
        font-weight: 700;
        font-family: "Museo Sans W01", "Helvetica Neue", Helvetica, sans-serif;
        display: unset;
        float: unset;
    }

.login-intro {
    margin: 0 0 28px;
    color: #333;
    font-family: "Museo Sans W01", "Helvetica Neue", Helvetica, sans-serif;
}

.login-card {
    display: grid;
    grid-template-columns: 36% 64%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    overflow: hidden;
}

.login-security {
    background: linear-gradient(180deg, rgba(232,152,0,0.3) 0%, rgba(255,255,255,1) 55%);
    padding: 50px 35px;
    text-align: center;
    border-right: 1px solid #eee;
}

.security-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #fff3dc;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .security-icon img {
        width: 62px;
        height: auto;
    }

.login-security h3 {
    font-size: 22px;
    margin: 0 0 12px;
    font-family: "Museo Sans W01", "Helvetica Neue", Helvetica, sans-serif;
}

.login-security p {
    margin: 0;
    line-height: 1.5;
    color: #333;
    font-family: "Museo Sans W01", "Helvetica Neue", Helvetica, sans-serif;
}

.login-form-area {
    padding: 45px 60px;
    display: unset;
}

    .login-form-area h2 {
        font-size: 26px;
        margin: 0 0 30px;
        font-family: "Museo Sans W01", "Helvetica Neue", Helvetica, sans-serif;
    }

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: "Museo Sans W01", "Helvetica Neue", Helvetica, sans-serif;
}

.email-shell {
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    padding: 6px;
    background: #fafafa;
    margin-bottom: 22px;
}

    .email-shell input {
        width: 100%;
        box-sizing: border-box;
        height: 38px;
        border: 1px solid #999;
        border-radius: 6px;
        padding: 0 12px;
        font-size: 15px;
        outline: none;
        background: #fff;
    }

        .email-shell input:focus {
            border-color: #df9200;
            box-shadow: 0 0 0 2px rgba(223,146,0,0.15);
        }

.primary-btn,
.secondary-btn {
    width: 100% !important;
    height: 52px !important;
    border-radius: 7px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    font-family: "Museo Sans W01", "Helvetica Neue", Helvetica, sans-serif !important;
}

.primary-btn {
    border: none !important;
    color: #fff !important;
    background: #e89800 !important;
}

    .primary-btn:hover {
        border: none !important;
        color: #fff !important;
        background: #000 !important;
    }

.secondary-btn {
    border: 1px solid #d0d0d0 !important;
    color: #111 !important;
    background: #fff !important;
}

    .secondary-btn:hover {
        border: 1px solid #d0d0d0 !important;
        color: #fff !important;
        background: #000 !important;
    }

.login-divider {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 22px 0;
    color: #333;
    font-family: "Museo Sans W01", "Helvetica Neue", Helvetica, sans-serif;
}

    .login-divider:before,
    .login-divider:after {
        content: "";
        height: 1px;
        background: #e5e5e5;
        flex: 1;
    }

.login-form-area .login-divider {
    display: flex !important;
    align-items: center;
    width: 100%;
    gap: 18px;
    margin: 22px 0;
    color: #333;
    font-family: "Museo Sans W01", "Helvetica Neue", Helvetica, sans-serif;
    box-sizing: border-box;
    min-width: 0;
}

    .login-form-area .login-divider::before,
    .login-form-area .login-divider::after {
        content: "" !important;
        display: block;
        height: 1px;
        background: #e5e5e5;
        flex: 1 1 auto;
        min-width: 0;
    }

.admin_secure_login_icon {
    width: 100%;
    max-width: 100px;
}

.haserror {
    border-radius: 10px;
    background-color: #ffeeee;
    padding-left: 1%;
}

.login-form-area .login-email-row.login-haserror {
    border-radius: 10px;
    background-color: #ffeeee;
    padding: 8px;
    margin-bottom: 8px;
}

    .login-form-area .login-email-row.login-haserror .email-shell {
        margin-bottom: 0;
        border-color: #ff0000;
        background-color: #fff5f5;
    }

    .login-form-area .login-email-row.login-haserror input {
        background-color: #fffafa !important;
    }

.login-card .login-form-area #pnlMessage,
.login-card .login-form-area .login-message-row {
    display: block;
    width: 100%;
    margin: 8px 0 0 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both;
}

    .login-card .login-form-area #pnlMessage .form_question,
    .login-card .login-form-area .login-message-row .form_question,
    .login-form-area .login-message-row .form_question,
    .login-message-row .form_question {
        display: none !important;
    }

    .login-card .login-form-area #pnlMessage .form_answer,
    .login-card .login-form-area .login-message-answer,
    .login-form-area .login-message-row .form_answer,
    .login-message-row .form_answer {
        display: block;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    .login-card .login-form-area #pnlMessage .error_msg,
    .login-card .login-form-area .login_error_msg,
    .login-form-area .login_error_msg,
    .login_error_msg {
        display: block;
        margin: 0px 0px 20px 0px;
        padding: 0;
        color: #ff0000 !important;
        font-size: 14px !important;
        line-height: 1.4;
    }

.login-message-row {
    margin: 6px 0 20px 0 !important;
    padding: 0 !important;
    clear: both;
}

.forgot_password_link {
    display: block;
    margin-top: -10px;
}

    .forgot_password_link a {
        display: inline-block;
        color: #666;
        text-decoration: none;
    }

        .forgot_password_link a:hover {
            color: #000;
        }

.login-password-row {
    margin-bottom: 0;
}

.password-error-position {
    margin-top: -18px;
    margin-bottom: 12px;
}

    .password-error-position .form_answer {
        margin: 0;
        padding: 0;
    }




/* =========================
   ACCOUNT HUB
========================= */

.tdi-account-page {
    width: 100%;
    padding: clamp(1px, 1vw, 30px);
    box-sizing: border-box;
    overflow-x: hidden;
}

    .tdi-account-page * {
        box-sizing: border-box;
    }

.tdi-account-card {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    overflow: hidden;
}

.tdi-account-sidebar {
    background: linear-gradient(180deg, #f8e7bd 0%, #ffffff 80%);
    padding: clamp(35px, 6vw, 55px) clamp(22px, 5vw, 35px);
    text-align: center;
}

.tdi-account-sidebar-icon {
    width: clamp(120px, 30vw, 180px);
    display: block;
    margin: 0 auto 30px auto;
}

.tdi-account-sidebar h2 {
    margin: 0 0 20px 0;
    color: #2f3a4d;
    font-size: clamp(18px, 7vw, 22px);
    line-height: 1.1;
    font-weight: 700;
}

.tdi-account-sidebar > p {
    margin: 0 auto;
    max-width: 280px;
    font-size: clamp(16px, 4.5vw, 18px);
    line-height: 1.45;
    color: #333333;
}

.tdi-account-divider {
    width: 220px;
    height: 2px;
    background: #ed9900;
    margin: 35px auto;
}

.tdi-account-security {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
    text-align: left;
    max-width: 280px;
    margin: 0 auto;
}

    .tdi-account-security span {
        font-size: 28px;
    }

    .tdi-account-security p {
        margin: 0;
        font-size: clamp(15px, 4vw, 16px);
        overflow-wrap: anywhere;
        line-height: 1.5;
        color: #333333;
        padding: 0;
    }

.tdi-account-main {
    padding: 10px clamp(32px, 6vw, 55px) clamp(32px, 6vw, 55px);
    min-width: 0;
}

.tdi-account-buttons {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin-bottom: 55px;
}

.tdi-account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    background: #ed9900;
    color: #ffffff;
    text-decoration: none;
    border-radius: 7px;
    font-size: 18px;
    font-weight: 700;
    transition: all .2s ease;
}

    .tdi-account-btn:hover {
        background: #d88900;
        color: #ffffff;
    }

.tdi-account-main h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
    color: #121111;
    margin: 0 0 10px;
    font-weight: 700;
    font-family: "Museo Sans W01", "Helvetica Neue", Helvetica, sans-serif;
    display: unset;
    float: unset;
}

.tdi-account-intro {
    margin: 0 0 35px 0;
    color: #666666;
    font-size: clamp(18px, 4.5vw, 22px);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.tdi-account-message {
    background: #f6f6f6;
    border-radius: 10px;
    padding: clamp(22px, 5vw, 35px);
}

    .tdi-account-message p {
        margin: 0 0 10px 0;
        color: #222222;
        font-size: clamp(16px, 4vw, 18px);
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

        .tdi-account-message p:last-child {
            margin-bottom: 0;
        }

    .tdi-account-message strong {
        font-weight: 700;
    }

    .tdi-account-message a {
        color: #e52720;
        text-decoration: none;
    }

        .tdi-account-message a:hover {
            text-decoration: underline;
        }

.admin_padlock {
    width: 100%;
    max-width: 20px;
}

.login-wrap-hub {
    margin: 120px auto 0 auto;
}



.admin_new_popup {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}


.tdi-quotes-page {
    width: 100%;
    margin: 0 auto;
    padding: clamp(20px, 4vw, 35px);
    box-sizing: border-box;
    font-family: "Museo Sans W01", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

    .tdi-quotes-page * {
        box-sizing: border-box;
    }

.tdi-quotes-header {
    margin-bottom: 28px;
}

    .tdi-quotes-header h1 {
        font-size: clamp(1.5rem, 4vw, 2rem);
        line-height: 1.05;
        overflow-wrap: anywhere;
        color: #121111;
        margin: 0 0 10px;
        font-weight: 700;
        font-family: "Museo Sans W01", "Helvetica Neue", Helvetica, sans-serif;
        display: unset;
        float: unset;
    }

    .tdi-quotes-header p {
        margin: 0;
        color: #555;
        font-size: clamp(15px, 2vw, 18px);
        line-height: 1.5;
    }

.tdi-quotes-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tdi-quotes-card {
    display: grid;
    grid-template-columns: 64px 1fr 190px 170px;
    align-items: center;
    row-gap: 0px;
    column-gap: 24px;
    min-height: 118px;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.tdi-quotes-icon,
.tdi-quotes-new-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fee8da;
    color: #ed9900;
    font-size: 28px;
    font-weight: 800;
}

.tdi-quotes-product h2 {
    margin: 0;
    color: #151515;
    font-size: 22px;
    line-height: 1em;
    font-weight: 800;
}

.tdi-quotes-product p {
    margin: 0;
    color: #444;
    font-size: 15px;
    line-height: 1.4;
}

.tdi-quotes-premium {
    padding-left: 34px;
    border-left: 1px solid #dedede;
}

    .tdi-quotes-premium span {
        display: block;
        margin-bottom: 6px;
        color: #555;
        font-size: 13px;
    }

    .tdi-quotes-premium strong {
        color: #111;
        font-size: 28px;
        line-height: 1;
        font-weight: 900;
    }

.tdi-quotes-btn {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    background: #ed9900;
    color: #fff;
    border-radius: 7px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    transition: all .2s ease;
}

    .tdi-quotes-btn:hover {
        background: #000;
        color: #fff;
    }

    .tdi-quotes-btn span {
        width: 9px;
        height: 9px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        transform: rotate(45deg);
    }

.tdi-quotes-note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0;
    padding: 18px 22px;
    background: #fffaf1;
    border: 1px solid #ed9900;
    border-radius: 10px;
}

    .tdi-quotes-note span {
        width: 24px;
        height: 24px;
        min-width: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ed9900;
        color: #fff;
        border-radius: 50%;
        font-size: 14px;
        font-weight: 800;
    }

    .tdi-quotes-note p {
        margin: 0;
        color: #4a3a1f;
        font-size: 15px;
        line-height: 1.5;
    }

.tdi-quotes-new {
    display: grid;
    grid-template-columns: 64px 1fr 240px;
    align-items: center;
    gap: 24px;
    padding: 24px 26px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
}

    .tdi-quotes-new h2 {
        margin: 0 0 7px;
        color: #151515;
        font-size: 22px;
        line-height: 1.2;
        font-weight: 800;
    }

    .tdi-quotes-new p {
        margin: 0;
        color: #555;
        font-size: 16px;
    }

.tdi-quotes-btn-large {
    min-height: 54px;
}

.tdi-quotes-card {
    position: relative;
}

.tdi-quotes-delete {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    background: #fff0f0;
    color: #999;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all .2s ease;
    background-image: url('../img/bin_icon2.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

    .tdi-quotes-delete:hover {
        background-image: url('../img/bin_icon_over.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: 20px 20px;
    }

.hardhat_saved_quotes_icon {
    width:100%;
    max-width:50px;
}

.bin_icon {
    width:100%;
    max-width:200px;
}

/* RIGHT SIDE ACCOUNT WELCOME REDESIGN */

.tdi-account-main {
    padding: clamp(24px, 5vw, 55px);
}

.tdi-account-hero {
    margin-bottom: 34px;
}

    .tdi-account-hero h1 {
        font-size: clamp(1.5rem, 4vw, 2rem);
        line-height: 1.05;
        margin: 0 0 10px;
        color: #101827;
        font-weight: 600;
        letter-spacing: -1px;
    }

.tdi-account-intro {
    max-width: 620px;
    margin: 0;
    color: #5d6472;
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.35;
}

.tdi-account-success-card {
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 14px;
    padding: clamp(24px, 4vw, 38px);
    box-shadow: 0 14px 35px rgba(0,0,0,.08);
}

.tdi-account-success-top {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 14px;
    align-items: start;
}

.tdi-account-success-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #edf7df;
    color: #70ad1f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 800;
}

.tdi-account-success-top h2 {
    margin: 0 0 10px;
    padding:0px;
    color: #101827;
    font-size: clamp(18px, 7vw, 22px);
    line-height: 1.25;
    font-weight: 800;
}

.tdi-account-success-top p,
.tdi-account-contact-text p {
    margin: 0;
    color: #303846;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
}

.tdi-account-card-divider {
    height: 1px;
    background: #e6e0d5;
    margin: 28px 0;
}

.tdi-account-contact-text {
    margin-bottom: 22px;
}

.tdi-account-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 20px;
}

.tdi-account-contact-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 12px;
    background: #fffaf1;
    text-decoration: none;
    color: #e52720;
    transition: all .2s ease;
}

    .tdi-account-contact-item:hover {
        background: #fff1db;
        transform: translateY(-2px);
    }

.tdi-account-contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fff0d7;
    color: #ed9900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.tdi-account-contact-item strong {
    display: block;
    margin-bottom: 3px;
    color: #101827;
    font-size: .95rem;
}

.tdi-account-help-card {
    margin-top: 26px;
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.tdi-account-help-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ed9900;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.tdi-account-help-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .tdi-account-help-icon img {
        width: 50px;
        height: 50px;
        display: block;
    }

.tdi-account-help-card h2 {
    margin: 0 0 5px;
    color: #101827;
    font-size: 1.15rem;
    font-weight: 800;
}

.tdi-account-help-card p {
    margin: 0;
    color: #5d6472;
    font-size: 1rem;
}

.tdi-account-help-btn {
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid #e52720;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #e52720;
    background: #fff;
    text-decoration: none;
    font-weight: 800;
    transition: all .2s ease;
}

    .tdi-account-help-btn:hover {
        background: #e52720;
        color: #fff;
    }

    .tdi-account-help-btn span {
        width: 8px;
        height: 8px;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        transform: rotate(45deg);
    }



.tdi-account-main {
    padding: clamp(12px, 2vw, 20px) clamp(14px, 2vw, 55px) clamp(24px, 5vw, 55px) clamp(14px, 2vw, 55px);
}

.tdi-account-success-card,
.tdi-account-help-card {
    max-width: 720px;
    width: 100%;
}

.tdi-account-success-top {
    grid-template-columns: 58px 1fr;
}

.tdi-account-contact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
}

.tdi-account-contact-item {
    grid-template-columns: 46px 1fr;
    padding: 16px;
}

    .tdi-account-contact-item span:last-child {
        min-width: 0;
        overflow-wrap: anywhere;
    }

.tdi-account-help-card {
    grid-template-columns: 50px 1fr auto;
}

/* =========================
   POLICY INFORMATION CARDS
========================= */

.tdi-policy-card {
    position: relative;
    grid-template-columns: 64px 1fr;
    align-items: start;
    margin-bottom: 30px;
    padding: clamp(20px, 3vw, 26px);
    padding-right: clamp(20px, 3vw, 26px);
}

    .tdi-policy-card .tdi-quotes-icon {
        width: clamp(48px, 8vw, 58px);
        height: clamp(48px, 8vw, 58px);
    }

        .tdi-policy-card .tdi-quotes-icon img {
            width: clamp(38px, 7vw, 50px);
            height: auto;
        }

    .tdi-policy-card .tdi-quotes-product h2 {
        font-size: clamp(19px, 3vw, 24px);
        margin: 6px 0 0;
        padding-right: 150px;
    }

.tdi-policy-status {
    position: absolute;
    top: clamp(22px, 3vw, 28px);
    right: clamp(20px, 3vw, 26px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: clamp(5px, 1vw, 7px) clamp(12px, 2vw, 16px);
    border-radius: 999px;
    background: #e7f6d9;
    color: #3c9918;
    font-size: clamp(13px, 2vw, 15px);
    font-weight: 700;
    line-height: 1;
}

    .tdi-policy-status span {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #3caf19;
    }

.tdi-policy-details {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    margin-top: clamp(18px, 3vw, 24px);
    padding-top: clamp(20px, 3vw, 28px);
    border-top: 1px solid #e5e5e5;
}

.tdi-policy-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    min-width: 0;
    padding: clamp(10px, 2vw, 18px) clamp(10px, 2vw, 18px);
    border-right: 1px solid #e5e5e5;
}

    .tdi-policy-detail:last-child {
        border-right: 0;
    }

    .tdi-policy-detail img {
        width: clamp(42px, 8vw, 58px);
        height: clamp(42px, 8vw, 58px);
        display: block;
        margin: 0 auto clamp(10px, 2vw, 16px);
    }

    .tdi-policy-detail strong {
        display: block;
        margin-bottom: clamp(7px, 1.5vw, 10px);
        color: #121111;
        font-size: clamp(14px, 2vw, 16px);
        line-height: 1.2;
        font-weight: 800;
    }

    .tdi-policy-detail p {
        margin: 0;
        color: #e52720;
        font-size: clamp(14px, 2vw, 17px);
        line-height: 1.3;
        word-break: break-word;
    }




/* =========================
   DOCUMENTS PANEL
========================= */

.tdi-docs-panel {
    margin-bottom:30px;
}

.tdi-docs-policy-number {
    color:#e52720 !important;
    font-size:clamp(16px, 2vw, 18px) !important;
    font-weight:700;
    margin-top:4px !important;
}

.tdi-docs-grid {
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    width:100%;
    margin-top:clamp(22px, 3vw, 30px);
    padding-top:0;
    border-top:1px solid #e5e5e5;
}

.tdi-docs-item {
    min-width: 0;
    text-align: center;
    padding: clamp(5px, 3vw, 30px) 0;
    border-right: 1px solid #e5e5e5;
}

.tdi-docs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tdi-docs-item:nth-child(4),
.tdi-docs-item:nth-child(8) {
    border-right:0;
}

.tdi-docs-item:nth-child(n+5) {
    /* padding-top:28px; */
    border-top:1px solid #e5e5e5;
}

.tdi-docs-item img {
    width:clamp(42px, 8vw, 58px);
    height:clamp(42px, 8vw, 58px);
    display:block;
    margin:0 auto 14px;
}

    .tdi-docs-item strong {
        display: flex;
        align-items: center;
        justify-content: center;
        height: clamp(30px, 4.5vw, 50px); /* same height for all titles */

        margin-bottom: 16px;
        color: #121111;
        font-size: clamp(14px, 2vw, 16px);
        line-height: 1.25;
        font-weight: 800;
        text-align: center;
    }

.tdi-docs-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tdi-docs-view,
.tdi-docs-download {
    min-height: 36px;
    min-width: 82px;
    padding: 0 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    transition: all .2s ease;
}

.tdi-docs-view {
    border:1px solid #ed9900;
    color:#ed9900;
    background:#fff;
}

.tdi-docs-view:hover {
    background:#fff4df;
    color:#ed9900;
}

.tdi-docs-download {
    border:1px solid #ed9900;
    background:#ed9900;
    color:#fff;
}

.tdi-docs-download:hover {
    border-color:#000;
    background:#000;
    color:#fff;
}

.tdi-docs-view::before {
    content: "👁";
    font-size: 12px;
    margin-right: 6px;
}

.tdi-docs-download::before {
    content: "⤓";
    font-size: 13px;
    margin-right: 6px;
}

/* =========================
   RENEWALS PANEL
========================= */

.tdi-renewals-card {
    margin-bottom: 30px;
}

.tdi-renewals-details {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin-top: clamp(18px, 3vw, 24px);
    padding-top: clamp(20px, 3vw, 28px);
    border-top: 1px solid #e5e5e5;
}

.tdi-renewals-details:not(:first-child) {
    margin-top: 0;
}

.tdi-renewal-detail {
    padding: 0 clamp(12px, 3vw, 28px);
}

    .tdi-renewal-detail:nth-child(3) {
        border-top: 0 !important;
        border-right: 0;
    }

.tdi-renewal-btn {
    width: auto !important;
    min-width: 170px;
    max-width: 220px;
    margin: 0 auto;
    min-height: 50px;
}

.tdi-renewal-notice {
    
    background: #fff4f4;

}

/* =========================
   PERSONAL DETAILS PANEL
========================= */

.tdi-personal-card {
    margin-bottom: 30px;
}

.tdi-personal-details {
    grid-column: 1 / -1;
    margin-top: clamp(22px, 3vw, 30px);
    padding-top: clamp(22px, 3vw, 30px);
    border-top: 1px solid #e5e5e5;
}

.tdi-personal-row {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 22px;
    align-items: flex-start;
    padding: 22px 0;
    border-bottom: 1px solid #e5e5e5;
}

    .tdi-personal-row:first-child {
        padding-top: 0;
    }

    .tdi-personal-row:last-child {
        border-bottom: 0;
    }

    .tdi-personal-row img {
        width: 58px;
        height: 58px;
        display: block;
    }

    .tdi-personal-row strong {
        display: block;
        margin-bottom: 7px;
        color: #121111;
        font-size: clamp(15px, 2vw, 17px);
        font-weight: 800;
    }

    .tdi-personal-row p {
        margin: 0;
        color: #e52720;
        font-size: clamp(15px, 2vw, 18px);
        line-height: 1.45;
    }

.tdi-edit-control {
    display: none !important;
}

.tdi-personal-card.is-editing .tdi-view-value {
    display: none !important;
}

.tdi-personal-card.is-editing .tdi-edit-control {
    display: block !important;
}

.tdi-personal-card.is-editing .tdiRadio {
    display: inline-flex !important;
}

.tdi-personal-row CaptureControl.holder {
    display: none;
    width: fit-content;
    max-width: 100%;
}

.tdi-personal-card.is-editing .tdi-personal-row CaptureControl.holder {
    display: block !important;
}

.tdi-personal-row .TextInput {
    min-width: 240px;
    height: 34px;
}

.tdi-personal-row .TextInputAddr {
    min-width: 290px;
}

.tdi-personal-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 14px;
    padding-top: 26px;
    border-top: 1px solid #e5e5e5;
}

.tdi-personal-edit-btn {
    width: auto !important;
    min-width: 210px;
    cursor:pointer;
}

.tdi-personal-cancel-btn {
    display: none;
    min-height: 50px;
    min-width: 130px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid #d0d0d0;
    border-radius: 7px;
    background: #fff;
    color: #121111;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
}

    .tdi-personal-cancel-btn:hover {
        background: #000;
        color: #fff;
    }

.tdi-personal-card.is-editing .tdi-personal-cancel-btn {
    display: flex;
}

.tdi-success-message {
    display: flex !important;
    align-items: center;
    gap: 15px;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    padding: 18px 22px;
    margin: 25px 0 25px;
    background: #f0fff4;
    border: 1px solid #b7ebc6;
    border-left: 5px solid #28a745;
    border-radius: 12px;
    color: #1f6b38;
    font-weight: 500;
    line-height: 1.4;
}

    .tdi-success-message div {
        flex: 1;
        min-width: 0;
    }

    .tdi-success-message strong {
        display: block;
        margin-bottom: 3px;
        color: #155724;
    }

.tdi-success-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #28a745;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
}

.tdi-success-message-wrap {
    grid-column: 1 / -1;
    width: 100%;
}

.tdi-success-message {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
    padding: 18px 22px;
    margin: 25px 0;
    background: #f0fff4;
    border: 1px solid #b7ebc6;
    border-left: 5px solid #28a745;
    border-radius: 12px;
    color: #1f6b38;
    font-weight: 500;
}

.tdi-success-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #28a745;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.tdi-success-text {
    display: block;
    flex: 1;
}

    .tdi-success-text strong {
        display: block;
        margin-bottom: 3px;
    }

.admin_new_nav {
    transition: background .3s ease, padding .3s ease;
}

.admin_new_nav_container {
    padding: 20px 0;
    transition: padding .3s ease;
}

.admin_new_logo_img {
    max-width: 220px;
    transition: max-width .3s ease, opacity .3s ease;
}

.admin_new_burger {
    width: 34px;
    transition: width .3s ease;
}


/* When scrolled */
.admin_new_nav.black {
    background: rgba(0,0,0,1);
}

    .admin_new_nav.black .admin_new_nav_container {
        padding: 10px 0;
    }

    .admin_new_nav.black .admin_new_logo_img {
        max-width: 165px;
    }

    .admin_new_nav.black .admin_new_burger {
        width: 28px;
    }





/* ================================
   WELCOME PAGE - WHAT'S NEW FEATURE
================================ */

.tdi-whats-new-feature {
    position: relative;
    max-width: 720px;
    width: 100%;
    margin: 22px 0 26px;
    padding: 32px 36px 34px;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(0,0,0,.08);
    overflow: hidden;
    box-sizing: border-box;
}

.tdi-whats-new-feature-head {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 170px;
    padding-bottom: 22px;
    margin-bottom: 26px;
    border-bottom: 1px solid #e2e5ea;
}

    .tdi-whats-new-feature-head h2 {
        margin: 0;
        color: #07172f;
        font-size: 26px;
        line-height: 1.1;
        font-weight: 600;
        letter-spacing: -0.4px;
    }

    .tdi-whats-new-feature-head span {
        display: block;
        margin-top: 5px;
        color: #7b8495;
        font-size: 13px;
        line-height: 1;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1.5px;
    }

        .tdi-whats-new-feature-head span em {
            font-style: normal;
            color: #ed9900;
        }

/* Repeater reset inside the Welcome panel only */

.tdi-whats-new-feature .wn-list {
    position: relative;
    z-index: 3;
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.tdi-whats-new-feature .wn-card {
    position: static !important;
    display: block !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

/* Date pill */

.tdi-whats-new-feature .wn-date {
    position: absolute !important;
    top: 42px !important;
    right: 36px !important;
    z-index: 20 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 9px 18px !important;
    background: #f8f9fb !important;
    border: 1px solid #d6dbe4 !important;
    border-radius: 999px !important;
    color: #263248 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    transform: none !important;
}

/* Title */

.tdi-whats-new-feature .wn-card h3 {
    position: relative;
    z-index: 3;
    max-width: 440px;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    font-weight: 900 !important;
}

    .tdi-whats-new-feature .wn-card h3 a {
        color: #000 !important;
        text-decoration: none !important;
        font-size: 20px !important;
        line-height: 1.3 !important;
        font-weight: 900 !important;
    }

        .tdi-whats-new-feature .wn-card h3 a:hover {
            text-decoration: underline !important;
        }

/* Description */

.tdi-whats-new-feature .wn-card p {
    position: relative;
    z-index: 3;
    max-width: 440px;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    color: #38445c !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

/* Real Read More button */

.tdi-whats-new-feature .wn-read-more {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    min-height: 42px;
    margin-top: 28px;
    padding: 0 22px;
    background: linear-gradient(180deg, #ff2b2b 0%, #d9141b 100%);
    color: #fff !important;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(237,28,36,.22);
    box-sizing: border-box;
}

    .tdi-whats-new-feature .wn-read-more span {
        margin-left: 8px;
    }

    .tdi-whats-new-feature .wn-read-more:hover {
        background-color:#000;
    }

/* Optional subtle background shape */

/* ================================
   WELCOME PAGE - WHAT'S NEW FIXES
================================ */

/* Remove the fake document/icon on the right */
.tdi-whats-new-feature::before,
.tdi-whats-new-feature::after {
    display: none !important;
    content: none !important;
}

/* Make sure the inner card is not controlling the date position */
.tdi-whats-new-feature .wn-card {
    position: static !important;
}

/* Date pill fixed top-right of the main panel */
.tdi-whats-new-feature .wn-date {
    position: absolute !important;
    top: 38px !important;
    right: 36px !important;
    z-index: 30 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 9px 18px !important;
    background: #f8f9fb !important;
    border: 1px solid #d6dbe4 !important;
    border-radius: 999px !important;
    color: #263248 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    transform: none !important;
}

/* Give the title area room so it doesn't clash with the date */
.tdi-whats-new-feature-head {
    padding-right: 170px;
}

/* ================================
   WELCOME PAGE - WHAT'S NEW
   Article with date on the right
================================ */

/* remove the right-hand fake document/icon */
.tdi-whats-new-feature::before,
.tdi-whats-new-feature::after {
    display: none !important;
    content: none !important;
}

/* the list should not control absolute positioning */
.tdi-whats-new-feature .wn-list {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* article layout */
.tdi-whats-new-feature .wn-card {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 28px;
    align-items: start;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* date sits next to the article, not at the top */
.tdi-whats-new-feature .wn-date {
    position: static !important;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: end;
    margin: 4px 0 0 20px !important;
    padding: 9px 18px !important;
    background: #f8f9fb !important;
    border: 1px solid #d6dbe4 !important;
    border-radius: 999px !important;
    color: #263248 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    transform: none !important;
}

/* article title */
.tdi-whats-new-feature .wn-card h3 {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
}

    /* article title link */
    .tdi-whats-new-feature .wn-card h3 a {
        color: #000 !important;
        text-decoration: none !important;
    }

        .tdi-whats-new-feature .wn-card h3 a:hover {
            text-decoration: underline !important;
        }

/* description */
.tdi-whats-new-feature .wn-card p {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none !important;
    max-width: none;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    color: #38445c !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

/* read more */
.tdi-whats-new-feature .wn-read-more {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    min-height: 42px;
    margin-top: 28px;
    padding: 0 22px;
    background: linear-gradient(180deg, #ff2b2b 0%, #d9141b 100%);
    color: #fff !important;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(237,28,36,.22);
    box-sizing: border-box;
}

    .tdi-whats-new-feature .wn-read-more span {
        margin-left: 8px;
    }

/* Read more button - same style as Welcome buttons */
.tdi-whats-new-feature .wn-read-more {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    width: auto;
    min-width: 150px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 0 22px;
    background: #ed9900;
    color: #fff !important;
    border-radius: 7px;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    box-shadow: none;
    transition: all .2s ease;
}

    .tdi-whats-new-feature .wn-read-more:hover {
        background: #000;
        color: #fff !important;
        text-decoration: none !important;
    }

/* What's New footer divider and centred button */

.tdi-whats-new-feature-footer {
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid #e2e5ea;
    display: flex;
    justify-content: center;
}

.tdi-whats-new-all-btn {
    width: auto;
    min-width: 190px;
}

/* make the whole What's New article clickable */
.tdi-whats-new-feature .wn-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: 12px;
}

/* Article layout - keep heading wider */
.tdi-whats-new-feature .wn-card {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 24px;
    align-items: start;
    width: 100% !important;
    margin: -10px -10px 0 !important;
    padding: 10px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    transition: background-color .2s ease;
}

    /* Title */
    .tdi-whats-new-feature .wn-card h3 {
        grid-column: 1;
        grid-row: 1;
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #000 !important;
        font-size: 22px !important;
        line-height: 1.25 !important;
        font-weight: 600 !important;
        text-decoration: none !important;
    }

/* Date */
.tdi-whats-new-feature .wn-date {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    margin: 0 !important;
}

.tdi-whats-new-feature .wn-card-link:hover .wn-card {
    background: #fff6e6 !important;
    background: #fff8ec;
    border-color: #f3d7a3;
    transform: translateY(-1px);
}

/* stop the heading looking like a normal text link */
.tdi-whats-new-feature .wn-card h3 {
    color: #000 !important;
    text-decoration: none !important;
}

.tdi-whats-new-feature .wn-card-link:hover h3 {
    text-decoration: none !important;
    display: inline;
}

/* Separator between multiple What's New articles */
.tdi-whats-new-feature .wn-card-link + .wn-card-link {
    margin-top: 24px !important;
    padding-top: 24px !important;
    border-top: 1px solid #e2e5ea !important;
}

/* Clickable article hover only */
.tdi-whats-new-feature .wn-card-link {
    display: block !important;
    color: inherit !important;
    text-decoration: none !important;
    border-radius: 12px !important;
}

.tdi-whats-new-feature .wn-card {
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease !important;
}

.tdi-whats-new-feature .wn-card-link:hover .wn-card {
    background: #fff8ec !important;
    border-color: #f3c979 !important;
    transform: translateY(-1px) !important;
}

/* Important to You card */

.tdi-important-layout {
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 16px;
    row-gap: 22px;
    align-items: center;
}

.tdi-important-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 50%;
    background: #f5a003;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .tdi-important-icon img {
        width: 35px;
        height: 35px;
        display: block;
        object-fit: contain;
    }

.tdi-important-layout h2 {
    margin: 0;
    padding: 0;
    color: #101827;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 600;
    font-family: "Museo Sans W01", "Helvetica Neue", Helvetica, sans-serif;
}

.tdi-important-body {
    grid-column: 1 / -1;
    margin-left: 0;
}

    .tdi-important-body p {
        margin: 0;
        color: #303846;
        font-size: clamp(1rem, 2vw, 1.15rem);
        line-height: 1.6;
    }

.pwa-btn {
    margin-top:10px;
    width: 100% !important;
    height: 52px !important;
    border-radius: 7px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    font-family: "Museo Sans W01", "Helvetica Neue", Helvetica, sans-serif !important;
    border: none !important;
    color: #fff !important;
    background: #e89800 !important;
}

    .pwa-btn:hover {
        border: none !important;
        color: #fff !important;
        background: #e60513 !important;
    }