﻿/* #region Base */
.bg-card {
    background-image: var(--bs-bg-gradient);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    border-radius: 5px;
}

.bg-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.insurance-card-mandate {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-image: var(--bs-bg-button-gradient);
    border-radius: 5px;
    padding: 1rem;
    overflow: hidden;
    transition: all 0.2s ease;
    margin-bottom: 10px;
    width: 100%;
}

    .insurance-card-mandate:hover {
        transform: scale(1.01);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .insurance-card-mandate .text {
        position: relative;
        z-index: 1;
        color: #fff;
        /* set colour, font-size etc */
    }

.clickable-div {
    cursor: pointer;
}

.data-list {
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: var(--bg-2);
    border: 1px solid var(--border-1);
    color: var(--fg-1);
    transition: all 0.3s ease;
}

/* #endregion */

/* #region Admin entity tables */
.admin-entity-table {
    vertical-align: middle;
}

    .admin-entity-table tbody tr {
        transition: background-color .15s ease, transform .15s ease;
    }

        .admin-entity-table tbody tr:hover {
            transform: translateY(-1px);
        }

.admin-company-logo,
.admin-employee-image {
    display: block;
    object-fit: cover;
    border: 1px solid var(--border-1);
    background-color: var(--bg-1);
}

.admin-company-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    padding: 4px;
    border-radius: 10px;
}

.admin-employee-image {
    width: 48px;
    height: 58px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .admin-entity-table {
        min-width: 760px;
    }
}
/* #endregion */

/* #region Statistics-card */

.statistics-card {
    border-radius: 16px;
    background-color: var(--bg-2);
    color: var(--fg-1);
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-1);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

    .statistics-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        border-color: var(--brand-1);
    }

@media (max-width: 576px) {
    .statistics-card .stat-icon {
        width: 30px;
        height: 30px;
        font-size: 17px;
    }

    .statistics-card .stat-content span:first-child {
        font-size: 12px;
        font-weight: 500;
    }

    .statistics-card .stat-content span:last-child {
        font-size: 25px;
    }
}

.stat-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.stat-content {
    flex: 1;
}

    .stat-content span:first-child {
        display: block;
        font-size: 13px;
        font-weight: 500;
        color: var(--fg-muted-1);
        text-transform: uppercase;
        letter-spacing: 0.4px;
        margin-bottom: 8px;
    }

    .stat-content span:last-child {
        display: block;
        font-size: 32px;
        font-weight: 700;
        color: var(--brand-1);
        line-height: 1;
    }

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: rgba(0, 130, 206, 0.1);
    color: var(--brand-1);
    font-size: 24px;
    flex-shrink: 0;
}

/* Skeleton stat card loading */
.statistics-card .skeleton-spinner {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--bg-2) 25%, rgba(0, 130, 206, 0.05) 50%, var(--bg-2) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* #endregion */

/* #region Employee Profile */
.profile-card {
    background: linear-gradient(135deg, var(--bg-2) 0%, rgba(0, 130, 206, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--fg-1);
    padding: 40px 30px;
    max-width: 450px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(0, 130, 206, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

    .profile-card::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(0, 130, 206, 0.1) 0%, transparent 70%);
        pointer-events: none;
    }

    .profile-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 130, 206, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.2);
        border-color: rgba(0, 130, 206, 0.2);
    }

.profile-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.profile-avatar-wrapper {
    position: relative;
    margin-bottom: 20px;
}

    .profile-card img,
    .profile-avatar-wrapper img {
        object-fit: cover;
        width: 160px;
        height: 200px;
        border-radius: 20px;
        border: 3px solid var(--brand-2);
        box-shadow: 0 8px 24px rgba(0, 130, 206, 0.3);
        transition: all 0.3s ease;
    }

    .profile-card:hover img,
    .profile-avatar-wrapper:hover img {
        transform: scale(1.05);
        box-shadow: 0 12px 32px rgba(0, 130, 206, 0.4);
    }

.profile-name-section {
    text-align: center;
    position: relative;
    z-index: 2;
}

    .profile-name-section h5 {
        font-size: 24px;
        font-weight: 700;
        margin: 15px 0 8px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .profile-name-section .verified-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        background: linear-gradient(135deg, var(--brand-1), var(--brand-1-hover));
        border-radius: 50%;
        color: white;
        font-size: 14px;
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.profile-info-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.profile-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 130, 206, 0.1);
    transition: all 0.3s ease;
}

    .profile-info-item:last-child {
        border-bottom: none;
    }

    .profile-info-item:hover {
        padding-left: 8px;
        padding-right: 8px;
    }

    .profile-info-item label {
        font-size: 14px;
        font-weight: 500;
        color: var(--fg-muted-1);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .profile-info-item p {
        font-size: 15px;
        font-weight: 600;
        color: var(--brand-1);
        margin: 0;
        word-break: break-word;
        max-width: 200px;
        text-align: right;
    }

/* Skeleton Loading States */
.skeleton-avatar {
    width: 140px;
    height: 140px;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--bg-2) 25%, rgba(0, 130, 206, 0.1) 50%, var(--bg-2) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    margin: 0 auto;
}

.skeleton-name {
    width: 60%;
    height: 24px;
    background: linear-gradient(90deg, var(--bg-2) 25%, rgba(0, 130, 206, 0.1) 50%, var(--bg-2) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    margin: 0 auto;
    border-radius: 4px;
}

.skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, var(--bg-2) 25%, rgba(0, 130, 206, 0.1) 50%, var(--bg-2) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

    .skeleton-line.skeleton-label {
        width: 40%;
    }

    .skeleton-line.skeleton-value {
        width: 35%;
    }

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.employee-info-card {
    background-color: var(--bg-2);
    border-radius: 15px;
    color: var(--fg-1);
    padding: 20px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.15);
}

    .employee-info-card img {
        max-height: 300px;
    }
/* #endregion */

/* #region Tables */

.table-transparent {
    background-color: transparent !important;
    color: var(--fg-1);
}

    .table-transparent thead {
        border-bottom: 2px solid var(--border-1);
    }

    .table-transparent th {
        background-color: transparent !important;
        font-weight: 600;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--fg-muted-1);
        padding: 16px 12px !important;
        border-bottom: none !important;
    }

    .table-transparent tbody tr {
        border-bottom: 1px solid var(--border-1);
        transition: all 0.2s ease;
    }

        .table-transparent tbody tr:hover {
            background-color: rgba(0, 130, 206, 0.05);
        }

    .table-transparent td {
        background-color: transparent !important;
        font-size: 14px;
        font-weight: 400;
        color: var(--fg-1);
        padding: 16px 12px !important;
        vertical-align: middle;
    }

    .table-transparent tr td a {
        color: var(--brand-1);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.2s ease;
    }

        .table-transparent tr td a:hover {
            color: var(--brand-1-hover);
            text-decoration: underline;
        }

.table {
    margin-bottom: 0 !important;
}

    .table tr {
        line-height: 1.5;
    }

/* #endregion */

/* #region Loading Screen Spinner */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6) center center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    z-index: 9999;
}

.spinner {
    border-top: 6px solid #fff;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    background: var(--overlay-1);
    backdrop-filter: blur(6px);
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

    /* Visible */

    .loading-overlay.show {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

/* Card */

.loading-card {
    width: min(420px, 100%);
    min-height: 180px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem;
    text-align: center;
    transform: scale(.94);
    transition: transform .25s ease, opacity .25s ease;
}

/* Card animation */

.loading-overlay.show .loading-card {
    transform: scale(1);
}

/* Spinner */

.loading-spinner {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.5rem;
}

/* Main message */

.loading-title {
    margin-bottom: .5rem;
    font-size: 1.15rem;
    color: var(--fg-1);
    text-align: center;
    margin-bottom: 10px;
}

/* Subtitle */

.loading-subtitle {
    margin: 0;
    color: var(--fg-1);
    font-size: .95rem;
}

/* From Uiverse.io by boryanakrasteva */
@-webkit-keyframes honeycomb {
    0%, 20%, 80%, 100% {
        opacity: 0;
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    30%, 70% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes honeycomb {
    0%, 20%, 80%, 100% {
        opacity: 0;
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    30%, 70% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.honeycomb {
    height: 24px;
    position: relative;
    width: 24px;
    margin-bottom: 40px;
}

    .honeycomb div {
        -webkit-animation: honeycomb 2.1s infinite backwards;
        animation: honeycomb 2.1s infinite backwards;
        background: var(--fg-1);
        height: 12px;
        margin-top: 6px;
        position: absolute;
        width: 24px;
    }

        .honeycomb div:after, .honeycomb div:before {
            content: '';
            border-left: 12px solid transparent;
            border-right: 12px solid transparent;
            position: absolute;
            left: 0;
            right: 0;
        }

        .honeycomb div:after {
            top: -6px;
            border-bottom: 6px solid var(--fg-1);
        }

        .honeycomb div:before {
            bottom: -6px;
            border-top: 6px solid var(--fg-1);
        }

        .honeycomb div:nth-child(1) {
            -webkit-animation-delay: 0s;
            animation-delay: 0s;
            left: -28px;
            top: 0;
        }

        .honeycomb div:nth-child(2) {
            -webkit-animation-delay: 0.1s;
            animation-delay: 0.1s;
            left: -14px;
            top: 22px;
        }

        .honeycomb div:nth-child(3) {
            -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s;
            left: 14px;
            top: 22px;
        }

        .honeycomb div:nth-child(4) {
            -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s;
            left: 28px;
            top: 0;
        }

        .honeycomb div:nth-child(5) {
            -webkit-animation-delay: 0.4s;
            animation-delay: 0.4s;
            left: 14px;
            top: -22px;
        }

        .honeycomb div:nth-child(6) {
            -webkit-animation-delay: 0.5s;
            animation-delay: 0.5s;
            left: -14px;
            top: -22px;
        }

        .honeycomb div:nth-child(7) {
            -webkit-animation-delay: 0.6s;
            animation-delay: 0.6s;
            left: 0;
            top: 0;
        }
/* #endregion */

/* #region Input Groups & Form Elements */
.floating-input {
    width: 100%;
}

.input-container {
    position: relative;
}

    .input-container input,
    .input-container textarea,
    .input-container select {
        width: 100%;
        padding: 13px 8px;
        border-radius: 10px;
        border: 1px solid var(--border-1);
        background-color: transparent;
        color: var(--fg-1);
        outline: none;
        text-align: center;
        transition: 0.3s;
    }

    .input-container label {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        color: var(--fg-muted-1);
        pointer-events: none;
        transition: 0.3s ease;
        background: transparent;
        padding: 0 5px;
        white-space: nowrap;
        font-size: 15px;
    }

        .input-container label span {
            color: red;
            display: inline-block;
        }

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: var(--fg-1);
    -webkit-box-shadow: 0 0 0px 1000px var(--bg-2) inset;
}

.input-container input::placeholder,
.input-container textarea::placeholder {
    color: transparent;
}

.input-container input:focus::placeholder,
.input-container textarea:focus::placeholder {
    color: var(--muted-3);
}

.input-container label button {
    pointer-events: auto !important;
}

    .input-container label button i {
        display: inline-block;
        color: var(--brand-1);
        pointer-events: auto !important;
    }

.input-container:focus-within label,
.input-container.filled label {
    top: -10px;
    left: 15px;
    transform: none;
    background: var(--bg-2);
    color: var(--fg-1);
}

    .input-container.filled label span {
        display: none;
    }

.input-container input:focus + i,
.input-container.filled i,
.input-container textarea:focus + i,
.input-container select:focus + i {
    display: inline;
}

.input-container input:focus + i,
.input-container input:autofill + label i,
.input-container.filled i,
.input-container textarea:focus + i,
.input-container textarea:autofill + label i,
.input-container select:focus + i,
.input-container select:autofill + label i {
    display: inline !important;
}

.input-container input:autofill + label,
.input-container textarea:autofill + label,
.input-container select:autofill + label {
    top: -10px;
    left: 15px;
    transform: none;
    background: var(--bg-1);
    color: var(--fg-1);
}

.input-container-container.filled .input-container label,
.input-container-container.filled label {
    top: -10px;
    left: 10px;
    transform: none;
    font-size: 13px;
    background: #fff;
    color: #000;
    border: solid 2px green;
    padding: 0 5px;
    z-index: 10;
}

.input-container-container.filled .bi-check-circle-fill {
    display: inline !important;
}

.input-container input[type="date"]:not(.empty) {
    color: transparent;
}

.input-container.filled input[type="date"],
.input-container input[type="date"]:focus {
    color: var(--fg-1);
}

option {
    text-align: center;
    background-color: #fff;
    color: #000;
}

.money-input input {
    padding-right: 16px;
}

.input-container label i {
    color: var(--vb-green-1);
    display: none;
    margin-left: 5px;
    margin-right: 5px;
    font-size: 16px;
}

.validation-message {
    display: block;
    text-align: center;
    margin-top: 6px;
    font-size: 14px;
}

.currency-suffix {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--fg-1) !important;
    font-size: 15px;
    background: transparent;
}
/* ======================================= New ======================================= */
.static-label {
    position: static !important; /* Removes absolute positioning */
    transform: none !important; /* Prevents movement/animation */
    background: transparent !important; /* Keeps background transparent */
    font-size: 17px !important;
    display: block !important; /* Forces it to appear above the slider */
    color: var(--fg-1) !important; /* Matches your theme */
    pointer-events: auto !important;
}
/* Ensure the check icon inside the label respects the existing filled rule */
.input-container.filled .static-label i {
    display: inline !important; /* Makes sure the checkmark shows when 'filled' class is present */
}

.phone-prefix {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fg-1);
    pointer-events: none; /* Let clicks pass through */
    font-size: 15px;
    z-index: 5;
    background: transparent;
}

.currency-suffix {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--dark-1);
    font-size: 15px;
    background: transparent;
}
/* #endregion */

/* #region Password & Checkbox */
.password-wrapper {
    position: relative;
}

    .password-wrapper i[id^="toggle"] {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: var(--dark-1);
    }

input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: solid 1px var(--dark-1);
    display: inline-grid;
    place-content: center;
    vertical-align: middle;
    cursor: pointer;
    padding: 0;
}

    input[type="checkbox"]::before {
        content: "";
        width: 20px;
        height: 20px;
        transform: scale(0);
        transition: 120ms transform ease-in-out;
        background-color: var(--brand-1);
    }

    input[type="checkbox"]:checked::before {
        transform: scale(1);
    }

.checkbox-list {
    margin-top: 20px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    color: white;
    padding: 5px;
    border-radius: 5px;
    transition: background 0.3s;
}

    .checkbox-option:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .checkbox-option input {
        margin-right: 10px;
    }

    .checkbox-option span {
        flex: 1;
    }
/* #endregion */

/* #region Radio Buttons */
.custom-radio-input {
    display: none;
}

.radio-group-wrapper {
    margin-bottom: 20px;
}

    .radio-group-wrapper button {
        display: inline !important;
    }

        .radio-group-wrapper button i {
            color: var(--brand-1) !important;
            display: inline !important;
        }

    .radio-group-wrapper.filled button {
        display: none !important;
    }

        .radio-group-wrapper.filled button i {
            display: none !important;
        }

.collapse {
    color: var(--brand-1);
}

.radio-group-title {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--fg-muted-1);
    font-size: 17px;
    background-color: transparent;
    padding: 2px 8px;
    white-space: wrap;
    text-wrap: wrap;
}

    .radio-group-title i {
        color: green;
        display: none;
        margin-left: 4px;
    }

.radio-group-wrapper.filled .radio-group-title i {
    display: inline;
    color: green;
}

.radio-group-wrapper.filled .radio-group-title {
    color: var(--fg-1);
}

.radio-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.radio-item {
    flex: 1 1 180px;
    position: relative;
}

.radio-button-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-button-label {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-1);
    border-radius: 10px;
    background: transparent;
    color: var(--fg-1);
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease;
    user-select: none;
}

    .radio-button-label:hover {
        border-color: var(--brand-1);
        background-color: rgba(0, 0, 0, 0.2);
    }

.radio-button-input:focus + .radio-button-label {
    border-color: var(--brand-1);
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

.radio-button-input:checked + .radio-button-label {
    background-color: var(--brand-2);
    color: var(--light-2);
}
/* #endregion */

/* #region Autocomplete & Toast */

.popover {
    z-index: 9999;
}

.logo-toast {
    display: block;
    width: 25px;
    transition: opacity 0.2s ease;
}

.autocomplete-container {
    position: relative;
}

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    max-height: 220px;
    border: 1px solid var(--border-1);
    background-color: var(--bg-2);
    z-index: 999;
    overflow-y: auto;
    border-radius: 15px;
}

.autocomplete-item {
    padding: 10px;
    color: var(--fg-1);
    cursor: pointer;
    text-align: center;
    transition: 0.2s;
}

    .autocomplete-item:hover {
        background-color: var(--brand-1);
        color: var(--light-1);
    }
/* #endregion */

/* #region Buttons */

.vb-btn-brand-1 {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    background-color: var(--brand-1);
    color: white !important;
    padding: 12px 20px;
    border: solid 1px var(--brand-1);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 2px 4px rgba(0, 130, 206, 0.15);
    cursor: pointer;
}

    .vb-btn-brand-1:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 130, 206, 0.25);
        background-color: var(--brand-1-hover);
    }

    .vb-btn-brand-1:active {
        transform: translateY(0);
    }

.vb-btn-border-brand-1 {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    background-color: transparent;
    color: var(--brand-1);
    padding: 12px 20px;
    border: solid 1px var(--brand-1);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
}

    .vb-btn-border-brand-1:hover {
        transform: translateY(-2px);
        background-color: var(--brand-1);
        color: white;
        box-shadow: 0 4px 12px rgba(0, 130, 206, 0.25);
    }

    .vb-btn-border-brand-1:active {
        transform: translateY(0);
    }

.vb-btn-brand-2 {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    background-color: var(--brand-2);
    color: white !important;
    padding: 12px 20px;
    border: solid 1px var(--brand-2);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 2px 4px rgba(0, 50, 97, 0.15);
    cursor: pointer;
}

    .vb-btn-brand-2:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 50, 97, 0.25);
        background-color: var(--brand-2-hover);
    }

    .vb-btn-brand-2:active {
        transform: translateY(0);
    }

.vb-btn-border-brand-2 {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    background-color: transparent;
    color: var(--fg-1);
    padding: 12px 20px;
    border: solid 1px var(--brand-2);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
}

    .vb-btn-border-brand-2:hover {
        transform: translateY(-2px);
        background-color: var(--brand-2);
        color: white !important;
        border-color: var(--brand-2);
        box-shadow: 0 4px 12px rgba(0, 50, 97, 0.25);
    }

    .vb-btn-border-brand-2:active {
        transform: translateY(0);
    }

.vb-btn-red {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    background-color: var(--vb-red-1);
    color: white !important;
    padding: 12px 20px;
    border: solid 1px var(--vb-red-1);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 2px 4px rgba(255, 17, 0, 0.15);
    cursor: pointer;
}

    .vb-btn-red:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 17, 0, 0.25);
    }

    .vb-btn-red:active {
        transform: translateY(0);
    }

.vb-btn-border-red {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    background-color: transparent;
    color: var(--vb-red-1);
    padding: 12px 20px;
    border: solid 1px var(--vb-red-1);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
}

    .vb-btn-border-red:hover {
        transform: translateY(-2px);
        background-color: var(--vb-red-1);
        color: white;
        box-shadow: 0 4px 12px rgba(255, 17, 0, 0.25);
    }

    .vb-btn-border-red:active {
        transform: translateY(0);
    }

padding: 10px 15px;
border: solid 1px var(--vb-red-1);
border-radius: 15px;
transition: all 0.2s ease;
}

.vb-btn-border-red:hover {
    transform: scale(1.03);
    background-color: var(--vb-red-1);
    color: var(--light-1);
}
/* #endregion */

/* #region Signature Canvas */
.signature-canvas {
    width: 100%;
    height: 250px;
    border: 2px dashed #aaa;
    border-radius: 10px;
    background-color: transparent;
}
/* Slightly smaller on very small viewports */
@media (max-width: 576px) {
    .profile-card .profile-image {
        width: clamp(64px, 28vw, 120px);
    }
}
/* #endregion */

/* #region SearchBar */

.search-bar {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 7px 10px;
    backdrop-filter: blur(4px) saturate(180%);
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.15);
    border: solid 1px var(--border-1);
}

    .search-bar input {
        width: 100%;
        min-width: 35px;
        background-color: transparent;
        flex: 1;
        border: 0;
        outline: none;
        padding: 5px 15px;
        font-size: 16px;
        color: var(--fg-1);
    }

        .search-bar input::placeholder {
            color: var(--fg-muted-1);
        }

    .search-bar button {
        border: 0;
        border-radius: 60px;
        width: 30px;
        height: 30px;
        cursor: pointer;
    }

        .search-bar button i {
            width: 15px;
        }

/* #endregion */

/* #region Customer filter toolbar */

.customer-filter-toolbar {
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    grid-template-areas: "left search right";
    align-items: center;
    gap: .75rem 1rem;
}

.customer-filter-toolbar__left {
    grid-area: left;
    display: flex;
    align-items: center;
}

.customer-filter-toolbar__search {
    grid-area: search;
    min-width: 0;
}

.customer-filter-toolbar__search .search-bar {
    margin: 0 !important;
}

.customer-filter-toolbar__right {
    grid-area: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .5rem;
}

.customer-filter-date {
    width: 155px;
}

.customer-filter-reset {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .customer-filter-toolbar {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "left right"
            "search search";
    }

    .customer-filter-toolbar__right {
        justify-content: flex-end;
    }
}

@media (max-width: 576px) {
    .customer-filter-toolbar {
        grid-template-columns: 1fr;
        grid-template-areas:
            "search"
            "left"
            "right";
    }

    .customer-filter-toolbar__left,
    .customer-filter-toolbar__right {
        width: 100%;
    }

    .customer-filter-toolbar__left .dropdown,
    .customer-filter-toolbar__left .dropdown > button,
    .customer-filter-toolbar__right .dropdown,
    .customer-filter-toolbar__right .dropdown > button,
    .customer-filter-date,
    .customer-filter-reset {
        flex: 1 1 auto;
    }

    .customer-filter-toolbar__left .dropdown > button,
    .customer-filter-toolbar__right .dropdown > button,
    .customer-filter-date,
    .customer-filter-reset {
        width: 100%;
    }

    .customer-filter-reset {
        justify-content: center;
    }
}

/* #endregion */

/* #region Modal */

.modal-content {
    background-color: var(--bg-2);
    border-radius: 15px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.15);
}

/* #endregion */

/* #region Skeleton Loading */
.skeleton-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #8181814a;
    position: relative;
    overflow: hidden;
}

.skeleton-line {
    height: 16px;
    border-radius: 6px;
    background: #8181814a;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.skeleton-name {
    width: 180px;
    height: 24px;
}

.skeleton-label {
    width: 100px;
}

.skeleton-value {
    width: 140px;
}

.skeleton-avatar::after,
.skeleton-line::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient( 90deg, transparent, rgba(255,255,255,0.7), transparent );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}
/*=========================================================
    Profile Skeleton
=========================================================*/

.skeleton-banner {
    height: 95px;
    border-radius: 22px 22px 0 0;
    background: #8181814a;
    position: relative;
    overflow: hidden;
}

    .skeleton-banner::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.7), transparent );
        animation: shimmer 1.5s infinite;
    }

.profile-skeleton-avatar {
    width: 92px;
    height: 92px;
    margin: -46px auto 0;
    border-radius: 24px;
}

.skeleton-profile-name {
    width: 170px;
    height: 28px;
    margin: 1rem auto .9rem;
}

.skeleton-profile-id {
    width: 150px;
    height: 16px;
    margin: 0 auto 1.25rem;
}

/*=========================================================
    Badges
=========================================================*/

.skeleton-badge {
    width: 110px;
    height: 32px;
    border-radius: 999px;
    background: #8181814a;
    position: relative;
    overflow: hidden;
}

    .skeleton-badge::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.7), transparent );
        animation: shimmer 1.5s infinite;
    }

/*=========================================================
    Status Cards
=========================================================*/

.skeleton-status-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #8181814a;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

    .skeleton-status-icon::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.7), transparent );
        animation: shimmer 1.5s infinite;
    }

.skeleton-status-title {
    width: 160px;
    height: 18px;
    margin-bottom: 12px;
}

.skeleton-status-text {
    width: 100%;
    height: 13px;
    margin-bottom: 8px;
}

    .skeleton-status-text.short {
        width: 75%;
    }
/*======================================================
    Notification Skeleton
======================================================*/

.notification-skeleton {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #f1f4f7;
    background: #fff;
}

    .notification-skeleton:last-child {
        border-bottom: none;
    }

/*--------------------------------------*/

.skeleton-dot {
    width: 10px;
    height: 10px;
    margin-top: 8px;
    border-radius: 50%;
    background: #8181814a;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/*--------------------------------------*/

.notification-skeleton-content {
    flex: 1;
}

/*--------------------------------------*/

.skeleton-title {
    width: 70%;
    height: 15px;
    margin-bottom: 12px;
}

.skeleton-message {
    width: 100%;
    height: 12px;
    margin-bottom: 8px;
}

    .skeleton-message.short {
        width: 65%;
    }

/*--------------------------------------*/

.skeleton-mark-read {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #8181814a;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

    /*======================================================
    Shimmer
======================================================*/

    .skeleton-dot::after,
    .skeleton-mark-read::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.7), transparent );
        animation: shimmer 1.5s infinite;
    }
/*=========================================================
    Page Skeleton
=========================================================*/

.skeleton-page-title {
    width: 260px;
    height: 30px;
}

.skeleton-page-subtitle {
    width: 520px;
    max-width: 100%;
    height: 16px;
}

/*=========================================================
    Save Button
=========================================================*/

.skeleton-save-button {
    width: 185px;
    height: 48px;
    border-radius: 14px;
    background: #8181814a;
    position: relative;
    overflow: hidden;
}

/*=========================================================
    Provider Logo
=========================================================*/

.skeleton-provider-logo {
    width: 74px;
    height: 74px;
    border-radius: 16px;
    background: #8181814a;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

        .quick-links button i.quick-link-icon.insurance-blue,
        .quick-links a i.quick-link-icon.insurance-blue {
            color: #0878ee;
            background: #dceeff;
        }

        .quick-links button i.quick-link-icon.insurance-green,
        .quick-links a i.quick-link-icon.insurance-green {
            color: #0cad78;
            background: #d9f7ec;
        }

        .quick-links button i.quick-link-icon.insurance-pink,
        .quick-links a i.quick-link-icon.insurance-pink {
            color: #ff2671;
            background: #ffe1eb;
        }

        .quick-links button i.quick-link-icon.insurance-purple,
        .quick-links a i.quick-link-icon.insurance-purple {
            color: #5d39ee;
            background: #e7e0ff;
        }

        .quick-links button i.quick-link-icon.insurance-orange,
        .quick-links a i.quick-link-icon.insurance-orange {
            color: #bc6800;
            background: #ffebce;
        }

        .quick-links button i.quick-link-icon.insurance-yellow,
        .quick-links a i.quick-link-icon.insurance-yellow {
            color: #a56509;
            background: #fff1ce;
        }

/*=========================================================
    Provider Name
=========================================================*/

.skeleton-provider-name {
    width: 180px;
    height: 18px;
    margin-bottom: 12px;
}

.skeleton-provider-type {
    width: 120px;
    height: 12px;
    margin-bottom: 0;
}

/*=========================================================
    Email Input
=========================================================*/

.skeleton-email-box {
    width: 100%;
    height: 58px;
    border-radius: 12px;
    background: #8181814a;
    position: relative;
    overflow: hidden;
}

    /*=========================================================
    Shimmer
=========================================================*/

    .skeleton-provider-logo::after,
    .skeleton-save-button::after,
    .skeleton-email-box::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.7), transparent );
        animation: shimmer 1.5s infinite;
    }

/*=========================================================
    Mobile
=========================================================*/

@media(max-width:768px) {

    .skeleton-page-title {
        width: 190px;
    }

    .skeleton-page-subtitle {
        width: 100%;
    }

    .skeleton-save-button {
        width: 100%;
        height: 48px;
    }
}

@media(max-width:576px) {

    .skeleton-provider-logo {
        width: 58px;
        height: 58px;
    }

    .skeleton-provider-name {
        width: 140px;
    }
}

/*=========================================================
    Customer Info Skeleton
=========================================================*/

.skeleton-section-title {
    width: 220px;
    height: 26px;
    margin-bottom: 14px;
}

.skeleton-section-subtitle {
    width: 340px;
    max-width: 100%;
    height: 14px;
    margin-bottom: 0;
}

/*=========================================================
    Info Item Skeleton
=========================================================*/

.skeleton-info-label {
    width: 120px;
    height: 13px;
    margin-bottom: 14px;
}

.skeleton-info-value {
    width: 75%;
    height: 20px;
    margin-bottom: 0;
}

/*=========================================================
    Responsive
=========================================================*/

@media (max-width: 768px) {

    .skeleton-section-title {
        width: 180px;
    }

    .skeleton-section-subtitle {
        width: 260px;
    }

    .skeleton-info-value {
        width: 85%;
    }
}
/*=========================================================
    Quick Links Skeleton
=========================================================*/

.quick-link-skeleton {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e9eef4;
    border-radius: 14px;
    margin-bottom: .9rem;
}

    .quick-link-skeleton:last-child {
        margin-bottom: 0;
    }

/*=========================================================
    Icon
=========================================================*/

.skeleton-quick-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #8181814a;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

    .skeleton-quick-icon::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.7), transparent );
        animation: shimmer 1.5s infinite;
    }

/*=========================================================
    Text
=========================================================*/

.skeleton-quick-text {
    width: 70%;
    height: 16px;
    margin-bottom: 0;
}

/*=========================================================
    Responsive
=========================================================*/

@media (max-width: 768px) {

    .skeleton-quick-text {
        width: 80%;
    }
}
/*=========================================================
    Action Tiles Skeleton
=========================================================*/

.action-tile-skeleton {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem;
    border: 1px solid #e9eef4;
    border-radius: 16px;
    min-height: 110px;
}

/*=========================================================
    Icon
=========================================================*/

.skeleton-action-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #8181814a;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

    .skeleton-action-icon::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.7), transparent );
        animation: shimmer 1.5s infinite;
    }

/*=========================================================
    Text
=========================================================*/

.skeleton-action-title {
    width: 190px;
    height: 18px;
    margin-bottom: 12px;
}

.skeleton-action-text {
    width: 100%;
    height: 13px;
    margin-bottom: 8px;
}

    .skeleton-action-text.short {
        width: 70%;
        margin-bottom: 0;
    }

/*=========================================================
    Responsive
=========================================================*/

@media (max-width: 768px) {

    .skeleton-action-title {
        width: 160px;
    }

    .skeleton-action-text.short {
        width: 85%;
    }
}
/*=========================================================
    Statistics Skeleton
=========================================================*/

.stat-card-skeleton {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 180px;
    padding: 1.4rem;
    border: 1px solid #e9eef4;
    border-radius: 18px;
}

/*=========================================================
    Icon
=========================================================*/

.skeleton-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #8181814a;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

    .skeleton-stat-icon::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.7), transparent );
        animation: shimmer 1.5s infinite;
    }

/*=========================================================
    Number
=========================================================*/

.skeleton-stat-number {
    width: 50px;
    height: 28px;
    margin-bottom: 12px;
}

/*=========================================================
    Label
=========================================================*/

.skeleton-stat-text {
    width: 120px;
    height: 15px;
    margin-bottom: 0;
}

/*=========================================================
    Responsive
=========================================================*/

@media (max-width: 576px) {

    .stat-card-skeleton {
        min-height: 155px;
        padding: 1rem;
    }

    .skeleton-stat-icon {
        width: 48px;
        height: 48px;
        margin-bottom: .85rem;
    }

    .skeleton-stat-number {
        width: 42px;
        height: 24px;
    }

    .skeleton-stat-text {
        width: 95px;
    }
}
/* #endregion */

/* #region Custom Input Select */

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    width: 100%;
    padding: 13px 8px 13px 8px;
    border-radius: 15px;
    border: 1px solid var(--border-1);
    background: transparent;
    color: var(--fg-1);
    text-align: center;
    cursor: pointer;
    user-select: none;
    min-height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s;
}

    .custom-select-trigger:focus {
        outline: none;
        border-color: var(--brand-1);
    }

.custom-select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: .3s;
}

    .custom-select-arrow.rotate {
        transform: translateY(-50%) rotate(180deg);
    }

/* #endregion */

/* #region Notification */

.navbar-item.has-notifications {
    position: relative;
}

    .navbar-item.has-notifications::after {
        content: "";
        position: absolute;
        top: 6px;
        right: 6px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #ff3b30;
        border: 2px solid #fff;
        box-shadow: 0 0 0 2px rgba(255, 59, 48, .18), 0 0 10px rgba(255, 59, 48, .45);
        animation: notification-pulse 2s infinite;
    }

@keyframes notification-pulse {

    0% {
        box-shadow: 0 0 0 0 rgba(255, 59, 48, .55), 0 0 10px rgba(255, 59, 48, .35);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(255, 59, 48, 0), 0 0 14px rgba(255, 59, 48, .45);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0), 0 0 10px rgba(255, 59, 48, .35);
    }
}

.notification-wrapper {
    position: relative;
    display: inline;
}

.notification-backdrop {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 999;
}

.notification-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 390px;
    background: var(--bg-1);
    border: 1px solid #e6ebf1;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15,23,42,.15);
    overflow: hidden;
    z-index: 1000;
    animation: notification-open .25s ease;
}

.notification-list {
    max-height: 520px;
    overflow-y: auto;
}

.notification-item {
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 1rem 1.2rem;
    border: none;
    background: var(--bg-1);
    border-bottom: 1px solid #f1f4f7;
    transition: .25s;
    position: relative;
    text-align: left;
}

    .notification-item:last-child {
        border-bottom: none;
    }

    .notification-item:hover {
        background: rgba(150, 150, 150, 0.1);
    }

.notification-dot {
    width: 10px;
    height: 10px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--brand-1);
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

    .notification-content h6 {
        margin: 0;
        font-size: .96rem;
        font-weight: 700;
        color: var(--fg-1);
    }

    .notification-content p {
        margin: .35rem 0 0;
        color: #667085;
        font-size: .86rem;
        line-height: 1.45;
    }

.mark-read {
    width: 34px;
    height: 30px;
    border: none;
    border-radius: 10px;
    background: #f5f8fb;
    color: var(--brand-2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
    flex-shrink: 0;
}

    .mark-read:hover {
        background: var(--brand-2);
        color: #fff;
        transform: scale(1.05);
    }

.notification-list::-webkit-scrollbar {
    width: 7px;
}

.notification-list::-webkit-scrollbar-thumb {
    background: #d8e2ec;
    border-radius: 20px;
}

@keyframes notification-open {

    from {
        opacity: 0;
        transform: translateY(-10px) scale(.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width:768px) {

    .notification-panel {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        animation: mobile-panel .25s ease;
    }

    .notification-header {
        padding: 1.4rem;
    }

    .notification-list {
        flex: 1;
        max-height: none;
    }
}

@keyframes mobile-panel {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* #endregion */

/* #region Insurance Providers */
/*=========================================================
    Page
=========================================================*/

.page-title {
    margin: 0;
    color: var(--fg-2);
    font-weight: 700;
}

.page-subtitle {
    margin-top: .35rem;
    color: #667085;
    max-width: 700px;
}

/*=========================================================
    Save Button
=========================================================*/

.btn-save {
    background: var(--brand-2);
    color: white;
    border: none;
    border-radius: 14px;
    padding: .85rem 1.5rem;
    font-weight: 600;
    transition: .25s;
    display: flex;
    align-items: center;
    gap: .6rem;
    box-shadow: 0 10px 28px rgba(0,50,97,.15);
}

    .btn-save:hover {
        background: var(--brand-1);
        color: white;
        transform: translateY(-2px);
    }

/*=========================================================
    Card
=========================================================*/

.provider-contact-card {
    background: var(--bg-1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 1.35rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease, background .25s ease;
    box-shadow: 0 8px 24px rgba(15,23,42,.05);
}

    .provider-contact-card:has(.provider-input:not(:placeholder-shown)) {
        border-color: #9fd8b3;
        box-shadow: 0 10px 28px rgba(22, 163, 74, .08), inset 0 0 0 1px rgba(34, 197, 94, .08);
    }

        /* Optional: green logo container */
        .provider-contact-card:has(.provider-input:not(:placeholder-shown))
        .provider-logo-box {
            border-color: #9fd8b3;
            background: #f4fcf7;
        }

        /* Optional: provider name */
        .provider-contact-card:has(.provider-input:not(:placeholder-shown))
        .provider-info h5 {
            color: #15803d;
        }

    .provider-contact-card:hover {
        transform: translateY(-4px);
        border-color: rgba(0,130,206,.20);
        box-shadow: 0 16px 36px rgba(15,23,42,.08);
    }

.configured-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #16a34a;
    color: white;
    font-size: .9rem;
    opacity: 0;
    transform: scale(.8);
    transition: .25s;
}

.provider-contact-card {
    position: relative;
}

    .provider-contact-card:has(.provider-input:not(:placeholder-shown))
    .configured-badge {
        opacity: 1;
        transform: scale(1);
    }

/*=========================================================
    Header
=========================================================*/

.provider-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.provider-logo-box {
    width: 74px;
    height: 74px;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    padding: 12px;
}

.provider-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.provider-info {
    flex: 1;
    min-width: 0;
}

    .provider-info h5 {
        margin: 0;
        color: var(--fg-1);
        font-size: 1.05rem;
        font-weight: 700;
    }

    .provider-info small {
        color: #667085;
    }

/*=========================================================
    Body
=========================================================*/

.provider-body {
    margin-top: auto;
}

.provider-input {
    border-radius: 12px;
    border: 1px solid #d9e2ec;
    height: 58px;
    transition: .25s;
}

    .provider-input:focus {
        border-color: var(--brand-1);
        box-shadow: 0 0 0 .2rem rgba(0,130,206,.10);
    }

/* Floating label icon */

.form-floating label {
    color: #667085;
}

/*=========================================================
    Responsive
=========================================================*/

@media(max-width:991px) {

    .provider-logo-box {
        width: 66px;
        height: 66px;
    }
}

@media(max-width:768px) {

    .btn-save {
        width: 100%;
        justify-content: center;
    }

    .page-subtitle {
        max-width: 100%;
    }
}

@media(max-width:576px) {

    .provider-contact-card {
        padding: 1.1rem;
    }

    .provider-header {
        gap: .85rem;
    }

    .provider-logo-box {
        width: 58px;
        height: 58px;
        border-radius: 14px;
    }

    .provider-info h5 {
        font-size: 1rem;
    }
}
/* #endregion */

/*=========================================================
    Customer Information Aligned Layout
=========================================================*/

.customer-information-layout {
    align-items: stretch;
}

    .customer-information-layout > [class*="col-"] {
        display: flex;
        flex-direction: column;
    }

    .customer-information-layout .customer-info-card,
    .customer-information-layout .dashboard-section {
        height: 100%;
    }

    .customer-information-layout .dashboard-section {
        display: flex;
        flex-direction: column;
    }

    .customer-information-layout .quick-links {
        flex: 1 1 auto;
        grid-template-rows: repeat(6, minmax(0, 1fr));
    }

        .customer-information-layout .quick-links button,
        .customer-information-layout .quick-links a {
            min-height: 64px;
        }

@media (max-width: 1199.98px) {
    .customer-information-layout .customer-info-card,
    .customer-information-layout .dashboard-section {
        height: auto;
    }

    .customer-information-layout .quick-links {
        grid-template-rows: none;
    }
}

/* #region UserProfile */
/*=========================================================
    Customer Profile Page
=========================================================*/

.customer-profile-card,
.customer-info-card,
.dashboard-section,
.status-card {
    background: var(--bg-2);
    border: 1px solid #8181814a;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .customer-profile-card:hover,
    .customer-info-card:hover,
    .dashboard-section:hover,
    .status-card:hover {
        transform: translateY(-3px);
        border-color: rgba(0,130,206,.18);
        box-shadow: 0 18px 40px rgba(15,23,42,.08);
    }

/*=========================================================
    Profile Banner
=========================================================*/

.profile-banner {
    height: 110px;
    background: linear-gradient( 135deg, var(--brand-2), var(--brand-1) );
    position: relative;
}

    .profile-banner::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 60%);
    }

/*=========================================================
    Avatar
=========================================================*/

.profile-avatar {
    width: 120px;
    height: 120px;
    margin: -60px auto 0;
    border-radius: 50%;
    background: var(--bg-2);
    border: 6px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 14px 30px rgba(0,50,97,.15);
    position: relative;
    z-index: 2;
}

    .profile-avatar i {
        font-size: 3rem;
        color: var(--brand-1);
    }

/*=========================================================
    Profile Body
=========================================================*/

.profile-body {
    padding: 1.75rem;
    text-align: center;
}

    .profile-body h2 {
        margin: 0;
        color: var(--fg-1);
        font-size: 1.7rem;
        font-weight: 700;
    }

.customer-id {
    margin: .6rem 0 1.3rem;
    color: #667085;
    font-size: 1.2rem;
    word-break: break-word;
    text-wrap: wrap;
}

    .customer-id i {
        margin-right: .4rem;
        color: var(--brand-1);
    }

/*=========================================================
    Badges
=========================================================*/

.profile-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .65rem;
}

    .profile-badges .badge {
        display: flex;
        align-items: center;
        gap: .45rem;
        padding: .6rem 1rem;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 600;
    }

.badge-private {
    background: #eef7ff;
    color: var(--brand-2);
}

.badge-corporate {
    background: #eef7ff;
    color: var(--brand-2);
}

.badge-web {
    background: #edfdf5;
    color: #15803d;
}

.badge-internal {
    background: #fff6e8;
    color: #b45309;
}

.badge i {
    font-size: .9rem;
}

/*=========================================================
    Status Cards
=========================================================*/

.status-card {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem;
}

.status-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34,197,94,.12);
    color: #16a34a;
    font-size: 1.35rem;
    flex-shrink: 0;
}

    .status-icon.secondary {
        background: rgba(0,130,206,.10);
        color: var(--brand-1);
    }

.mandate-active {
    border-left: 5px solid #22c55e;
}

.mandate-inactive {
    border-left: 5px solid #ef4444;
}

    .mandate-inactive .status-icon {
        background: var(--bg-1);
        color: #dc2626;
    }

.status-card h5 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fg-1);
}

.status-card p {
    margin: .35rem 0 0;
    color: #667085;
    line-height: 1.55;
    font-size: .9rem;
}

/*=========================================================
    Customer Information Card
=========================================================*/

.customer-info-card {
    padding: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-1);
    margin-bottom: 20px;
}

    .section-header h4 {
        margin: 0;
        display: flex;
        align-items: center;
        gap: .7rem;
        color: var(--brand-1);
        font-size: 1.2rem;
        font-weight: 700;
    }

        .section-header h4 i {
            font-size: 1.2rem;
        }

    .section-header p {
        margin: .45rem 0 0;
        color: #667085;
        font-size: .92rem;
    }

/*=========================================================
    Information Items
=========================================================*/

.info-item {
    background: var(--bg-2);
    border: 1px solid var(--border-1);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    height: 100%;
    transition: background .25s, border-color .25s, transform .25s;
}

    .info-item:hover {
        background: var(--bg-1);
        border-color: rgba(0,130,206,.18);
        transform: translateY(-2px);
    }

    .info-item span {
        display: flex;
        align-items: center;
        gap: .55rem;
        color: var(--fg-muted-1);
        font-size: .82rem;
        margin-bottom: .6rem;
    }

        .info-item span i {
            color: var(--brand-1);
            font-size: .95rem;
        }

    .info-item strong {
        display: block;
        color: var(--fg-2);
        font-weight: 600;
        font-size: 1rem;
        line-height: 1.45;
        word-break: break-word;
    }

/*=========================================================
    Generic Dashboard Card Padding
=========================================================*/

.dashboard-section {
    padding: 1.75rem;
}

/*=========================================================
    Action Grid
=========================================================*/

.action-grid {
    display: grid;
    gap: 1rem;
}

.action-tile {
    width: 100%;
    border: none;
    background: var(--bg-2);
    border: 1px solid #e8edf3;
    border-radius: 16px;
    padding: 1.15rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    transition: transform .25s, box-shadow .25s, border-color .25s, background .25s;
}

    .action-tile:hover {
        transform: translateY(-3px);
        border-color: rgba(0,130,206,.22);
        background: var(--bg-1);
        box-shadow: 0 14px 32px rgba(15,23,42,.08);
    }

.action-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(0,130,206,.10);
    color: var(--brand-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.action-tile h6 {
    margin: 0;
    color: var(--fg-1);
    font-weight: 700;
}

.action-tile span {
    display: block;
    margin-top: .3rem;
    color: #667085;
    font-size: .88rem;
}

/*=========================================================
    Statistics
=========================================================*/

.stat-card {
    width: 100%;
    border: none;
    border-radius: 18px;
    padding: 1.4rem;
    background: var(--bg-2);
    border: 1px solid #e8edf3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: .25s;
}

    .stat-card:hover {
        transform: translateY(-4px);
        border-color: rgba(0,130,206,.25);
        box-shadow: 0 16px 35px rgba(15,23,42,.08);
    }

    .stat-card.large {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 1rem;
    }

    .stat-card i {
        font-size: 1.8rem;
        color: var(--brand-1);
    }

    .stat-card strong {
        font-size: 2rem;
        color: var(--fg-1);
        line-height: 1;
    }

    .stat-card span {
        color: #667085;
        font-weight: 500;
    }

/*=========================================================
    Insurance Cards
=========================================================*/

.insurance-order-card {
    width: 100%;
    border: none;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e8edf3;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    min-height: 155px;
    transition: .25s;
}

    .insurance-order-card:hover {
        transform: translateY(-5px);
        background: linear-gradient(180deg,#ffffff,#f8fbff);
        border-color: rgba(0,130,206,.25);
        box-shadow: 0 16px 34px rgba(15,23,42,.08);
    }

    .insurance-order-card i {
        font-size: 2rem;
        color: var(--brand-2);
    }

    .insurance-order-card span {
        font-weight: 600;
        color: #1f2937;
        text-align: center;
        line-height: 1.45;
    }

/*=========================================================
    Timeline
=========================================================*/

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eef2f6;
}

    .timeline-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .timeline-item i {
        color: #22c55e;
        font-size: 1.2rem;
        margin-top: .2rem;
    }

    .timeline-item strong {
        display: block;
        color: var(--fg-1);
        margin-bottom: .3rem;
    }

    .timeline-item p {
        margin: 0;
        color: #667085;
        line-height: 1.5;
        font-size: .9rem;
    }

/*=========================================================
    Quick Links
=========================================================*/

.quick-links {
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 1.5rem;
}

    .quick-links button,
    .quick-links a {
        background: var(--bg-2);
        border: 1px solid var(--border-1);
        border-radius: 16px;
        padding: 1rem;
        display: flex;
        align-items: center;
        gap: .85rem;
        font-weight: 600;
        color: var(--fg-1);
        transition: .25s;
    }

        .quick-links button:hover,
        .quick-links a:hover {
            background: var(--bg-1);
            border-color: rgba(0,130,206,.22);
            transform: translateY(-3px);
            box-shadow: 0 12px 28px rgba(15,23,42,.07);
        }

        .quick-links button i,
        .quick-links a i {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: rgba(0,130,206,.10);
            color: var(--brand-1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            flex-shrink: 0;
        }

/*=========================================================
    Responsive
=========================================================*/

@media (max-width:1199.98px) {

    .customer-profile-card {
        margin-bottom: .5rem;
    }
}

@media (max-width:991.98px) {

    .customer-info-card,
    .dashboard-section {
        padding: 1.5rem;
    }

    .profile-avatar {
        width: 105px;
        height: 105px;
        margin-top: -52px;
    }

        .profile-avatar i {
            font-size: 2.6rem;
        }

    .quick-links {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:767.98px) {

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .action-tile {
        flex-direction: column;
        text-align: center;
    }

    .action-icon {
        margin-bottom: .25rem;
    }

    .stat-card.large {
        flex-direction: column;
        text-align: center;
    }

    .insurance-order-card {
        min-height: 135px;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width:575.98px) {

    .profile-banner {
        height: 90px;
    }

    .profile-avatar {
        width: 90px;
        height: 90px;
        margin-top: -45px;
    }

        .profile-avatar i {
            font-size: 2.2rem;
        }

    .profile-body {
        padding: .5rem;
    }

        .profile-body h2 {
            font-size: 1.4rem;
        }

    .customer-info-card,
    .dashboard-section {
        padding: 1.15rem;
    }

    .status-card {
        padding: 1rem;
    }

    .status-icon {
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
    }

    .info-item {
        padding: .9rem;
    }

    .insurance-order-card {
        min-height: 120px;
        padding: 1.25rem;
    }

        .insurance-order-card i {
            font-size: 1.7rem;
        }

    .stat-card strong {
        font-size: 1.7rem;
    }

    .quick-links button {
        padding: .9rem;
    }
}

/* #endregion */

/* #region Customer Profile Tabs */

/*=========================================================
    Customer Tabs Container
=========================================================*/

.customer-tabs-container {
    margin-bottom: 1rem;
    padding: 0;
}

.customer-nav-tabs {
    display: flex;
    border: none;
    background: transparent;
    gap: 0.75rem;
    border-bottom: 2px solid var(--border-1, #e5e7eb);
    padding-bottom: 0.75rem;
    flex-wrap: wrap;
}

    .customer-nav-tabs .nav-item {
        flex: 1 1 0;
        margin-bottom: 0;
    }

/*=========================================================
    Tab Button Styling
=========================================================*/

.customer-tab-btn {
    background: var(--bg-2);
    width: 100%;
    border: 1px solid #8181814a;
    color: var(--fg-2);
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

    .customer-tab-btn i {
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }

    .customer-tab-btn:hover {
        background: var(--bg-1, #f8f9fa);
        border-color: rgba(0, 130, 206, 0.3);
        color: var(--fg-1, #1f2937);
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(0, 130, 206, 0.1);
    }

    .customer-tab-btn.active {
        background-color: var(--brand-2) !important;
        color: #fff !important;
        box-shadow: 0 8px 20px rgba(0, 130, 206, 0.15);
    }

        .customer-tab-btn.active i {
            color: #fff !important;
        }

    .customer-tab-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 130, 206, 0.1);
    }

/*=========================================================
    Tab Content Area
=========================================================*/

.customer-tab-content {
    animation: fadeIn 0.3s ease-in-out;
}

    .customer-tab-content .tab-pane {
        animation: fadeInContent 0.35s ease-in-out;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*=========================================================
    Responsive Adjustments
=========================================================*/

@media (max-width: 768px) {
    .customer-nav-tabs {
        gap: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .customer-tab-btn {
        padding: 0.65rem 0.95rem;
        font-size: 0.88rem;
    }

        .customer-tab-btn span {
            display: inline;
        }

        .customer-tab-btn i {
            font-size: 1rem;
        }
}

.customer-profile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: var(--bg-2);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.08);
    height: 84px;
    padding: 0.4rem 0.45rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.3rem;
}

.customer-profile-bottom-nav__item {
    border: none;
    background: var(--bg-2);
    border-radius: 12px;
    color: var(--fg-1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    font-size: 0.67rem;
    font-weight: 600;
    padding: 0.35rem 0.25rem;
    transition: all 0.22s ease;
}

    .customer-profile-bottom-nav__item i {
        font-size: 1.15rem;
    }

    .customer-profile-bottom-nav__item.active {
        color: #fff;
        background: var(--brand-2);
    }

    .customer-profile-bottom-nav__item:active {
        transform: scale(0.98);
    }

@media (max-width: 991.98px) {
    .customer-profile-page-shell {
        padding-bottom: calc(84px + 1rem) !important;
    }
}

.profile-bottom-nav__more {
    position: relative;
    min-width: 0;
    width: 100%;
    height: 100%;
}

    /*
    The three-dot button occupies the complete fifth grid column.
*/
    .profile-bottom-nav__more > .profile-bottom-nav__item {
        width: 100%;
        height: 100%;
    }

/*
    Dropup is positioned relative to the fifth grid column,
    so it automatically follows its width on every screen size.
*/
.profile-bottom-nav__dropup {
    position: absolute;
    bottom: 100%;
    left: 0;
    /* item width + bottom-nav right padding */
    width: calc(100% + 0.25rem);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: var(--bg-2);
    backdrop-filter: blur(12px);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.12);
    z-index: 1001;
    /* Important because the dropup itself has padding */
    box-sizing: border-box;
    padding-bottom: 10px;
}

    /*
    Dropup items also fill the complete responsive column width.
*/
    .profile-bottom-nav__dropup .profile-bottom-nav__item {
        width: 100%;
        min-width: 0;
        min-height: 58px;
        border-radius: 10px;
    }

/*
    When the menu is open, flatten the upper corners of
    the Mehr button to visually connect both parts.
*/
.profile-bottom-nav__more.open > .profile-bottom-nav__item {
    border-radius: 0 0 12px 12px;
}

/* #endregion */

/* #region Customer Mandates */

/*=========================================================
    Mandate Container
=========================================================*/

.mandate-container {
    width: 100%;
}

/*=========================================================
    Mandates List
=========================================================*/

.mandates-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/*=========================================================
    Mandate Card
=========================================================*/

.mandate-card {
    background: var(--bg-2);
    border: 1px solid #8181814a;
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .mandate-card:hover {
        transform: translateY(-3px);
        border-color: rgba(0, 130, 206, 0.18);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    }

/*=========================================================
    Mandate Card Header (Content Row)
=========================================================*/

.mandate-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/*=========================================================
    Mandate Type Section
=========================================================*/

.mandate-type {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.mandate-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

    .mandate-icon.broker {
        background: rgba(0, 130, 206, 0.12);
        color: var(--brand-1);
    }

    .mandate-icon.consulting {
        background: rgba(34, 197, 94, 0.12);
        color: #16a34a;
    }

.badge-maklermandat {
    background: #eef7ff;
    color: var(--brand-2);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

    .badge-maklermandat i {
        font-size: 0.9rem;
    }

.badge-beratung {
    background: #edfdf5;
    color: #15803d;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

    .badge-beratung i {
        font-size: 0.9rem;
    }

/*=========================================================
    Mandate Info Section
=========================================================*/

.mandate-info {
    flex: 1;
    min-width: 250px;
}

    .mandate-info h5 {
        margin: 0;
        color: var(--fg-1);
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 0.6rem;
    }

.mandate-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.meta-label {
    color: #667085;
    font-size: 0.85rem;
    font-weight: 500;
}

.meta-value {
    color: var(--fg-1);
    font-size: 0.9rem;
    font-weight: 600;
}

/*=========================================================
    Mandate Status Section
=========================================================*/

.mandate-status {
    flex-shrink: 0;
}

.badge-status-active {
    background: #edfdf5;
    color: #15803d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

    .badge-status-active i {
        font-size: 1rem;
    }

.badge-status-expired {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

    .badge-status-expired i {
        font-size: 1rem;
    }

/*=========================================================
    Mandate Actions
=========================================================*/

.mandate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-mandate-preview,
.btn-mandate-download {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1.5px solid var(--border-1);
    color: var(--fg-1);
    padding: 0.65rem 1.1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .btn-mandate-preview i,
    .btn-mandate-download i {
        font-size: 1rem;
    }

    .btn-mandate-preview:hover {
        background: rgba(0, 130, 206, 0.08);
        border-color: rgba(0, 130, 206, 0.3);
        color: var(--brand-1);
    }

    .btn-mandate-download:hover {
        background: rgba(0, 130, 206, 0.08);
        border-color: rgba(0, 130, 206, 0.3);
        color: var(--brand-1);
    }

    .btn-mandate-preview:active,
    .btn-mandate-download:active {
        transform: scale(0.98);
    }

/*=========================================================
    Skeleton Loading States
=========================================================*/

.skeleton-mandate-card {
    pointer-events: none;
}

.mandate-type-skeleton {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.skeleton-mandate-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(90deg, var(--bg-2) 25%, rgba(0, 130, 206, 0.05) 50%, var(--bg-2) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    flex-shrink: 0;
}

.skeleton-badge-small {
    width: 110px;
    height: 32px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--bg-2) 25%, rgba(0, 130, 206, 0.05) 50%, var(--bg-2) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.mandate-info-skeleton {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.skeleton-mandate-title {
    width: 180px;
    height: 20px;
}

.skeleton-info-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.skeleton-mandate-meta {
    width: 140px;
    height: 16px;
}

.mandate-status-skeleton {
    flex-shrink: 0;
}

.skeleton-badge-status {
    width: 110px;
    height: 40px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--bg-2) 25%, rgba(0, 130, 206, 0.05) 50%, var(--bg-2) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.mandate-actions-skeleton {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.skeleton-button {
    width: 110px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--bg-2) 25%, rgba(0, 130, 206, 0.05) 50%, var(--bg-2) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/*=========================================================
    Responsive Adjustments - Tablet
=========================================================*/

@media (max-width: 992px) {
    .mandate-header {
        gap: 1rem;
    }

    .mandate-meta {
        gap: 1rem;
    }

    .btn-mandate-preview,
    .btn-mandate-download {
        padding: 0.65rem 0.85rem;
    }
}

/*=========================================================
    Responsive Adjustments - Mobile
=========================================================*/

@media (max-width: 768px) {
    .mandate-card {
        padding: 1.25rem;
        gap: 1.25rem;
    }

    .mandate-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .mandate-type {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .mandate-info {
        width: 100%;
        min-width: unset;
    }

    .mandate-status {
        width: 100%;
    }

    .mandate-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .btn-mandate-preview,
    .btn-mandate-download {
        flex: 1;
        justify-content: center;
    }

    .skelton-mandate-card .mandate-info-skeleton {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .mandate-card {
        padding: 1rem;
        gap: 1rem;
    }

    .mandate-info h5 {
        font-size: 1rem;
    }

    .meta-label,
    .meta-value {
        font-size: 0.8rem;
    }

    .mandate-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .meta-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .mandate-actions {
        gap: 0.5rem;
    }

    .btn-mandate-preview,
    .btn-mandate-download {
        padding: 0.6rem 0.9rem;
        font-size: 0.85rem;
    }

        .btn-mandate-preview i,
        .btn-mandate-download i {
            font-size: 0.9rem;
        }
}

/* #endregion */

/* #region Customer Requests */


/*=========================================================
    Sort Control
=========================================================*/

.sort-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.sort-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--fg-muted-1, #667085);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

    .sort-label i {
        font-size: 1rem;
    }

.sort-dropdown {
    background: var(--bg-2);
    border: 1px solid var(--border-1);
    color: var(--fg-1);
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .sort-dropdown:hover {
        border-color: rgba(0, 130, 206, 0.3);
        background: var(--bg-1);
    }

    .sort-dropdown:focus {
        outline: none;
        border-color: var(--brand-1);
        box-shadow: 0 0 0 3px rgba(0, 130, 206, 0.1);
    }

    .sort-dropdown option {
        background: var(--bg-2);
        color: var(--fg-1);
    }

/*=========================================================
    Requests Table Wrapper
=========================================================*/

.requests-table-wrapper {
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
}

/*=========================================================
    Requests Table
=========================================================*/

.requests-table {
    background-color: var(--bg-2);
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 15px;
}

    .requests-table thead {
        background: var(--bg-2);
        border-bottom: 2px solid var(--fg-muted-1);
    }

        .requests-table thead th {
            color: var(--fg-muted-1, #667085);
            font-size: 0.85rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 1rem 1.25rem;
            border: none;
        }

    .requests-table tbody tr {
        background-color: var(--bg-2);
        border-bottom: 1px solid var(--border-1, #e5e7eb);
        transition: all 0.3s ease;
    }

        .requests-table tbody tr:hover {
            background: #7979793a;
        }

        .requests-table tbody tr:last-child {
            border-bottom: none;
        }

    .requests-table td {
        padding: 1.2rem 1.25rem;
        color: var(--fg-1);
        vertical-align: middle;
    }

/*=========================================================
    Request Type Cell
=========================================================*/

.request-type-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.request-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

    .request-icon.car {
        background: rgba(59, 130, 246, 0.12);
        color: #3b82f6;
    }

    .request-icon.health {
        background: rgba(236, 72, 153, 0.12);
        color: #ec4899;
    }

    .request-icon.home {
        background: rgba(34, 197, 94, 0.12);
        color: #22c55e;
    }

    .request-icon.life {
        background: rgba(168, 85, 247, 0.12);
        color: #a855f7;
    }

    .request-icon.liability {
        background: rgba(255, 193, 7, 0.12);
        color: #ffc107;
    }

    .request-icon.default {
        background: rgba(0, 130, 206, 0.12);
        color: var(--brand-1);
    }

.request-type-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.request-type-name {
    display: block;
    color: var(--fg-1);
    font-weight: 600;
    font-size: 0.95rem;
}

.badge-request-car {
    background: #dbeafe;
    color: #1e40af;
    font-size: 0.75rem;
}

.badge-request-health {
    background: #fce7f3;
    color: #be185d;
    font-size: 0.75rem;
}

.badge-request-home {
    background: #dcfce7;
    color: #166534;
    font-size: 0.75rem;
}

.badge-request-life {
    background: #f3e8ff;
    color: #6b21a8;
    font-size: 0.75rem;
}

.badge-request-liability {
    background: #fef0e3;
    color: #a16207;
    font-size: 0.75rem;
}

.badge-request-default {
    background: #eef7ff;
    color: var(--brand-2);
    font-size: 0.75rem;
}

/*=========================================================
    Status Badges
=========================================================*/

.badge-status-filled {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

    .badge-status-filled i {
        font-size: 0.85rem;
    }

.badge-status-method {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

    .badge-status-method i {
        font-size: 0.85rem;
    }

.badge-status-providers {
    background: rgba(107, 114, 128, 0.1);
    color: var(--fg-1);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

    .badge-status-providers i {
        font-size: 0.85rem;
    }

.badge-status-offers {
    background: #76767620;
    color: #010370;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

    .badge-status-offers i {
        font-size: 0.85rem;
    }

.badge-status-signed {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

    .badge-status-signed i {
        font-size: 0.85rem;
    }

.badge-status-default {
    background: rgba(0, 130, 206, 0.1);
    color: var(--brand-1);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

    .badge-status-default i {
        font-size: 0.85rem;
    }

/*=========================================================
    Progress Status Badges
=========================================================*/

.badge-request-finished {
    background: #dcfce7;
    color: #166534;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

    .badge-request-finished i {
        font-size: 0.85rem;
    }

.badge-request-active {
    background: rgba(236, 72, 153, 0.1);
    color: #be185d;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

    .badge-request-active i {
        font-size: 0.85rem;
    }

/*=========================================================
    Date Text
=========================================================*/

.date-text {
    color: var(--fg-1);
    font-size: 0.9rem;
    font-weight: 500;
}

    .date-text.text-danger {
        color: #dc2626;
        font-weight: 600;
    }

/*=========================================================
    Request Actions
=========================================================*/

.request-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-request-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: 1.5px solid var(--border-1);
    color: var(--fg-1);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

    .btn-request-action i {
        font-size: 1rem;
    }

    .btn-request-action:hover:not(.disabled) {
        background: rgba(0, 130, 206, 0.08);
        border-color: rgba(0, 130, 206, 0.3);
        color: var(--brand-1);
    }

    .btn-request-action:active:not(.disabled) {
        transform: scale(0.95);
    }

    .btn-request-action.disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .btn-request-action .btn-tooltip {
        display: none;
        position: absolute;
        top: -35px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 0.4rem 0.6rem;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 600;
        white-space: nowrap;
        z-index: 1000;
    }

    .btn-request-action:hover .btn-tooltip:not(.disabled) {
        display: block;
    }

/*=========================================================
    Skeleton Loading States
=========================================================*/

.skeleton-requests-table {
    pointer-events: none;
}

.skeleton-row {
    pointer-events: none;
}

.skeleton-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(90deg, var(--bg-2) 25%, rgba(0, 130, 206, 0.05) 50%, var(--bg-2) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    flex-shrink: 0;
}

.skeleton-request-type {
    width: 140px;
    height: 16px;
}

.skeleton-badge-small {
    width: 90px;
    height: 28px;
    border-radius: 50px;
}

.skeleton-date {
    width: 100px;
    height: 16px;
}

.skeleton-status {
    width: 120px;
    height: 28px;
    border-radius: 50px;
}

.skeleton-btn-small {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--bg-2) 25%, rgba(0, 130, 206, 0.05) 50%, var(--bg-2) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    flex-shrink: 0;
}

/*=========================================================
    Responsive Adjustments - Tablet
=========================================================*/

@media (max-width: 1200px) {
    .requests-table td {
        padding: 1rem 0.9rem;
        font-size: 0.9rem;
    }

    .requests-table thead th {
        padding: 0.85rem 0.75rem;
        font-size: 0.8rem;
    }

    .request-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .request-type-name {
        font-size: 0.9rem;
    }
}

/*=========================================================
    Responsive Adjustments - Mobile
=========================================================*/

@media (max-width: 992px) {
    .sort-control {
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-1);
    }

    .sort-dropdown {
        min-width: 100%;
    }

    .requests-table-wrapper {
        overflow-x: auto;
    }

    .requests-table {
        min-width: 800px;
    }

        .requests-table td {
            padding: 0.9rem 0.75rem;
        }

        .requests-table thead th {
            padding: 0.75rem 0.5rem;
        }

    .request-icon {
        width: 36px;
        height: 36px;
    }

    .request-type-info {
        gap: 0.25rem;
    }

    .request-type-name {
        font-size: 0.85rem;
    }

    .badge {
        padding: 0.35rem 0.65rem;
        font-size: 0.7rem;
    }

    .btn-request-action {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sort-control {
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-1);
    }

    .requests-table-wrapper {
        border-radius: 12px;
    }

    .requests-table {
        min-width: 900px;
    }

        .requests-table td {
            padding: 0.8rem 0.6rem;
        }

        .requests-table thead th {
            padding: 0.7rem 0.4rem;
        }

    .request-icon {
        width: 32px;
        height: 32px;
    }

    .request-type-cell {
        gap: 0.5rem;
    }

    .request-type-info {
        gap: 0.2rem;
    }

    .badge {
        padding: 0.3rem 0.55rem;
    }

    .btn-request-action {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 576px) {

    .sort-dropdown {
        min-width: 100%;
    }

    .requests-table {
        min-width: 950px;
    }

        .requests-table td {
            padding: 0.7rem 0.5rem;
        }

        .requests-table thead th {
            padding: 0.6rem 0.4rem;
        }

    .request-icon {
        width: 28px;
        height: 28px;
    }

    .btn-request-action {
        width: 24px;
        height: 24px;
    }
}

/* #endregion */

/* #region Choice Card */

.choice-card {
    position: relative;
    display: block;
    height: 520px;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    isolation: isolate;
    background: #111;
    transform: translateY(0);
    transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,.15), 0 4px 12px rgba(0,0,0,.08);
    cursor: pointer;
}

@media (max-width: 800px) {
    .choice-card {
        min-height: 270px !important;
    }
}

.choice-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .8s ease, filter .6s ease;
}

.choice-overlay {
    position: absolute;
    inset: 0;
    background: #00000080;
    z-index: 1;
    transition: opacity .4s ease;
}

.choice-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: var(--light-1);
}

    .choice-content h3 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 1rem;
        line-height: 1.2;
        text-shadow: 0 4px 20px rgba(0,0,0,.5);
    }

    .choice-content p {
        max-width: 340px;
        margin: 0;
        font-size: 1.2rem;
        line-height: 1.7;
        opacity: .95;
        text-shadow: 0 4px 20px rgba(0,0,0,.5);
    }

.choice-glow {
    position: absolute;
    inset: -30%;
    z-index: 2;
    opacity: 0;
    background: radial-gradient( circle at center, rgba(255,255,255,.25), transparent 60% );
    transition: opacity .5s ease;
    pointer-events: none;
}

.choice-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 28px;
    background: linear-gradient( 135deg, rgba(255,255,255,.8), rgba(255,255,255,.15), rgba(255,255,255,.8) );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: .4;
    z-index: 5;
    transition: opacity .4s ease;
}

.choice-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 35px 60px rgba(0,0,0,.25), 0 15px 30px rgba(0,0,0,.12);
}

    .choice-card:hover img {
        transform: scale(1.08);
        filter: brightness(1.05);
    }

    .choice-card:hover .choice-glow {
        opacity: 1;
    }

    .choice-card:hover::before {
        opacity: 1;
    }

.choice-card:active {
    transform: translateY(-4px) scale(.99);
}

/* Entire card behaves like a file picker */

.file-upload-card {
    position: relative;
}

/* Invisible InputFile covering the entire card */

.choice-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 20;
}

/* Error message */

.upload-error {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1rem;
    border-radius: 12px;
    background: rgba(220,53,69,.15);
    color: #fff;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    font-size: .95rem;
    font-weight: 500;
}

    .upload-error i {
        color: #ffb3b3;
    }

/* Floating animation */
.choice-card {
    animation: floatCard 6s ease-in-out infinite;
}

    .choice-card:nth-child(2) {
        animation-delay: 1.5s;
    }

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .choice-card {
        height: 420px;
    }

    .choice-content h3 {
        font-size: 1.6rem;
    }

    .choice-content p {
        font-size: .95rem;
    }
}

/* #endregion */

/* #region Progress Bar */
.vb-progress {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 2rem 0 1.5rem;
}

/*----------------------------------------*/

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .85rem;
    background: transparent;
    border: none;
    padding: 0;
    color: #475467;
    min-width: 95px;
    cursor: pointer;
    transition: .25s ease;
    flex-shrink: 0;
}

    .progress-step:hover {
        transform: translateY(-2px);
    }

    .progress-step:focus-visible {
        outline: none;
    }

        .progress-step:focus-visible .step-circle {
            box-shadow: 0 0 0 4px rgba(0,50,97,.12);
        }

/*----------------------------------------*/

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--brand-1);
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-2);
    color: var(--fg-1);
    font-weight: 700;
    font-size: 1rem;
    transition: .3s ease;
}

/*----------------------------------------*/

.progress-step.completed .step-circle {
    background: var(--brand-2);
    color: white;
}

.progress-step.active .step-circle {
    background: var(--brand-2);
    color: white;
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(0,50,97,.18);
}

/*----------------------------------------*/

.step-title {
    text-align: center;
    font-size: .9rem;
    font-weight: 600;
    color: var(--fg-1);
    line-height: 1.35;
}

.progress-step.completed .step-title,
.progress-step.active .step-title {
    color: var(--fg-1);
}

/*----------------------------------------*/

.progress-line {
    flex: 1;
    height: 2px;
    background: #d7e1ea;
    margin-top: 24px;
    min-width: 45px;
    transition: .3s;
}

    .progress-line.completed {
        background: var(--brand-2);
    }

/*==================================================
    Mobile
==================================================*/

@media(max-width:992px) {

    .step-title {
        font-size: .82rem;
    }
}

@media(max-width:768px) {

    .vb-progress {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: .75rem;
        scrollbar-width: none;
    }

        .vb-progress::-webkit-scrollbar {
            display: none;
        }

    .progress-step {
        min-width: 30px !important;
    }

    .step-circle {
        width: 42px !important;
        height: 42px !important;
        font-size: .92rem;
    }

    .progress-line {
        min-width: 15px !important;
        margin-top: 21px !important;
    }

    .step-title {
        font-size: .78rem;
    }
}

@media(max-width:450px) {

    .progress-step {
        min-width: 74px;
    }

    .step-title {
        font-size: .72rem;
        display: none;
    }
}
/* #endregion */

/* #region Breadcrumb Navigation */

.vb-breadcrumb-nav {
    padding: 12px 0;
}

.vb-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.vb-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    font-size: 15px;
    color: var(--fg-1);
}

.vb-breadcrumb-link {
    color: var(--brand-1);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

    .vb-breadcrumb-link:hover {
        color: var(--brand-1-hover);
        background-color: rgba(0, 130, 206, 0.08);
        text-decoration: none;
    }

    .vb-breadcrumb-link:focus {
        outline: 2px solid var(--brand-1);
        outline-offset: 2px;
        border-radius: 4px;
    }

.vb-breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    color: var(--fg-muted-1);
    font-size: 16px;
    opacity: 0.5;
}

.vb-breadcrumb-item.vb-breadcrumb-active .vb-breadcrumb-current {
    color: var(--fg-1);
    font-weight: 500;
    padding: 4px 8px;
}

/* Dark mode support - breadcrumb colors adapt automatically via CSS variables */

/* Mobile responsive - breadcrumb */
@media (max-width: 768px) {
    .vb-breadcrumb-nav {
        padding: 8px 0;
    }

    .vb-breadcrumb-list {
        gap: 0;
    }

    .vb-breadcrumb-item {
        gap: 6px;
    }

    .vb-breadcrumb-link {
        padding: 3px 6px;
    }

    .vb-breadcrumb-separator {
        margin: 0 3px;
    }

    .vb-breadcrumb-item.vb-breadcrumb-active .vb-breadcrumb-current {
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .vb-breadcrumb-nav {
        padding: 6px 0;
    }

    .vb-breadcrumb-item {
        gap: 4px;
    }

    .vb-breadcrumb-link {
        padding: 2px 4px;
    }

    .vb-breadcrumb-separator {
        margin: 0 2px;
    }

    .vb-breadcrumb-item.vb-breadcrumb-active .vb-breadcrumb-current {
        padding: 2px 4px;
    }
}

/* #endregion */

/* #region Offer Cards */
.offer-card {
    background: var(--bg-2) !important;
    border: 1px solid var(--border-1) !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.05) !important;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
    position: relative;
}

    .offer-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 45px rgba(0,0,0,.08);
        border-color: rgba(0,130,206,.22);
    }

    /* subtle top accent */

    .offer-card::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 4px;
        background: linear-gradient( 90deg, var(--brand-2), var(--brand-1) );
    }

/*==========================================================
    Header
==========================================================*/

.offer-header {
    padding: 1.2rem 1.3rem;
    border-bottom: 1px solid var(--border-1) !important;
    background: linear-gradient( to bottom, var(--bg-1), var(--bg-2)) !important;
}

.provider {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.provider-logo {
    width: 80px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    padding: .55rem;
    border-radius: 14px;
    border: 1px solid var(--border-1);
    background: white;
}

.provider h3 {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text);
}

.provider-subtitle {
    display: inline-block;
    margin-top: .25rem;
    color: var(--text-light);
    font-size: .9rem;
}

/*==========================================================
    Coverage Section
==========================================================*/

.coverage-section {
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid var(--border-1) !important;
}

    .coverage-section:last-of-type {
        border-bottom: none;
    }

    .coverage-section .coverage-car-brand {
        font-size: .85rem;
        font-weight: 700;
        text-align: center;
        color: var(--fg-1) !important;
        border: solid 1px var(--border-1);
        padding: 10px;
        border-radius: 10px;
        background-color: #006bff0e;
    }

.coverage-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--brand-1) !important;
    font-size: 1rem;
}

    .coverage-title i {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: rgba(0,130,206,.08);
        color: var(--brand-1) !important;
        font-size: 1.05rem;
    }

/*==========================================================
    Coverage List
==========================================================*/

.coverage-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.coverage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0.6rem;
    border-radius: 10px;
    transition: background .2s ease;
}

    .coverage-item:hover {
        background: var(--surface-alt);
    }

    .coverage-item span {
        color: var(--text-light);
        font-size: .94rem;
        line-height: 1.4;
    }

    .coverage-item strong {
        color: var(--text);
        font-weight: 700;
        white-space: nowrap;
    }

/*==========================================================
    Premium Status Badges
==========================================================*/

.coverage-title .badge-success {
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .2px;
    padding: .55rem .85rem;
    border-radius: 999px;
    background: #1aff001c !important;
    color: #0b7a45 !important;
}

.coverage-title .badge-failure {
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .2px;
    padding: .55rem .85rem;
    border-radius: 999px;
    background-color: #ff00001c !important;
    color: #ff0000 !important;
}

/*==========================================================
    Price Section
==========================================================*/

.offer-price {
    margin: 1.1rem;
    margin-top: auto;
    border-radius: 16px;
    padding: 1.1rem;
    background: linear-gradient( 135deg, var(--brand-2), #0b477d );
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .offer-price span {
        font-size: .95rem;
        opacity: .92;
    }

    .offer-price strong {
        font-size: 1.5rem;
        font-weight: 800;
        letter-spacing: -.5px;
    }

/*==========================================================
    Footer Wrapper
==========================================================*/

.offer-footer {
    padding: 0 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

/*==========================================================
    Custom Grid for 5 Columns on Large Screens
==========================================================*/

/* Container for offers grid */
.offers-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

/* Force 5 columns on extra large screens */
@media (min-width: 1920px) {
    .offers-grid-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Force 4 columns on large screens */
@media (min-width: 1400px) and (max-width: 1919.98px) {
    .offers-grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Force 3 columns on medium-large screens */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .offers-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Force 2 columns on medium screens */
@media (max-width: 991.98px) {
    .offers-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1 column on small screens */
@media (max-width: 640px) {
    .offers-grid-container {
        grid-template-columns: 1fr;
    }
}

/*==========================================================
    Responsive
==========================================================*/

@media (max-width:1199.98px) {

    .offer-card {
        min-height: 100%;
    }
}

@media (max-width:991.98px) {

    .provider-logo {
        width: 60px;
        height: 50px;
    }

    .offer-price strong {
        font-size: 1.55rem;
    }
}

@media (max-width:767.98px) {

    .coverage-item {
        padding: .7rem;
    }

        .coverage-item span {
            font-size: .9rem;
        }

    .offer-header {
        padding: 1.25rem;
    }

    .coverage-section {
        padding: 1.2rem;
    }

    .offer-price {
        margin: 1.2rem;
    }
}

@media (max-width:575.98px) {

    .provider {
        align-items: flex-start;
    }

    .offer-price {
        flex-direction: column;
        gap: .45rem;
        text-align: center;
    }

        .offer-price strong {
            font-size: 1.65rem;
        }
}
/*==========================================================
    Buttons
==========================================================*/

.btn-buy {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: .95rem 1.25rem;
    background: linear-gradient(135deg, var(--brand-2), var(--brand-1));
    color: #fff;
    font-weight: 700;
    font-size: .97rem;
    transition: transform .28s ease, box-shadow .28s ease, filter .28s ease;
    box-shadow: 0 12px 28px rgba(0, 50, 97, .22);
}

    .btn-buy:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 36px rgba(0, 50, 97, .28);
    }

    .btn-buy:active {
        transform: translateY(0);
    }

    .btn-buy:focus-visible {
        outline: none;
        box-shadow: 0 0 0 .25rem rgba(0,130,206,.20), 0 12px 28px rgba(0,50,97,.22);
    }

/*==========================================================
    Secondary Buttons
==========================================================*/

.secondary-actions {
    display: flex;
    gap: .75rem;
}

.btn-pdf,
.btn-details {
    flex: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid var(--border-1) !important;
    background: var(--bg-1) !important;
    color: var(--fg-1) !important;
    font-weight: 600;
    transition: background .28s ease, border-color .28s ease, transform .28s ease, color .28s ease, box-shadow .28s ease;
}

    .btn-pdf i,
    .btn-details i {
        font-size: .95rem;
    }

    .btn-pdf:hover {
        border-color: #d85b5b;
        background: #fff5f5;
        color: #bf1e2d;
    }

    .btn-details:hover {
        border-color: rgba(0,130,206,.28);
        background: rgba(0,130,206,.05);
        color: var(--brand-2);
    }

    .btn-pdf:active,
    .btn-details:active {
        transform: scale(.98);
    }

    .btn-pdf:focus-visible,
    .btn-details:focus-visible {
        outline: none;
        box-shadow: 0 0 0 .25rem rgba(0,130,206,.15);
    }

/*==========================================================
    Expandable Details Support
==========================================================*/

/* Hidden until expanded */

.coverage-section.is-collapsed .coverage-list {
    display: none;
}

/* Chevron animation */

.btn-details i {
    transition: transform .3s ease;
}

.offer-card.expanded .btn-details i {
    transform: rotate(180deg);
}

/* Smooth reveal */

.coverage-list {
    animation: fadeSlide .28s ease;
}

/*==========================================================
    Optional Highlight
==========================================================*/

.offer-card.recommended {
    border-color: rgba(0,130,206,.45);
    box-shadow: 0 22px 50px rgba(0,50,97,.12);
}

    .offer-card.recommended::after {
        content: "Empfehlung";
        position: absolute;
        top: 18px;
        right: -38px;
        width: 150px;
        text-align: center;
        background: linear-gradient(135deg,var(--brand-2),var(--brand-1));
        color: #fff;
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .4px;
        padding: .35rem 0;
        transform: rotate(45deg);
    }

/*==========================================================
    Micro Interactions
==========================================================*/

.coverage-title {
    transition: color .28s ease;
}

.offer-card:hover .coverage-title {
    color: var(--brand-1);
}

.coverage-title i {
    transition: transform .28s ease, background .28s ease;
}

.offer-card:hover .coverage-title i {
    transform: scale(1.08);
    background: rgba(0,130,206,.14);
}

.provider-logo {
    transition: transform .3s ease, box-shadow .3s ease;
}

.offer-card:hover .provider-logo {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,.06);
}

.offer-price {
    transition: transform .25s ease, box-shadow .25s ease;
}

.offer-card:hover .offer-price {
    transform: scale(1.015);
    box-shadow: 0 12px 28px rgba(0,50,97,.18);
}

/*==========================================================
    Loading Skeleton (Optional)
==========================================================*/

.skeleton {
    position: relative;
    overflow: hidden;
    background: #eef2f6;
}

    .skeleton::before {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.7), transparent );
        animation: skeleton 1.3s infinite;
    }

/*==========================================================
    Animations
==========================================================*/

@keyframes fadeSlide {

    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes skeleton {

    to {
        transform: translateX(100%);
    }
}

/*==========================================================
    Tablet
==========================================================*/

@media (max-width: 991.98px) {

    .offer-footer {
        padding: 0 1.2rem 1.2rem;
    }

    .secondary-actions {
        gap: .6rem;
    }
}

/*==========================================================
    Mobile
==========================================================*/

@media (max-width: 767.98px) {

    .offer-card {
        border-radius: 16px;
    }

    .secondary-actions {
        flex-direction: column;
    }

    .btn-buy,
    .btn-pdf,
    .btn-details {
        width: 100%;
    }

    .offer-price {
        padding: 1.15rem;
    }
}

/*==========================================================
    Small Phones
==========================================================*/

@media (max-width: 420px) {

    .offer-header {
        padding: 1rem;
    }

    .provider {
        gap: .75rem;
    }

        .provider h3 {
            font-size: 1.05rem;
        }

    .provider-subtitle {
        font-size: .82rem;
    }

    .coverage-title {
        font-size: .92rem;
    }

        .coverage-title i {
            width: 34px;
            height: 34px;
            font-size: .9rem;
        }

    .offer-price strong {
        font-size: 1.45rem;
    }
}
/* #endregion */

/* #region Signature Page */

/* Accept Offer Modal */
.accept-offer-modal {
    --bs-modal-width: 95%;
    --bs-modal-padding: 0;
}

@media (min-width: 768px) {
    .accept-offer-modal {
        --bs-modal-width: 700px;
    }
}

.accept-offer-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.5rem;
}

    .accept-offer-modal .modal-header .modal-title {
        font-weight: 600;
        font-size: 1.3rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .accept-offer-modal .modal-header .modal-title i {
            font-size: 1.5rem;
        }

.accept-offer-modal .modal-body {
    padding: 2rem;
    max-height: 80vh;
    overflow-y: auto;
}

/* Legal Text Section */
.accept-offer-legal {
    background-color: var(--bg-2);
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

    .accept-offer-legal h5 {
        color: #667eea;
        font-weight: 600;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .accept-offer-legal p {
        margin: 0.8rem 0;
        font-size: 0.95rem;
        line-height: 1.6;
        color: #495057;
    }

    .accept-offer-legal ul {
        margin: 1rem 0 1rem 1.5rem;
        padding: 0;
    }

        .accept-offer-legal ul li {
            margin-bottom: 0.5rem;
            color: #495057;
            line-height: 1.6;
        }

/* Accept Offer Signature Container */
.accept-offer-signature-container {
    width: 100%;
}

.signature-form-wrapper {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signature-form-wrapper .section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

    .signature-form-wrapper .section-header i {
        font-size: 1.5rem;
        color: #667eea;
    }

    .signature-form-wrapper .section-header h4 {
        margin: 0;
        color: var(--fg-1);
        font-weight: 600;
    }

.form-section {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Signature Canvas Section */
.signature-section {
    margin: 2rem 0;
}

.signature-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 1rem;
}

    .signature-label .label-text {
        font-weight: 600;
        color: var(--fg-1);
        font-size: 1rem;
    }

    .signature-label small {
        font-size: 0.85rem;
    }

.signature-canvas-wrapper {
    border: 2px dashed #dee2e6;
    border-radius: 0.5rem;
    background-color: #fafbfc;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .signature-canvas-wrapper:hover {
        border-color: #adb5bd;
        background-color: #f8f9fa;
    }

.signature-canvas-accept {
    display: block;
    width: 100%;
    height: 200px;
    background-color: white;
    cursor: crosshair;
    border-bottom: 1px solid #dee2e6;
}

.canvas-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    gap: 0.5rem;
}

    .canvas-footer button {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }

.canvas-help-text {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

    .canvas-help-text i {
        font-size: 0.875rem;
    }

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
}

    .form-actions .btn {
        flex: 1;
        padding: 0.75rem 1rem;
        font-weight: 500;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .form-actions .btn-primary {
        background-color: #667eea;
        border-color: #667eea;
        color: white;
    }

        .form-actions .btn-primary:hover:not(:disabled) {
            background-color: #5568d3;
            border-color: #5568d3;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        }

        .form-actions .btn-primary:disabled {
            background-color: #adb5bd;
            border-color: #adb5bd;
            cursor: not-allowed;
            opacity: 0.7;
        }

    .form-actions .btn-outline-secondary {
        color: #6c757d;
        border-color: #dee2e6;
    }

        .form-actions .btn-outline-secondary:hover:not(:disabled) {
            background-color: #f8f9fa;
            border-color: #adb5bd;
            transform: translateY(-2px);
        }

        .form-actions .btn-outline-secondary:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

/* Validation Messages */
.validation-message {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Accept Offer Modal Button */
.btn-accept-offer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
}

    .btn-accept-offer:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        color: white;
    }

    .btn-accept-offer i {
        margin-right: 6px;
    }

/* #endregion */

/* #region Transfer Policies Page */

/* Insurance Type Card Selection */
.insurance-type-card {
    background: var(--bg-2);
    border: 2px solid var(--border-1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

    .insurance-type-card:hover {
        border-color: var(--brand-1);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
        transform: translateY(-2px);
    }

    .insurance-type-card.selected-type {
        background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(40, 167, 69, 0.02) 100%);
        border-color: #28a745;
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
    }

    .insurance-type-card .check-mark {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 22px;
        height: 22px;
        background: #00ff00;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 28px;
    }

    .insurance-type-card .card-header {
        position: relative;
    }

    .insurance-type-card .card-icon {
        font-size: 48px;
        color: var(--brand-1);
        margin-bottom: 10px;
    }

    .insurance-type-card .card-title {
        font-size: 16px;
        font-weight: 600;
        color: var(--fg-1);
        margin-bottom: 8px;
    }

    .insurance-type-card .card-text {
        font-size: 14px;
        margin-bottom: 15px;
        flex-grow: 1;
    }

    .insurance-type-card .card-footer {
        margin-top: auto;
        padding-top: 10px;
        border-top: 1px solid var(--border-1);
    }

    .insurance-type-card .btn {
        width: 100%;
        font-size: 14px;
        padding: 8px 12px;
        border-radius: 10px;
    }

        .insurance-type-card .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

/* Transfer Header */
.transfer-header {
    text-align: center;
}

    .transfer-header h2 {
        font-size: 42px;
        font-weight: 700;
        color: var(--fg-2);
        margin-bottom: 10px;
    }

    .transfer-header p {
        font-size: 16px;
        max-width: 600px;
        margin: 0 auto;
    }

/* Provider Card in Modal */
.provider-card {
    background: var(--bg-2);
    border: 2px solid var(--border-1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    min-height: 150px;
    width: 100%;
}

    .provider-card:hover {
        border-color: var(--brand-1);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
        transform: translateY(-2px);
    }

    .provider-card.selected {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(102, 126, 234, 0.02) 100%);
        border-color: var(--brand-1);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    }

    .provider-card .provider-check {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        background: var(--brand-1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 16px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .provider-card.selected .provider-check {
        opacity: 1;
    }

    .provider-card .provider-logo {
        width: 80px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
    }

        .provider-card .provider-logo img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

    .provider-card .provider-name {
        font-size: 14px;
        font-weight: 600;
        color: var(--fg-2);
        word-break: break-word;
    }

.provider-selection-info {
    padding: 12px;
    background: rgba(102, 126, 234, 0.05);
    border-left: 3px solid var(--brand-1);
    border-radius: 5px;
}

.pdf-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-2);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .pdf-review-header h3 {
        font-size: 20px;
        font-weight: 600;
        color: var(--fg-1);
        margin: 0;
        flex-grow: 1;
        text-align: center;
    }

.pdf-viewer-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    width: 100%;
}

    .pdf-viewer-container iframe {
        display: block;
        width: 100% !important;
        height: 100% !important;
        -webkit-overflow-scrolling: touch;
    }

@media (max-width: 1024px) {
    .pdf-viewer-container {
        min-height: calc(100vh - 200px);
    }
}

.pdf-review-section {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

    .pdf-review-section .container-fluid {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .pdf-review-section .pdf-review-header {
        flex-shrink: 0;
        z-index: 10;
    }

    .pdf-review-section .pdf-viewer-container {
        flex: 1;
        min-height: 400px;
        margin-bottom: 20px;
    }

    .pdf-review-section .pdf-action-buttons {
        flex-shrink: 0;
    }

@media (max-width: 768px) {
    .pdf-review-section .pdf-viewer-container {
        min-height: 500px;
        height: auto;
    }
}

.pdf-action-buttons {
    background: var(--bg-2);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .pdf-action-buttons .btn {
        padding: 10px 20px;
        font-size: 15px;
        min-width: 120px;
    }

.insurance-selection-grid {
    background: var(--bg-2);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .insurance-type-card {
        padding: 15px;
    }

        .insurance-type-card .card-icon {
            font-size: 36px;
        }

        .insurance-type-card .card-title {
            font-size: 14px;
        }

    .transfer-header h2 {
        font-size: 24px;
    }

    .transfer-header p {
        font-size: 14px;
    }

    .pdf-review-header {
        flex-direction: column;
        gap: 10px;
    }

        .pdf-review-header h3 {
            font-size: 18px;
        }

    .insurance-selection-grid {
        padding: 15px;
    }
}

/* #endregion */

/* #region Coming Soon */

.coming-soon-wrapper {
    background: var(--bg-2);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}
/* #endregion */

/* #region Hero Primary Card */
/* ===== Primary Action Cards ===== */
.hero-primary-card {
    background: var(--bg-2);
    border: 1px solid rgba(0, 130, 206, 0.08);
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    min-height: 160px;
    position: relative;
    z-index: 1;
    margin-top: 10px;
}

    .hero-primary-card:hover {
        box-shadow: 0 16px 48px rgba(0, 130, 206, 0.12);
        transform: translateY(-3px);
        border-color: rgba(0, 130, 206, 0.15);
    }

.hero-primary-card--transfer {
    border-color: rgba(255, 140, 50, 0.08);
}

    .hero-primary-card--transfer:hover {
        box-shadow: 0 16px 48px rgba(255, 140, 50, 0.15);
        border-color: rgba(255, 140, 50, 0.15);
    }

.primary-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 130, 206, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--brand-1);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hero-primary-card--transfer .primary-card-icon {
    background: rgba(255, 140, 50, 0.12);
    color: #ff8c32;
}

.hero-primary-card:hover .primary-card-icon {
    transform: scale(1.1);
}

.primary-card-content {
    flex: 1;
}

    .primary-card-content h3 {
        font-size: 1.35rem;
        font-weight: 800;
        color: var(--fg-1);
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    .primary-card-content p {
        font-size: 0.95rem;
        color: var(--fg-1);
        margin-bottom: 0;
        line-height: 1.5;
    }

.primary-card-arrow {
    width: 52px;
    height: 52px;
    border: 2px solid rgba(0, 130, 206, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--brand-1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.hero-primary-card:hover .primary-card-arrow {
    background: var(--brand-1);
    color: white;
    border-color: var(--brand-1);
    transform: translateX(6px);
}

.hero-primary-card--transfer .primary-card-arrow {
    border-color: rgba(255, 140, 50, 0.2);
    color: #ff8c32;
}

.hero-primary-card--transfer:hover .primary-card-arrow {
    background: #ff8c32;
    color: white;
    border-color: #ff8c32;
}

.hero-action-card--transfer:hover {
    box-shadow: 0 12px 40px rgba(255, 140, 50, 0.18);
    border-color: rgba(255, 140, 50, 0.25);
}

.hero-action-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 130, 206, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--brand-1);
    flex-shrink: 0;
}

.hero-action-card--transfer .hero-action-card-icon {
    background: rgba(255, 140, 50, 0.12);
    color: #ff8c32;
}

.hero-action-card-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-1);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.hero-action-card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

.hero-action-card-arrow {
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(0, 130, 206, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--brand-1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hero-action-card:hover .hero-action-card-arrow {
    background: var(--brand-1);
    color: white;
    border-color: var(--brand-1);
    transform: translateX(4px);
}

.hero-action-card--transfer .hero-action-card-arrow {
    border-color: rgba(255, 140, 50, 0.2);
    color: #ff8c32;
}

.hero-action-card--transfer:hover .hero-action-card-arrow {
    background: #ff8c32;
    color: white;
    border-color: #ff8c32;
}

@media (max-width: 991px) {

    .hero-headline {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.05rem;
        max-width: 100%;
    }

    .hero-primary-card {
        padding: 2rem;
        gap: 1.5rem;
        min-height: 140px;
    }

    .primary-card-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .primary-card-arrow {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .primary-card-content h3 {
        font-size: 1.2rem;
    }

    .primary-card-content p {
        font-size: 0.9rem;
    }

    .hero-quick-actions-strip {
        padding: 2rem 1.5rem;
        gap: 0.75rem;
    }

    .quick-action-item {
        min-width: 110px;
        max-width: 140px;
        padding: 0.8rem 0.4rem;
    }

    .quick-action-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .quick-action-title {
        font-size: 0.9rem;
    }

    .quick-action-label {
        font-size: 0.75rem;
    }

    .quick-action-divider {
        height: 50px;
        margin: 0 0.25rem;
    }
}

@media (max-width: 768px) {

    .hero-logo-wrapper {
        margin-bottom: 3rem !important;
    }

    .hero-headline {
        font-size: 2.2rem;
        margin-bottom: 1.5rem !important;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 3rem !important;
    }

    .hero-primary-card {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem;
        gap: 1.25rem;
        min-height: auto;
    }

    .primary-card-content {
        flex: none;
    }

        .primary-card-content h3 {
            font-size: 1.1rem;
            margin-bottom: 0.4rem;
        }

        .primary-card-content p {
            font-size: 0.85rem;
        }

    .primary-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .primary-card-arrow {
        width: 44px;
        height: 44px;
    }

    .hero-quick-actions-strip {
        padding: 1.5rem 1rem;
        gap: 0.5rem;
        border-radius: 16px;
    }

    .quick-action-item {
        min-width: 100px;
        max-width: 130px;
        padding: 0.75rem 0.3rem;
        gap: 0.8rem;
    }

    .quick-action-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .quick-action-title {
        font-size: 0.85rem;
    }

    .quick-action-label {
        font-size: 0.7rem;
    }

    .quick-action-divider {
        height: 45px;
        margin: 0 0.2rem;
    }
}

@media (max-width: 576px) {

    .hero-logo-wrapper {
        margin-bottom: 2.5rem !important;
    }

    .hero-logo {
        max-width: 160px;
    }

    .hero-headline {
        font-size: 1.75rem;
        margin-bottom: 1.25rem !important;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2.5rem !important;
    }

    .hero-primary-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
        min-height: auto;
        margin-bottom: 1rem;
    }

    .primary-card-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .primary-card-arrow {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .primary-card-content h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .primary-card-content p {
        font-size: 0.8rem;
    }

    .hero-quick-actions-strip {
        padding: 1.25rem 0.75rem;
        gap: 0.4rem;
        border-radius: 14px;
    }

    .quick-action-item {
        min-width: 90px;
        max-width: 110px;
        padding: 0.6rem 0.2rem;
        gap: 0.6rem;
    }

    .quick-action-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .quick-action-title {
        font-size: 0.8rem;
    }

    .quick-action-label {
        display: none;
        font-size: 0.65rem;
    }

    .quick-action-arrow {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .quick-action-divider {
        display: none;
    }

    .hero-quick-actions-strip {
        flex-direction: column;
        gap: 1rem;
    }

    .quick-action-item {
        flex-direction: row;
        padding: 0.75rem;
        align-items: center;
        justify-content: space-between;
        min-width: 100%;
        max-width: 100%;
    }

    .quick-action-icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }

    .quick-action-title {
        text-align: center;
        font-size: 0.85rem;
    }

    .quick-action-label {
        text-align: left;
    }
}
/* #endregion */

/* #region PDF Viewer */
.vb24-pdf-viewer {
    width: 100%;
    height: 80vh;
    min-height: 500px;
}

.vb24-pdf-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
/* #endregion */

/* #region Toast */
.vb-toast-overlay {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
}

.vb-toast-card {
    --toast-accent: var(--bs-primary);
    --toast-icon-bg: rgba(13, 110, 253, 0.15);
    width: min(92vw, 430px);
    position: relative;
    display: flex;
    gap: 0.85rem;
    align-items: center;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 0.45rem solid var(--toast-accent);
    background: var(--bg-2, var(--bs-body-bg));
    color: var(--fg-1, var(--bs-body-color));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    padding: 1rem 1.2rem 1rem 0.9rem;
    pointer-events: auto;
    animation: vb-toast-enter 0.35s ease;
}

.vb-toast-primary {
    --toast-accent: var(--bs-primary);
    --toast-icon-bg: rgba(13, 110, 253, 0.15);
}

.vb-toast-success {
    --toast-accent: var(--bs-success);
    --toast-icon-bg: rgba(25, 135, 84, 0.15);
}

.vb-toast-warning {
    --toast-accent: var(--bs-warning);
    --toast-icon-bg: rgba(255, 193, 7, 0.2);
}

.vb-toast-danger {
    --toast-accent: var(--bs-danger);
    --toast-icon-bg: rgba(220, 53, 69, 0.15);
}

.vb-toast-icon-wrap {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    background: var(--toast-icon-bg);
    color: var(--toast-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vb-icon {
    width: 44px;
    height: 44px;
}

.vb-icon-circle,
.vb-check-path,
.vb-cross-line,
.vb-warning-line {
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vb-icon-circle {
    stroke-dasharray: 145;
    stroke-dashoffset: 145;
    animation: vb-draw 0.45s ease forwards;
}

.vb-check-path,
.vb-cross-line,
.vb-warning-line {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: vb-draw 0.35s ease 0.25s forwards;
}

.vb-cross-line-2 {
    animation-delay: 0.35s;
}

.vb-warning-dot,
.vb-info-dot {
    fill: currentColor;
}

.vb-toast-warning .vb-warning-dot {
    animation: vb-toast-pulse 1s ease-in-out infinite;
}

.vb-toast-content {
    flex: 1;
}

.vb-toast-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

    .vb-toast-title-row strong {
        font-size: 1rem;
        font-weight: 600;
    }

.vb-toast-message {
    color: color-mix(in srgb, currentColor 85%, transparent);
    line-height: 1.4;
}

.logo-toast {
    width: 22px;
    height: 22px;
    border-radius: 0.35rem;
}

.vb-toast-close {
    position: absolute;
    top: 0.45rem;
    right: 0.6rem;
    border: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: inherit;
    background: transparent;
    opacity: 0.7;
    font-size: 1.2rem;
    line-height: 1;
}

    .vb-toast-close:hover {
        opacity: 1;
    }

[data-bs-theme="dark"] .vb-toast-card {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.45);
}

@keyframes vb-toast-enter {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes vb-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes vb-toast-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.35);
        opacity: 0.55;
    }
}

/* #endregion */

/* #region Customer Policies Submit Policy (Panel) */
.panel-customer-policies-toolbar {
    display: flex;
    justify-content: flex-end;
}

.panel-customer-policies-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.panel-customer-policy-submit-modal-body {
    background: var(--bg-2);
    color: var(--fg-1);
}

.panel-customer-policy-submit-form .form-label {
    font-weight: 600;
    color: var(--fg-1);
}

.panel-customer-policy-submit-form .form-select {
    background-color: var(--bg-2);
    color: var(--fg-1);
    border: 1px solid var(--border-1);
}

    .panel-customer-policy-submit-form .form-select:focus {
        border-color: var(--brand-1);
        box-shadow: 0 0 0 0.2rem rgba(0, 130, 206, 0.2);
    }

.panel-customer-policy-drop-zone {
    position: relative;
    width: 100%;
    min-height: 160px;
    border: 2px dashed var(--brand-1);
    border-radius: 14px;
    background: color-mix(in srgb, var(--brand-1) 8%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .panel-customer-policy-drop-zone:hover {
        border-color: var(--brand-2);
        background: color-mix(in srgb, var(--brand-1) 13%, transparent);
        transform: translateY(-2px);
    }

.panel-customer-policy-drop-content {
    pointer-events: none;
}

.panel-customer-policy-drop-icon {
    font-size: 2rem;
    color: var(--brand-1);
}

.panel-customer-policy-drop-title {
    font-weight: 600;
    color: var(--fg-1);
    margin-top: 0.5rem;
}

.panel-customer-policy-drop-subtitle {
    font-size: 0.9rem;
    color: var(--fg-muted-1);
    margin-top: 0.2rem;
}

.panel-customer-policy-drop-file {
    font-size: 0.9rem;
    color: var(--brand-1);
    word-break: break-word;
}

.panel-customer-policy-drop-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

[data-bs-theme="dark"] .panel-customer-policy-drop-zone {
    border-color: color-mix(in srgb, var(--brand-1) 80%, #ffffff 20%);
    background: color-mix(in srgb, var(--brand-1) 16%, transparent);
}

    [data-bs-theme="dark"] .panel-customer-policy-drop-zone:hover {
        background: color-mix(in srgb, var(--brand-1) 22%, transparent);
    }

@media (max-width: 991.98px) {
    .panel-customer-policies-toolbar {
        justify-content: stretch;
    }

    .panel-customer-policies-upload-btn {
        width: 100%;
    }
}
/* #endregion */

/* #region Compare Offers Intro */
.compare-offers-page-content {
    width: 100%;
    padding: 1rem;
}

.compare-offers-intro-wrap {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}

.compare-offers-intro {
    gap: 0.45rem;
}

.compare-offers-intro__title {
    font-size: clamp(1.05rem, 1.3vw, 1.35rem);
    color: var(--text);
}

.compare-offers-intro__text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.35;
    max-width: 100%;
}

@media (min-width: 992px) {
    .compare-offers-intro__text {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 991.98px) {
    .compare-offers-page-content {
        padding: 0.75rem;
    }

    .compare-offers-intro-wrap {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .compare-offers-intro__title {
        font-size: 1rem;
    }

    .compare-offers-intro__text {
        font-size: 0.84rem;
        line-height: 1.28;
    }
}
/* #endregion */

/* #region Confirmation Modal */
.confirmation-modal-content {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    background: var(--bg-1);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.confirmation-modal-icon {
    width: 64px;
    height: 64px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    font-size: 28px;
}

.confirmation-modal-title {
    font-weight: 700;
    color: var(--fg-1);
}

.confirmation-modal-message {
    color: var(--fg-muted-1);
}

.confirmation-modal-footer {
    display: flex;
    gap: 10px;
    padding: 16px 24px 24px;
    border-top: 0;
}

    .confirmation-modal-footer .btn {
        flex: 1;
    }

.confirmation-no-btn {
    border: 1px solid var(--light-4);
    background: transparent;
    color: var(--fg-1);
}

    .confirmation-no-btn:hover {
        background: var(--bg-3);
    }

.confirmation-yes-btn {
    border: 1px solid #dc3545;
    background: #dc3545;
    color: white;
}

    .confirmation-yes-btn:hover {
        background: #bb2d3b;
        border-color: #b02a37;
        color: white;
    }

.insurance-company-dropdown {
    max-height: 220px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* #endregion */

/* #region Alarms */

/* =========================================================
   SUMMARY AREA
========================================================= */

.reminders-summary-card,
.reminders-list-card {
    background: var(--bg-2) !important;
    border: 1px solid rgba(129, 129, 129, .12);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.reminders-summary-card {
    padding: 26px 28px 24px;
    background: linear-gradient( 100deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 54%, rgba(236, 247, 255, .8) 100% );
}

.section-eyebrow {
    margin-bottom: 3px;
    color: #64748b;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .035em;
}

.page-title {
    color: var(--brand-2);
    font-size: clamp(2rem, 3vw, 2.65rem);
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -.035em;
}

    .page-title span {
        color: #0878ee;
    }

.page-description {
    color: #59739a;
    font-size: 1.04rem;
}


/* New alarm */

.create-alarm-btn {
    min-height: 51px;
    padding: 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    background: #0878ee;
    border: 1px solid #0878ee;
    border-radius: 9px;
    font-weight: 500;
    transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

    .create-alarm-btn i {
        font-size: 1.35rem;
    }

    .create-alarm-btn:hover,
    .create-alarm-btn:focus-visible {
        color: #fff;
        background: #006ade;
        border-color: #006ade;
        box-shadow: 0 8px 22px rgba(0, 104, 222, .18);
    }

    .create-alarm-btn:active {
        transform: translateY(1px);
    }


/* =========================================================
   SUMMARY STAT CARDS
========================================================= */

.summary-stat-card {
    min-height: 98px;
    padding: 18px 19px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-2);
    color: var(--text);
    border: 1px solid var(--bs-border-color);
    border-radius: 13px;
    box-shadow: none;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}

button.summary-stat-card {
    cursor: pointer;
}

    button.summary-stat-card:hover {
        border-color: rgba(0, 130, 206, .3);
        box-shadow: 0 8px 20px rgba(15, 23, 42, .045);
        transform: translateY(-1px);
    }

.summary-stat-icon {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

    .summary-stat-icon i {
        font-size: 1.65rem;
        line-height: 1;
    }

.stat-blue {
    color: #0878ee;
    background: #e5f0ff;
}

.stat-green {
    color: #16a164;
    background: #e2f8ee;
}

.stat-purple {
    color: #6b31e8;
    background: #f0e9ff;
}

.summary-stat-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .summary-stat-content strong {
        color: var(--fg-1);
        font-size: 1.75rem;
        line-height: 1.05;
        font-weight: 750;
    }

    .summary-stat-content > span {
        margin-top: 5px;
        color: #56729c;
        font-size: .99rem;
    }

.summary-stat-arrow {
    margin-left: auto;
    color: #3f5f8f;
    font-size: 1.2rem;
}


/* =========================================================
   LIST CARD
========================================================= */

.reminders-list-card {
    padding: 17px 21px 20px;
}

.reminders-list-header {
    margin-bottom: 13px;
}

.reminders-list-title {
    color: var(--brand-2);
    font-size: 1.45rem;
    font-weight: 750;
    letter-spacing: -.02em;
}

    .reminders-list-title span {
        color: inherit;
    }

.sort-label {
    color: #62769b;
    font-size: .84rem;
}

.reminder-sort-select {
    width: 215px;
    min-height: 39px;
    color: var(--fg-1);
    background-color: var(--bg-2);
    border: 1px solid #d8e3ee;
    border-radius: 8px;
    font-size: .83rem;
    box-shadow: none;
}

    .reminder-sort-select:focus {
        border-color: rgba(0, 130, 206, .45);
        box-shadow: 0 0 0 .2rem rgba(0, 130, 206, .08);
    }

#reminderReason {
    color: var(--fg-2);
}

#insuranceType {
    color: var(--fg-2);
}

#insuranceCompany {
    color: var(--fg-2);
}

#reminderDate {
    color: var(--fg-2);
}

#reminderTime {
    color: var(--fg-2);
}
/* =========================================================
   REMINDER ROW
========================================================= */
.reminder-row {
    padding: 12px 13px;
    margin-top: 8px;
    background: var(--bg-2);
    border: 1px solid var(--border-1);
    border-radius: 11px;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

    .reminder-row:hover {
        border-color: rgba(0, 130, 206, .24);
        box-shadow: 0 7px 20px rgba(15, 23, 42, .04);
    }


/* Type */

.reminder-type {
    width: 200px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: .91rem;
    font-weight: 600;
    white-space: wrap;
    overflow: hidden;
    text-align: center;
    padding: 30px 0px;
}

.type-payment {
    color: #ec1828;
    background: #2200001c;
}

.type-blue {
    color: #006fe5;
    background: #0006381e;
}

.type-orange {
    color: #d85f00;
    background: #fff0e3;
}

.type-purple {
    color: #6541d8;
    background: #f0ebff;
}


/* Insurance name + icon */

.insurance-information {
    max-width: 400px;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.insurance-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

    .insurance-icon i {
        font-size: 1.55rem;
    }

.icon-blue {
    color: #0878ee;
    background: #e9f2ff;
}

.icon-green {
    color: #13a46a;
    background: #e4f9ef;
}

.icon-purple {
    color: #7542e9;
    background: #f0eaff;
}

.insurance-name {
    min-width: 0;
    color: var(--fg-1);
    font-size: .94rem;
    font-weight: 600;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}


/* Provider/date cells */

.reminder-cell {
    min-height: 50px;
    display: flex;
    align-items: center;
}

.provider-cell strong {
    color: var(--fg-1);
    font-size: .95rem;
    font-weight: 600;
}

.date-cell {
    gap: 14px;
}

    .date-cell > i {
        flex-shrink: 0;
        color: #0878ee;
        font-size: 1.4rem;
    }

    .date-cell > div {
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .date-cell strong {
        color: var(--fg-1);
        font-size: .94rem;
        font-weight: 650;
        line-height: 1.15;
        white-space: nowrap;
    }

    .date-cell span {
        margin-top: 4px;
        color: #6079a4;
        font-size: .84rem;
        line-height: 1.1;
    }


/* =========================================================
   ACTIONS
========================================================= */

.cancel-reminder-btn,
.details-reminder-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    font-size: .91rem;
    font-weight: 600;
    transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}


/* Cancel */

.cancel-reminder-btn {
    color: #ef233c;
    background: #2200001c;
    border: 1px solid transparent;
}

    .cancel-reminder-btn:hover,
    .cancel-reminder-btn:focus-visible {
        color: #d8172e;
        background: #fde2e6;
        border-color: #fac8ce;
    }

    .cancel-reminder-btn i {
        font-size: 1.05rem;
    }


/* Details */

.details-reminder-btn {
    color: #0878ee;
    background: #fff;
    border: 1px solid #0878ee;
}

    .details-reminder-btn:hover,
    .details-reminder-btn:focus-visible {
        color: #fff;
        background: #0878ee;
        border-color: #0878ee;
    }

    .details-reminder-btn i {
        margin-left: auto;
        font-size: .93rem;
    }


/* Mobile-only label */

.mobile-cell-label {
    display: none;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1200px) {

    .provider-cell,
    .date-cell {
        position: relative;
        padding-left: 26px;
    }

        .provider-cell::before,
        .date-cell::before {
            content: "";
            position: absolute;
            left: 0;
            top: 5px;
            bottom: 5px;
            width: 1px;
            background: #e1e8f0;
        }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199.98px) {

    .reminder-row {
        padding: 15px;
    }

    .provider-cell,
    .date-cell {
        padding: 5px 0;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .reminders-page {
        padding: 10px;
    }

    .reminders-summary-card,
    .reminders-list-card {
        border-radius: 14px;
    }

    .reminders-summary-card {
        padding: 22px 18px 18px;
    }

    .reminders-list-card {
        padding: 18px 12px 14px;
    }


    /* Hero */

    .page-title {
        font-size: 2rem;
    }

    .page-description {
        font-size: .94rem;
        line-height: 1.55;
    }

    .create-alarm-btn {
        min-height: 48px;
    }


    /* Stats */

    .summary-stat-card {
        min-height: 80px;
        padding: 13px 15px;
    }

    .summary-stat-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

        .summary-stat-icon i {
            font-size: 1.35rem;
        }

    .summary-stat-content strong {
        font-size: 1.4rem;
    }


    /* List header */

    .reminders-list-title {
        font-size: 1.25rem;
    }

    .sort-wrapper {
        width: 100%;
        align-items: stretch !important;
    }

    .sort-label {
        width: 100%;
    }

    .reminder-sort-select {
        width: 100%;
    }


    /* Reminder */

    .reminder-row {
        padding: 14px;
        margin-top: 10px;
    }

    .reminder-type {
        width: 100%;
        height: 44px;
        font-size: .79rem;
    }

    .insurance-information {
        gap: 11px;
    }

    .insurance-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

        .insurance-icon i {
            font-size: 1.3rem;
        }

    .insurance-name {
        font-size: .88rem;
    }

    .mobile-cell-label {
        display: block;
        margin-bottom: 3px;
        color: var(--text-light);
        font-size: .7rem;
        font-weight: 500;
    }

    .provider-cell {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .date-cell {
        align-items: center;
    }

        .date-cell > i {
            display: none;
        }

        .date-cell strong {
            font-size: .84rem;
            white-space: normal;
        }

        .date-cell span {
            font-size: .76rem;
        }

    .cancel-reminder-btn,
    .details-reminder-btn {
        min-height: 42px;
        padding-left: 10px;
        padding-right: 10px;
        font-size: .82rem;
    }

        .details-reminder-btn i {
            margin-left: 4px;
        }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .reminders-page {
        padding: 8px;
    }

    .reminders-summary-card {
        padding: 20px 14px 15px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .section-eyebrow {
        font-size: .7rem;
    }

    .reminders-list-card {
        padding-left: 9px;
        padding-right: 9px;
    }

    .reminder-row {
        padding: 12px 10px;
    }

    .insurance-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .insurance-name {
        font-size: .81rem;
    }

    .cancel-reminder-btn {
        gap: 6px;
    }

        .cancel-reminder-btn i {
            display: none;
        }
}

/* =========================================================
   MODAL OPENER BUTTON
========================================================= */

.reminder-modal-opener {
    min-height: 50px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--light-1);
    background: #0878ee;
    border: 1px solid #0878ee;
    border-radius: 9px;
    font-size: .98rem;
    font-weight: 500;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

    .reminder-modal-opener i {
        font-size: 1.3rem;
    }

    .reminder-modal-opener:hover,
    .reminder-modal-opener:focus-visible {
        color: var(--light-1);
        background: #006ce0;
        border-color: #006ce0;
        box-shadow: 0 8px 22px rgba(0, 130, 206, .2);
    }

    .reminder-modal-opener:active {
        transform: translateY(1px);
    }


/* =========================================================
   BOOTSTRAP BACKDROP

   Bootstrap itself still creates/manages the backdrop.
   We're only matching its appearance to the reference.
========================================================= */

.modal-backdrop.show {
    opacity: .62;
}


/* =========================================================
   MODAL
========================================================= */

.reminder-modal-dialog {
    --bs-modal-width: 830px;
}

.reminder-modal-content {
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(15, 24, 40, .24), 0 8px 28px rgba(15, 24, 40, .08);
}

    .reminder-modal-content > form {
        min-height: 0;
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
    }

/* =========================================================
   HEADER
========================================================= */

.reminder-modal-header {
    padding: 28px 36px 14px;
    align-items: flex-start;
    background: var(--surface);
    border-bottom: 0;
}

.reminder-modal-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0878ee;
    background: #e7f1ff;
    border-radius: 50%;
}

    .reminder-modal-icon i {
        font-size: 1.75rem;
    }

.reminder-modal-title {
    margin-top: 3px;
    color: var(--brand-1);
    font-size: 1.75rem;
    line-height: 1.15;
    font-weight: 750;
    letter-spacing: -.025em;
}

.reminder-modal-subtitle {
    margin-top: 6px;
    color: #5e75a0;
    font-size: .98rem;
    line-height: 1.4;
}

.reminder-modal-close {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    margin: -10px -7px 0 auto !important;
    padding: 0;
    background-color: #edf5ff;
    background-size: 13px;
    border-radius: 50%;
    opacity: .85;
    transition: background-color var(--transition), opacity var(--transition), transform var(--transition);
}

    .reminder-modal-close:hover {
        background-color: #e0edfc;
        opacity: 1;
    }

    .reminder-modal-close:focus {
        box-shadow: 0 0 0 .2rem rgba(0, 130, 206, .12);
    }


/* =========================================================
   BODY
========================================================= */

.reminder-modal-body {
    padding: 12px 38px 24px;
}

.reminder-form-label {
    margin-bottom: 7px;
    color: var(--fg-muted-1);
    font-size: .92rem;
    font-weight: 700;
}


/*
 * Inputs intentionally remain normal Bootstrap controls.
 * Only sizing/border treatment is adjusted to visually match
 * the modal; no custom fake-input structures are used.
 */

.reminder-modal-body .form-control,
.reminder-modal-body .form-select {
    min-height: 47px;
    color: #172850;
    background-color: var(--surface);
    border-color: #cfdaea;
    border-radius: 7px;
    font-size: .95rem;
    box-shadow: none;
}

    .reminder-modal-body .form-control:focus,
    .reminder-modal-body .form-select:focus {
        border-color: rgba(0, 130, 206, .55);
        box-shadow: 0 0 0 .2rem rgba(0, 130, 206, .08);
    }

    .reminder-modal-body .form-select:invalid {
        color: #6e7fa1;
    }


/* =========================================================
   INFORMATION MESSAGE
========================================================= */

.reminder-information {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #6078a5;
    font-size: .87rem;
    line-height: 1.35;
}

    .reminder-information i {
        color: #2b68bd;
        font-size: 1rem;
    }


/* =========================================================
   FOOTER
========================================================= */

.reminder-modal-footer {
    margin: 0 38px;
    padding: 14px 0 21px;
    gap: 10px;
    background: var(--surface);
    border-top: 1px solid #e8edf4;
}


/* Cancel */

.reminder-cancel-btn {
    min-width: 126px;
    min-height: 45px;
    color: #0878ee;
    background: var(--surface);
    border: 1px solid #0878ee;
    border-radius: 7px;
    font-size: .91rem;
    font-weight: 600;
    transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

    .reminder-cancel-btn:hover,
    .reminder-cancel-btn:focus-visible {
        color: #0068c9;
        background: #f5faff;
        border-color: #0068c9;
    }


/* Save */

.reminder-save-btn {
    min-width: 220px;
    min-height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: var(--light-1);
    background: #0878ee;
    border: 1px solid #0878ee;
    border-radius: 7px;
    font-size: .91rem;
    font-weight: 500;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

    .reminder-save-btn i {
        font-size: 1.05rem;
    }

    .reminder-save-btn:hover,
    .reminder-save-btn:focus-visible {
        color: var(--light-1);
        background: #006bdc;
        border-color: #006bdc;
        box-shadow: 0 7px 18px rgba(0, 130, 206, .17);
    }


/* =========================================================
   TABLET / MOBILE
   modal-fullscreen-md-down is doing most of the work.
========================================================= */

@media (max-width: 767.98px) {

    #createReminderModal {
        height: 100dvh;
        overflow: hidden;
    }

        #createReminderModal .reminder-modal-dialog {
            width: 100%;
            height: 100dvh;
            max-height: 100dvh;
            margin: 0;
        }

    .reminder-modal-content {
        height: 100%;
        min-height: 0;
        max-height: 100%;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .reminder-modal-header {
        flex: 0 0 auto;
        padding: 20px 20px 12px;
    }

    .reminder-modal-icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

        .reminder-modal-icon i {
            font-size: 1.5rem;
        }

    .reminder-modal-title {
        font-size: 1.45rem;
    }

    .reminder-modal-subtitle {
        max-width: 420px;
        font-size: .88rem;
    }

    .reminder-modal-close {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        margin-top: -5px !important;
        margin-right: -5px !important;
    }

    .reminder-modal-body {
        min-height: 0;
        flex: 1 1 auto;
        padding: 15px 20px 24px;
        overflow-y: auto;
    }

    .reminder-modal-footer {
        flex: 0 0 auto;
        margin: auto 20px 0;
        padding-bottom: 20px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .reminder-modal-header {
        padding: 18px 16px 10px;
    }

        .reminder-modal-header > div {
            gap: 12px !important;
        }

    .reminder-modal-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

        .reminder-modal-icon i {
            font-size: 1.3rem;
        }

    .reminder-modal-title {
        margin-top: 1px;
        font-size: 1.3rem;
    }

    .reminder-modal-subtitle {
        margin-top: 3px;
        font-size: .81rem;
        line-height: 1.35;
    }

    .reminder-modal-close {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .reminder-modal-body {
        padding: 14px 16px 22px;
    }

        .reminder-modal-body .form-control,
        .reminder-modal-body .form-select {
            min-height: 45px;
        }

    .reminder-modal-footer {
        margin: auto 16px 0;
        padding: 14px 0 16px;
        flex-direction: column-reverse;
    }

    .reminder-cancel-btn,
    .reminder-save-btn {
        width: 100%;
        min-width: 0;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .reminder-modal-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .reminder-modal-title {
        font-size: 1.18rem;
    }

    .reminder-modal-subtitle {
        font-size: .76rem;
    }
}
/* #endregion */
