:root
{
  --thor-yellow-1: #FFD043;
  --thor-yellow-2: #FFB300;
  --thor-yellow-3: #f39e00;
  --thor-blue-1: #0561e3;
  --thor-blue-2: #0073FD;
  --thor-black-1: #241F21;
  --thor-grey-1: #acacac;
  --thor-grey-2: #dedede;
  --thor-grey-3: #eeeeee;
  --thor-green-1: #198754;
  
  --thor-complete: var(--thor-yellow-1);
  --thor-in-progress: var(--thor-blue-1);
  --thor-not-started: var(--thor-grey-1);
}

@font-face {
    font-family: 'SuisseIntl';
    src: local(SuisseIntl), url("../fonts/SuisseIntl-Regular.fb4819667af3.ttf") format('truetype');
}

@font-face {
    font-family: 'SuisseIntl-Semibold';
    src: local(SuisseIntl-Bold), url("../fonts/SuisseIntl-Semibold.2ab64620d4b0.ttf") format('truetype');
}

body {
    font-family: 'SuisseIntl', sans-serif;
    
    overflow-x: hidden;
}

.navbar {
    display: flex;
    align-items: center;
    background-color: var(--thor-blue-2);
    position: relative;
    width: 100%;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to navbar */
}

.navbar img#logo
{
    width: auto;
    max-width: 200px;
    height: auto;
    max-height: 50px;
    margin-left: 40px;
    margin-right: 0px;
}

.main-nav-btn
{
    padding-top: 10px;
    padding-bottom: 10px;
}

.main-content {
    margin-bottom: 100px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to main content */
}

.navbar-content
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to navbar content */
}

.navbar-right
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    margin-left: 0px;
}

.navbar a, .navbar span {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to navbar links */
    
    &.dropdown-item
    {
        color: #000;
    }
}

.navbar a:hover, .navbar span:hover {
    text-decoration: underline;
}

.global-breadcrumbs
{
    margin-top: 40px;
    
    font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
    font-size: 13px;
}

.global-breadcrumbs-back-btn
{
    width: 30px;
    height: 30px;
    border: 1px solid rgb(225, 228, 234);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(255, 255, 255);
    color: rgb(91, 100, 112);
    
    &:hover
    {
        background: rgb(240, 242, 245);
        color: rgb(91, 100, 112);
    }
}

.global-breadcrumbs-link
{
    color: rgb(138, 147, 160);
    text-decoration: none;
}

.user-display {
    margin-left: auto;
    font-size: 0.7rem;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to user display */
}

.footer {
    text-align: center;
    padding: 10px;
    background-color: #241F21;
    color: #fff;
    border-top: 1px solid #e7e7e7;
    position: fixed;
    width: 100%;
    bottom: 0;
    font-size: 0.8rem;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to footer */
}

.footer a {
    color: #fff;
}

.dropdown {
    display: flex;
    align-items: center;
    position: relative;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to dropdown */
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% - 10px);
    left: 0;
    z-index: 1000;
    float: left;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: none;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
    font-family: 'SuisseIntl', sans-serif; /* Apply font to dropdown menu */
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-content::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #000;
    z-index: -1;
}

.navbar img + .navbar-content::before {
    left: auto;
    right: 0;
}
.form-section {
    margin-bottom: 10px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to form section */
}

.table-wrapper table {
    font-size: 0.8rem;
    overflow-x: auto;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to table */
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to table */
}

.table th, .table td {
    white-space: nowrap; /* Prevent text from wrapping */
    font-family: 'SuisseIntl', sans-serif; /* Apply font to table cells */
}

/* Allow wrapping in asset/liability tables */
.asset-list-container table th,
.asset-list-container table td,
.liability-list-container table th,
.liability-list-container table td {
    white-space: normal;
    overflow-wrap: break-word;
}

.btn-primary {
    background-color: #0073FD;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    color: white;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to primary button */
}

.form-control {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to form control */
}

.form-control:focus {
    border-bottom: 1px solid #007bff;
    box-shadow: none;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to focused form control */
}

.rounded-edges {
    border-radius: 20px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to rounded edges */
}

.loading-circle {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #0073FD;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'SuisseIntl', sans-serif; /* Apply font to loading circle */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to form row */
}

.form-group {
    flex: 1;
    margin-right: 10px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to form group */
}

.form-group:last-child {
    margin-right: 0;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to last form group */
}

.toggle-container {
    width: 100%;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to toggle container */
}

.partner-switch {
    margin-left: auto;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to partner switch */
}

.main-container {
    display: flex;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to main container */
}

.sidebar {
    background-color: rgb(255, 255, 255);
    padding: 20px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to sidebar */
}

.content {
    padding: 20px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to content */
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to sidebar content */
}

.sidebar-content a {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    color: #000;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to sidebar links */
}

.sidebar-content a.current {
    font-weight: bold;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to current sidebar link */
}

.sidebar-content a:hover {
    text-decoration: underline;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to hovered sidebar link */
}

.btn.custom-link {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: left;
    user-select: none;
    background-color: transparent;
    border: none;
    padding: 0;
    font-size: 0.875rem; /* Smaller font size */
    line-height: 1.25; /* Smaller line height */
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to custom link button */
}

.btn.custom-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.custom-link.current {
    font-weight: bold;
    background-color: #007bff;
    color: #fff;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to current custom link */
}

.custom-link:focus, .custom-link:active {
    outline: none;
    color: #000;
}

.custom-link:visited {
    color: #000;
}

.btn.custom-btn {
    display: inline-block;
    font-weight: 400;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: #007bff;
    border: none;
    padding: 0.25rem 0.5rem; /* Smaller padding */
    font-size: 0.875rem; /* Smaller font size */
    line-height: 1.25; /* Smaller line height */
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to custom button */
}

.btn.custom-btn:hover {
    background-color: #0056b3;
    text-decoration: none;
}

.custom-btn.current {
    font-weight: bold;
    background-color: #0056b3;
    color: #fff;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to current custom button */
}

.custom-btn:focus, .custom-btn:active {
    outline: none;
    background-color: #004085;
}

.custom-btn:visited {
    color: #fff;
}

.asset-list-container, .liability-list-container {
    font-size: 0.6em;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to asset and liability list containers */
}

.asset-item, .liability-item {
    margin-bottom: 10px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to asset and liability items */
}

.asset-details, .liability-details {
    margin-bottom: 5px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to asset and liability details */
}

.asset-delete-form, .liability-delete-form {
    display: inline-block;
    margin-right: 5px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to asset and liability delete forms */
}

.asset-form, .liability-form {
    font-size: 0.9em;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to asset and liability forms */
}

.asset-progress-box, .liability-progress-box {
    padding: 10px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to asset and liability progress boxes */
}

.asset-heading, .liability-heading {
    font-size: 1.2em;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to asset and liability headings */
}

.asset-form-content, .liability-form-content {
    margin-bottom: 10px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to asset and liability form content */
}

.asset-form .btn, .liability-form .btn {
    font-size: 0.8em;
    padding: 5px 10px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to asset and liability form buttons */
}

.insurance-list-container {
    font-size: 0.6em;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to insurance list container */
}

.insurance-item {
    margin-bottom: 10px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to insurance item */
}

.insurance-details {
    margin-bottom: 5px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to insurance details */
}

.insurance-delete-form {
    display: inline-block;
    margin-right: 5px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to insurance delete form */
}

.insurance-form {
    font-size: 0.9em;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to insurance form */
}

.insurance-progress-box {
    padding: 10px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to insurance progress box */
}

.insurance-heading {
    font-size: 1.2em;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to insurance heading */
}

.insurance-form-content {
    margin-bottom: 10px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to insurance form content */
}

.insurance-form .btn {
    font-size: 0.8em;
    padding: 5px 10px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to insurance form buttons */
}

.fund-list-container {
    font-size: 0.6em;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to fund list container */
}

.fund-item {
    margin-bottom: 10px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to fund item */
}

.fund-details {
    margin-bottom: 5px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to fund details */
}

.fund-delete-form {
    display: inline-block;
    margin-right: 5px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to fund delete form */
}

.fund-form {
    font-size: 0.9em;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to fund form */
}

.fund-progress-box {
    padding: 10px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to fund progress box */
}

.fund-heading {
    font-size: 1.2em;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to fund heading */
}

.fund-form-content {
    margin-bottom: 10px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to fund form content */
}

.fund-form .btn {
    font-size: 0.8em;
    padding: 5px 10px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to fund form buttons */
}

.btn-big {
    font-size: 1.5em !important; /* Make the buttons bigger */
    border-radius: 30px !important; /* Rounded corners */
    padding: 10px 50px !important; /* Increase horizontal padding */
    margin-bottom: 10px !important; /* Add space between buttons */
    background-color: #0073FD !important; /* Set background color */
    color: white !important; /* Set text color */
    border: none !important; /* Remove border */
    font-family: 'SuisseIntl', sans-serif; /* Apply font to big button */
}

.btn-setup-client {
    font-size: 1.5em !important; /* Make the buttons bigger */
    border-radius: 30px !important; /* Rounded corners */
    padding: 10px 50px !important; /* Increase horizontal padding */
    margin-bottom: 10px !important; /* Add space between buttons */
    background-color: #241F21 !important; /* Set background color */
    color: white !important; /* Set text color */
    border: none !important; /* Remove border */
    font-family: 'SuisseIntl', sans-serif; /* Apply font to setup client button */
}

.info-table {
    border: none !important;
    border-collapse: collapse !important; /* Ensure no gaps between borders */
    font-family: 'SuisseIntl', sans-serif; /* Apply font to info table */
}

.info-table th,
.info-table td {
    border: none !important;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to info table cells */
}

.page-header h1 {
    font-size: 4em; /* Adjust the size as needed */
    font-family: 'SuisseIntl', sans-serif; /* Apply font to page header */
}

/* Make long plan titles wrap instead of stretching the layout */
.plan-title {
    display: block;
    max-width: 600px;      /* adjust value if needed */
    white-space: normal;
    overflow-wrap: break-word;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns, each taking up half the screen */
    padding-left: 0px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to container */
}

.column {
    padding: 20px;
    padding-left: 0px;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to column */
}

.column-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to column bottom */
}

.image-button-container {
    text-align: center;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to image button container */
}

.small-image {
    width: 50px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
    font-family: 'SuisseIntl', sans-serif; /* Apply font to small image */
}

.btn-grey {
    background-color: grey;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    color: white;
    text-align: center;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to grey button */
}

.completion-image {
    position: relative;
    display: inline-block;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to completion image */
}

.completion-image[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%; /* Position above the element */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 1;
    opacity: 0.8;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to tooltip */
}

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to flex container */
}

.flex-container select {
    flex: 1;
    margin-right: 10px; /* Adjust the margin as needed */
    font-family: 'SuisseIntl', sans-serif; /* Apply font to flex container select */
}

.flex-container button {
    flex: 1;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to flex container button */
}

.btn-fact-find {
    font-size: 1em !important; /* Make the buttons bigger */
    border-radius: 30px !important; /* Rounded corners */
    padding: 10px 30px !important; /* Increase horizontal padding */
    margin-bottom: 10px !important; /* Add space between buttons */
    background-color: #0073FD !important; /* Set background color */
    color: white !important; /* Set text color */
    border: none !important; /* Remove border */
    font-family: 'SuisseIntl', sans-serif; /* Apply font to fact find button */
}

.custom-select {
    border: none;
    font-size: 1.2em; /* Adjust the font size as needed */
    padding: 5px; /* Optional: Add some padding for better appearance */
    background-color: transparent; /* Optional: Make the background transparent */
    outline: none; /* Remove the outline on focus */
    font-family: 'SuisseIntl', sans-serif; /* Apply font to custom select */
}

.text-link {
    color: black;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-family: 'SuisseIntl', sans-serif; /* Apply font to text link */
}

.text-link img.link-icon {
    margin-right: 8px; /* Adjust the margin as needed */
    width: 75px; /* Set a fixed width */
    height: 75px; /* Set a fixed height */
    font-family: 'SuisseIntl', sans-serif; /* Apply font to link icon */
    border-radius: 100%;
}

.text-link img.link-icon-small {
    margin-right: 12px; /* Adjust the margin as needed */
    width: 50px; /* Set a fixed width */
    height: 50px; /* Set a fixed height */
    font-family: 'SuisseIntl', sans-serif; /* Apply font to link icon */
    border-radius: 100%;
}

.text-link:hover {
    text-decoration: underline;
    color: black;
    font-family: 'SuisseIntl', sans-serif; 
}

.info-list {
    list-style: none;
    padding: 0;
    font-family: 'SuisseIntl', sans-serif;
}

.info-list li {
    margin-bottom: 10px;
    font-family: 'SuisseIntl', sans-serif;
}

/* Allow long sidebar text to wrap naturally so it doesn’t break or shift the layout */
.info-list a {
    white-space: normal;
    overflow-wrap: break-word;
}

.info-list .d-flex {
    flex-wrap: wrap;
}

.circle-link, .circle-link-grey, .active-link {
    color: black;
    text-decoration: none;
    position: relative;
    padding-left: 30px;
    font-size: 25px;
    font-family: 'SuisseIntl', sans-serif; 
}

.circle-link::before, .circle-link-grey::before, .active-link::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'SuisseIntl', sans-serif;
}

.circle-link::before {
    background-color: #0073FD;
}

.circle-link-grey::before {
    background-color: rgb(189, 189, 189);
}

a.circle-link::before {
    content: '\2713';
    background-color: transparent;
    color: #0073FD;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
}

a.circle-link-grey::before {
    content: '\2014';
    background-color: transparent;
    color: rgb(189, 189, 189);
    font-size: 20px;
    line-height: 20px;
    text-align: center;
}

.circle-link:hover, .circle-link-grey:hover, .active-link:hover {
    text-decoration: underline;
    color: black;
    font-family: 'SuisseIntl', sans-serif;
}

.btn-back-pill {
    background-color: #0d6efd;
    color: #fff;
    border-radius: 20px;
    padding: 2px 14px;
    font-size: 0.95rem;
    border: none;
}

.btn-back-pill:hover {
    background-color: #0b5ed7;
    color: #fff;
}

.circle-link-current, .circle-link-current:hover {
    font-weight: 700;
    color: #0073FD;
}

.active-link {
    color: blue;
    text-decoration: none;
}

.asset-form {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}


.processing-table input,
.processing-table select,
.processing-table textarea {
    font-size: 0.8rem;
}

.processing-table table th:first-child,
.processing-table table td:first-child {
    width: 18%;
}

.client-detail-progress
{
    border-top: 2px solid #241F21;
    border-bottom: 1px solid #acacac;
    
    padding-top: 20px;
    padding-bottom: 20px;
    
    margin-bottom: 20px;
    margin-top: 20px;
}

.client-detail-btns
{
    display: flex;
    flex-direction: row;
    
    justify-content: space-between;
    
    margin-bottom: 50px;
    
    .client-detail-btn
    {
        margin-right: 10px;
    }
    
    .client-detail-btn:last-child
    {
        margin-right: 0px;
    }
}

.avatar-row
{
    display: flex;
    flex-direction: row;
    align-items: center;
    
    .avatar
    {
        margin-bottom: 0px;
        margin-left: -4px;
    }
    
    .avatar:first-child
    {
        margin-left: 0px;
    }
}

.avatar
{
    position: relative;
    
    display: block;
    
    width: 34px;
    height: 34px;
    
    min-width: 34px; /* Prevent shrinking horizontally */
    
    background-color: white;
    color: black;
    border-radius: 100%;
    border: 2px solid #eeeeee;
    
    margin-bottom: 0px;
    
    font-size: 14px;
    
    &a
    {
        cursor: pointer;
        text-decoration: none;
    }
    
    span
    {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        
        user-select: none;
    }
    
    img
    {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        
        width: 80%;
        height: 80%;
        
        user-select: none;
    }
}

.new-cust-staff-assignments-section
{
    /* background-color: #acacac; */
    /* height: 200px; */
}

/* Use in addition to btn and btn-primary */
.btn-black
{
    background-color: #000;
    color: #FFF;
    border-radius: 30px;
    padding-left: 12px;
    padding-right: 12px;
    
    box-shadow: 2px 2px 2px rgba(100, 100, 100, 0.5);
    
    &:hover
    {
        background-color: #575757;
    }
    
    &:focus
    {
        background-color: #575757;
        border-color: #e7e7e7;
        
        box-shadow: 0 0 0 .25rem #acacac !important;
    }
}

/* Use in addition to btn and btn-primary */
.btn-blue 
{
    background-color: #0561e3;
    
    border-radius: 30px;
    padding-left: 12px;
    padding-right: 12px;
    
    box-shadow: 2px 2px 2px rgba(100, 100, 100, 0.5);
    
    &:disabled
    {
        background-color: #acacac !important;
        cursor: none !important;
    }
}

.btn-yellow
{
    border-radius: 30px;
    padding-left: 12px;
    padding-right: 12px;
    
    box-shadow: 2px 2px 2px rgba(100, 100, 100, 0.5);
    
    background-color: #FFD043;
    color: #000;
    
    &:hover
    {
        background-color: #ffb300;
    }
}

.btn-grey-1
{
    border-radius: 30px;
    padding-left: 12px;
    padding-right: 12px;
    
    box-shadow: 2px 2px 2px rgba(100, 100, 100, 0.5);
    
    background-color: #acacac;
    color: #fff;
    
    border: 2px solid transparent !important;
    
    &:hover
    {
        background-color: #dedede;
        color: #000;
        border: 2px solid transparent !important;
    }
    
    &:active
    {
        border: 2px solid #fff !important;
        box-sizing: border-box;
        background-color: #acacac !important;
        color: #fff;
    }
    
    &.set-active
    {
        background-color: #acacac !important;
        color: #fff;
    }
}

.btn-grey-2
{
    border-radius: 30px;
    padding-left: 12px;
    padding-right: 12px;
    
    box-shadow: 2px 2px 2px rgba(100, 100, 100, 0.5);
    
    background-color: #dedede;
    color: #000;
    
    border: 2px solid transparent;
    
    &:hover
    {
        background-color: #acacac;
        color: #fff;
        border: 2px solid transparent;
    }
    
    &:active
    {
        border: 2px solid #fff !important;
        box-sizing: border-box;
        background-color: #acacac !important;
        color: #fff;
    }
}

.btn-greyed
{
    border-radius: 30px;
    padding-left: 12px;
    padding-right: 12px;
    
    box-shadow: 2px 2px 2px rgba(100, 100, 100, 0.5);
    
    background-color: #bebebe;
}

.btn-simple
{
    width: 100%;
    
    padding: 6px;
    padding-left: 12px;
    padding-right: 12px;
    
    text-align: center;
    
    /* margin-left: 6px;
    margin-right: 6px; */
}

.btn-choice
{
    margin-right: 20px;
    border-radius: 30px !important;
    
    background-color: #bebebe;
    color: white;
    
    min-width: 100px;
    
    /* &.active
    {
        background-color: #000;
    } */
}

.btn-wide-1
{
    min-width: 130px;
}

.btn-small-1
{
    font-size: 12px;
}

/* .btn-check:checked + .btn
{
    background-color: #000;
    
    &.btn-check:hover
    {
        background-color: #5f2b2b;
    }
}

.btn-check:active + .btn
{
    background-color: #000;
} */

/* .btn-check:hover + .btn
{
    background-color: #acacac;
} */

.btn-check
{
    &:checked + .btn
    {
        background-color: #000 !important;
        /* color: white !important; */
    }
    
    &:not(:checked) + .btn
    {
        background-color: #ACACAC !important;
        /* color: white !important; */
    }
    
    &:hover + .btn
    {
        background-color: #393939 !important;
        color: white !important;
    }
}

.selected-slider
{
    min-width: 80px !important;
    min-height: 30px !important;
    margin: 0px !important;
    cursor: pointer;
}

.select-choice-btn
{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.file-name-display
{
    min-width: 200px;
    max-width: 400px;
    white-space: normal;
}

.discrete-section
{
    padding: 10px;
    
    box-shadow: 2px 3px 3px rgba(100, 100, 100, 0.5);
    border-left: 1px solid rgba(100, 100, 100, 0.25);
    border-top: 1px solid rgba(100, 100, 100, 0.25);
    border-radius: 20px;
    
    padding: 14px;
    
    background: #fff;
    
    border-left: 4px solid #0062ff;
    
    table
    {
        tr
        {
            &:last-child
            {
                border-bottom: 0px solid transparent;
            }
        }
        
        th
        {
            padding: 0px;
            padding-top: 6px;
            padding-bottom: 6px;
            
            text-align: center;
            
            .table-header-cell
            {
                font-size: 12px;
                
                /* border-right: 1px solid black; */
            }
            
            &:not(:last-child)
            {
                .table-header-cell
                {
                    border-right: 1px solid black;
                }
            }
            
        }
        
        .table-body-cell
        {
            font-size: 12px;
            
            padding-top: 4px;
            padding-bottom: 4px;
            
            padding-left: 10px;
            padding-right: 10px;
        }
        
        margin-bottom: 0px;
    }
}

.discrete-sub-section
{
    border-radius: 20px;
    padding: 14px;
    
    background-color: #f7f9fc;
    
    .mb-3
    {
        margin-bottom: 0 !important;
    }

    &.form-select
    {
        padding: 10px 14px;
    }

    &.form-control, &.form-select
    {
        resize: none;
        border: 1px solid transparent;
        background-color: #fff;
        border-radius: 20px;
        box-shadow: 2px 2px 4px 2px rgba(100, 100, 100, 0.3);
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

        &:focus
        {
            border: 1px solid #0073FD;
        }

        &:disabled
        {
            background-color: #f3f3f3;
        }
    }
}

.discrete-sub-section-2
{
    padding: 10px;
    
    border-radius: 20px;
    
    padding: 24px;
    
    background: #f7f9fc;
    
    border: 1px solid var(--thor-grey-2);
    
    .mb-3
    {
        margin-bottom: 0 !important;
    }
}

.rounded-input-section
{
    .form-select
    {
        padding: 10px 14px !important;
    }
    
    .form-control, .form-select
    {
        resize: none;
        border: 1px solid transparent;
        background-color: #fff;
        border-radius: 20px !important;
        box-shadow: 2px 2px 4px 2px rgba(100, 100, 100, 0.3);
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

        &:focus
        {
            border: 1px solid #0073FD;
        }

        &:disabled
        {
            background-color: #f3f3f3;
        }
    }
}

.asset-section, .existing-asset-section
{
    margin-bottom: 20px;
    
    &:last-child
    {
        margin-bottom: 0px;
    }
    
    label:not(.form-check-label)
    {
        margin-bottom: 8px;
    }
}

.lozenge-existing
{
    background-color: var(--thor-blue-1);
    color: white;
    border-radius: 100vmax;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
    font-size: 12px;
}

.lozenge-new
{
    background-color: var(--thor-green-1);
    color: white;
    border-radius: 100vmax;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 10px;
    padding-right: 10px;
    display: inline-block;
    font-size: 12px;
}

@media (max-width: 1100px)
{
    .discrete-sub-section, .discrete-sub-section-2
    {
        textarea, input[type="text"], select, p, &.form-control, &.form-select
        {
            font-size: 12px !important;
        }
    }
}

.btn-group-toggle input[type="radio"]
{
    /* position: absolute; */
    /* opacity: 0; */
    /* pointer-events: none; */
}

.btn-check:checked + .btn {
    /* background-color: transparent !important; */
    /* border-color: black !important;
    color: black !important; */
}

.input-disabled
{
    color: #acacac;
    pointer-events: none;
    accent-color: red;
}

.costs-delete-btn
{
    background-color: red;
    min-width: 90px;
    font-size: 14px;
    
    &:hover, &:active
    {
        background-color: rgb(193, 0, 0);
    }
}

.costs-text-input
{
    width: 100%;
    height: 100%;
    box-sizing: border-box; /* include padding/border in width/height */
    display: block; /* ensures it fills the cell horizontally */
    
    border: 1px solid #eeeeee;
}

.border-btm-row-1
{
    border-bottom: 1px solid #acacac;
    &:last-child
    {
        border-bottom: 0px solid transparent;
    }
}

.border-btm-row-2
{
    border-bottom: 1px solid #dedede;
    &:last-child
    {
        border-bottom: 0px solid transparent;
    }
}

.border-btm-row-3
{
    border-bottom: 1px solid #eeeeee;
    &:last-child
    {
        border-bottom: 0px solid transparent;
    }
}

.highlight-border-1
{
    outline: 3px solid red !important;
    outline-offset: 4px;
}

#add-file-note-btn {
    position: fixed;
    bottom: 64px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;

    &:hover {
        transform: scale(1.1);
    }

    img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }
}

/* Limit the width of notification items and add truncation */
.notification-item
{
    max-width: 300px; /* Adjust as needed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.fact-find-dot
{
    width: 16px;
    height: 16px;
    border-radius: 100%;
    
    background-color: #acacac;
    &.fact-find-dot-blue
    {
        background-color: #0561e3;
    }
}

.clickable-link
{
    cursor: pointer;
    &:hover
    {
        text-decoration: underline;
    }
}

.fact-find-sections-table
{
    table-layout: fixed;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 20px;
    padding-left: 20px;
    
    tr
    {
        width: 100%;
    }
}

.hover-bubble-elem
{
    &.hovered
    {
        background-color: #dedede;
    }
}

.hover-bubble
{
    position: absolute;
    top: 90%;
    left: 0%;
    
    min-width: 250px;
    
    background-color: white;
    
    display: none;
    
    z-index: 100;
    
    cursor: default;
    
    padding: 4px;
    
    border-radius: 10px;
    border: 2px solid #ffb300;
}

.modal-open .select2-container
{
    z-index: 9999;
}

.goals-section-heading
{
    position: absolute;
    
    top: -50px;
}

.doc_pro_section_heading {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.submit-btn.select-choice-btn
{
    background-color: #d8d8d8;
    border-radius: 30px;
    border: none;
    padding: 5px 12px;
    width: 100%;
    box-shadow: 2px 2px 2px rgba(100, 100, 100, 0.5);
    transition: background-color 0.2s, color 0.2s;

    &:focus
    {
        background-color: #0073FD;
        color: #fff;
    }
}

button.final-submit {
    &:disabled {
        background-color: gray;
        box-shadow: none;
    }
}

.section-value[data-active='true'] .submit-btn.select-choice-btn {
        background-color: #0561e3;
        color: #ffffff;
    }

.view-doc-btn {
        border-radius: 20px;
        background-color: #000;
        color: #fff;
        text-decoration: underline;
        padding: 6px 12px;
        font-size: 0.8rem;
        text-align: center;
        width: 100%;
        display: block;
    }
    .view-doc-btn:hover {
        background-color: #333;
        color: #fff;
    }

.doc-proc-progress-table-container
{
    margin-bottom: 50px;
    
    .doc-proc-progress-table
    {
        width: 100%;
        border-collapse: collapse;
        
        table-layout: fixed;
        
        tr
        {
            height: 50px;
            
            td
            {
                border-right: 1px solid #fff;
                background-color: #dedede;
                
                height: 50px;
                
                overflow: hidden;
                
                &:first-child
                {
                    border-top-left-radius: 25px;
                    border-bottom-left-radius: 25px;
                }
                
                &:last-child
                {
                    border-top-right-radius: 25px;
                    border-bottom-right-radius: 25px;
                    
                    border-right: none;
                }
                
                &:hover
                {
                    background: #acacac;
                    transition: background 0.3s ease;
                }
                
                &.active
                {
                    background: #0073FD;
                    color: #fff;
                    
                    &:hover
                    {
                        background: #0055bc;
                        transition: background 0.3s ease;
                    }
                }
                
                .doc-proc-section
                {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    overflow: hidden;
                    
                    cursor: pointer;
                    
                    width: 100%;
                    height: 100%;
                    
                    border-bottom: 2px solid transparent;
                    
                    box-sizing: border-box;
                    
                    position: relative;
                    
                    a
                    {
                        color: inherit;
                        text-decoration: none;
                        text-align: center;
                        
                        font-size: 15px;
                    }
                    
                    &.smaller-text
                    {
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        
                        a
                        {
                            font-size: 12px;
                        }
                    }
                    
                    &.doc-proc-section-pending
                    {
                        border-bottom: 2px solid var(--thor-grey-1);
                    }
                    
                    &.doc-proc-section-started
                    {
                        border-bottom: 2px solid var(--thor-blue-1);
                    }
                    
                    &.doc-proc-section-success
                    {
                        border-bottom: 2px solid var(--thor-yellow-1);
                    }
                    
                    .doc-proc-section-status-display
                    {
                        position: absolute;
                        bottom: 2px;
                        left: 2px;
                        
                        width: 10px;
                        height: 10px;
                        
                        color: white;
                        
                        margin-bottom: 0px;
                        font-size: 8px;
                        
                        text-align: center;
                        
                        &.has-info
                        {
                            background-color: rgba(50, 200, 50, 0.5);
                            border-radius: 100%;
                        }
                    }
                }
                
                &:first-child
                {
                    .doc-proc-section
                    {
                        .doc-proc-section-status-display
                        {
                            left: 12px;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 1100px)
{
    .doc-proc-section
    {
        a
        {
            font-size: 12px !important;
        }
    }
}

.filter-btn-active
{
    background-color: #FFD043;
    color: #000;
    
    &:hover
    {
        background-color: #ffb300;
    }
    
    transition: background-color 0.3s ease;
}

.flowing-overlay
{
    position: relative;
    overflow: hidden;
}

.flowing-overlay::after
{
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    
    animation: flow 3s infinite;
}

@keyframes flow
{
    0% { left: -150%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Override Bootstrap modal width */
.modal
{
    --bs-modal-width: 600px;
}

.active-update-template-btn
{
    opacity: 50%;
    pointer-events: none;
}
.btn-outline-client {
    font-size: 1.5em !important;
    border-radius: 30px !important;
    padding: 10px 50px !important;
    margin-bottom: 10px !important;
    font-family: 'SuisseIntl', sans-serif;
    background-color: white !important;
    color: #6c757d !important;
    border: 2px solid #6c757d !important;
}


/* Shared by the three advice generation pages. Was duplicated inline in super and estate; insurance was missing it.  */
.strategy-section {
    background: #f7f9fc;
    padding: 18px;
    border-radius: 8px;
    border-left: 4px solid #0073FD;
    margin: 20px 0;
}

/* Preview body base. Super and estate override inline. */
.strategy-content {
    white-space: normal;
    font-size: 14px;
    line-height: 1.7;
    max-height: 420px;
    overflow-y: auto;
    overflow-x: auto;
    padding: 12px 14px;
}

.strat-body
{
    font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
    
    background: #F4F6F9;
    
    overflow-x: hidden;
}

.strat-discrete-section-1
{
    background: rgb(255, 255, 255);
    border: 1px solid rgb(231, 233, 238);
    border-radius: 16px;
    box-shadow: rgba(15, 23, 42, 0.05) 0px 8px 22px;
    padding: 22px 24px;
}

.strat-discrete-section-2
{
    background: rgb(255, 255, 255);
    border: 1px solid rgb(231, 233, 238);
    border-radius: 16px;
    box-shadow: rgba(15, 23, 42, 0.05) 0px 8px 22px;
    
    margin-bottom: 20px;
}

.strat-discrete-section-2-head
{
    padding: 14px 18px;
    border-bottom: 1px solid #EDEFF3;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    
    .pill
    {
        font-size:11px;
        font-weight:700;
        padding:4px 11px;
        border-radius:999px;
        
        &.draft
        {
            background:#FFF7E0;
            color:#9A7B12;
        }
        
        &.done
        {
            background:#EAF6EF;
            color:#1F7A4D;
        }
    }
}

.strat-dual-btn-background
{
    display: inline-flex;
    gap: 4px;
    background: rgb(234, 237, 242);
    padding: 4px;
    border-radius: 12px;
}

.strat-dual-btn
{
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    background: transparent;
    color: rgb(91, 100, 112);
    border: 1px solid transparent;
    
    &:hover
    {
        /* box-shadow: rgba(15, 23, 42, 0.12) 0px 1px 3px;
        color: rgb(0, 0, 0); */
        outline: 2px solid #D5D9E0;
    }
    
    span
    {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: rgb(213, 217, 224);
        color: rgb(255, 255, 255);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 800;
    }
    
    &.active
    {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        padding: 8px 16px;
        border-radius: 9px;
        font-size: 13px;
        font-weight: 700;
        background: rgb(255, 255, 255);
        color: rgb(10, 90, 245);
        box-shadow: rgba(15, 23, 42, 0.12) 0px 1px 3px;
        
        span
        {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: rgb(10, 90, 245);
            color: rgb(255, 255, 255);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 800;
        }
    }
}

.strat-heading-1
{
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.strat-heading-6
{
    font-size: 15px;
    font-weight: 800;
}

.strat-text-1
{
    font-size: 14px;
    color: rgb(91, 100, 112);
}

.strat-add-btn-1
{
    font-family: inherit;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #0A5AF5;
    border: 1.5px dashed #9EC0FB;
    border-radius: 11px;
    padding: 11px 16px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

.strat-goal
{
    display: flex;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid #E7E9EE;
    border-radius: 14px;
    padding: 14px 16px;
    
    margin-bottom: 20px;
    
    .status-icon-red
    {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        flex-shrink: 0;
        background:#B4232F;
    }
    
    .goal-input
    {
        flex: 1 1 0%;
        min-width: 0px;
        border: 1px solid transparent;
        background: transparent;
        font-family: inherit;
        font-size: 14px;
        font-weight: 700;
        color: rgb(11, 18, 32);
        padding: 6px 8px;
        border-radius: 8px;
        outline: none;
        
        &:focus
        {
            border-color: #D5D9E0;
            background: #F7F9FC;
        }
    }
    
    .goal-select-owner
    {
        appearance: none;
        -webkit-appearance: none;
        font-family: inherit;
        font-size: 12.5px;
        font-weight: 600;
        color: #3A424E;
        border: 1px solid #D5D9E0;
        border-radius: 9px;
        padding: 8px 30px 8px 12px;
        background: #fff;
        cursor: pointer;
        outline: none;
    }
    
    .goal-select-owner-icon
    {
        position:absolute;
        right:11px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        color: #8A93A0;
        font-size: 10px;
    }
    
    .goal-priority-holder
    {
        display: flex;
        gap: 3px;
        background:#F1F3F6;
        border-radius: 10px;
        padding: 3px;
        width: 200px;
        flex-shrink: 0;
    }
    
    .goal-prority-button
    {
        font-family: inherit;
        flex: 1;
        border: none;
        cursor: pointer;
        padding: 7px 0;
        font-size: 12px;
        font-weight: 700;
        border-radius: 8px;
        color: #8A93A0;
        background: transparent;
        
        &:hover
        {
            outline: 2px solid #D5D9E0;
            /* color: rgb(40, 40, 40); */
        }
    }
    
    .goal-high-active
    {
        font-family: inherit;
        flex: 1;
        border: none;
        cursor: pointer;
        padding: 7px 0;
        font-size: 12px;
        font-weight: 700;
        border-radius: 8px;
        color: #B4232F;
        background: #FBEEF0;
    }
    
    .goal-medium-active
    {
        font-family: inherit;
        flex: 1;
        border: none;
        cursor: pointer;
        padding: 7px 0;
        font-size: 12px;
        font-weight: 700;
        border-radius: 8px;
        color: #9A7B12;
        background: #FFF7E0;
    }
    
    .goal-low-active
    {
        font-family: inherit;
        flex: 1;
        border: none;
        cursor: pointer;
        padding: 7px 0;
        font-size: 12px;
        font-weight: 700;
        border-radius: 8px;
        color: #1F7A4D;
        background: #EAF6EF;
    }
    
    .goal-remove-btn
    {
        border: none;
        background: transparent;
        color:#A9B0BB;
        cursor: pointer;
        padding: 4px;
        flex-shrink: 0;
        font-size: 14px;
        
        transition: color 0.2s ease;
        
        &:hover
        {
            color:#B4232F;
        }
    }
    
}

.strat-sequences
{
    display: flex;
    flex-direction: column;
    gap: 14px;
    
    .strat-sequence-connector
    {
        position: absolute;
        left: 34px;
        top: -14px;
        width: 2px;
        height: 14px;
        background: #C9D0DA;
    }

    .strat-sequence
    {
        position: relative;
        
        display: flex;
        gap: 14px;
        align-items: flex-start;
        background: #fff;
        border: 1px solid #E7E9EE;
        border-radius: 16px;
        padding: 16px 18px;
        box-shadow: 0 6px 18px rgba(15,23,42,.05);
        
        .strat-sequence-left
        {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;

            .strat-order-btn
            {
                width: 26px;
                height: 22px;
                border: 1px solid #E1E4EA;
                background: #fff;
                border-radius: 6px;
                cursor: pointer;
                color: #5B6470;
                display: flex;
                align-items: center;
                justify-content: center;
                
                &:hover:not(:disabled)
                {
                    background: #F7F9FC;
                }
                
                &:active:not(:disabled)
                {
                    background: #EEF3FF;
                }
                
                &:disabled
                {
                    cursor: default;
                    color: #C4C9D2;
                }
            }
            
            
            
        }
        
        .strat-sequence-right
        {
            flex: 1;
            min-width: 0;
            
            .sequence-remove-btn
            {
                border: none;
                background: transparent;
                color:#A9B0BB;
                cursor: pointer;
                padding: 4px;
                flex-shrink: 0;
                
                transition: color 0.2s ease;
                
                &:hover
                {
                    color:#B4232F;
                }
            }
            
            .sequence-heading
            {
                font-size: 15px;
                font-weight: 700;
                color: #0B1220;
                line-height: 1.3;
            }

            .linked-goals-heading
            {
                font-size: 11px;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: .05em;
                color: #8A93A0;
                margin-bottom: 7px;
            }
            
            .linked-goal
            {
                font-family: inherit;
                display: inline-flex;
                align-items: center;
                gap: 6px;
                border-radius: 999px;
                padding: 5px 11px;
                font-size: 11.5px;
                font-weight: 600;
                cursor: pointer;
                border: 1px solid #D9DDE4;
                background: #fff;
                color: #8A93A0;
                
                span
                {
                    width: 7px;
                    height: 7px;
                    border-radius: 50%;
                    background: #C4C9D2;
                }
                
                &.active
                {
                    border: 1px solid #0A5AF5;
                    background: #EEF3FF;
                    color: #0A5AF5;
                    
                    span
                    {
                        background: #0A5AF5;
                    }
                }
            }
            
            .timeframe-heading
            {
                font-size: 11px;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: .05em;
                color: #8A93A0;
                margin-bottom: 7px;
            }
            
            .timeframe-select
            {
                appearance: none;
                -webkit-appearance: none;
                font-family: inherit;
                font-size: 12.5px;
                font-weight: 600;
                color: #0B1220;
                border: 1px solid #D5D9E0;
                border-radius: 9px;
                padding: 8px 30px 8px 12px;
                background: #fff;
                cursor: pointer;
                outline: none;
            }
            
            .down-arrow-icon
            {
                position: absolute;
                right: 11px;
                top: 50%;
                transform: translateY(-50%);
                pointer-events: none;
                color: #8A93A0;
                font-size: 10px;
            }
            
            .note-area
            {
                width: 100%;
                border: 1px solid #D5D9E0;
                border-radius: 9px;
                padding: 9px 11px;
                font-size: 12.5px;
                color: #0B1220;
                outline: none;
                resize: vertical;
                min-height: 44px;
            }
        }
    }
}

.sequence-title
{
    display: inline-block;
    background:#EEF3FF;
    color:#0A5AF5;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.sequence-title-super
{
    background:#EEF3FF;
    color:#0A5AF5;
}

.sequence-title-retirement
{
    background: #EAF6EF;
    color: #1F7A4D;
}

.sequence-title-debt
{
    background: #FDF0E7;
    color: #B4560F;
}

.sequence-title-insurance
{
    background: #FBEEF0;
    color: #B4232F;
}

.elem-number
{
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #0B1220;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strat-scope-out-text-1
{
    font-size: 12.5px;
    font-weight: 600;
    color: #8A93A0;
}

.strat-scope-out-btn-1
{
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0A5AF5;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(10,90,245,.28);
}

.strat-scope-out-sections
{
    display: flex;
    flex-direction: column;
    gap: 10px;
    
    .strat-scope-out-section
    {
        background: #fff;
        border: 1px solid #E7E9EE;
        border-radius: 14px;
        padding: 14px 16px;
        
        &.is-out-of-scope
        {
            border: 1px solid #F0C7CC;
            
            select
            {
                background: #FBEEF0;
                color: #B4232F;
            }
        }
        
        .strat-scope-out-section-heading
        {
            flex: 1;
            font-size: 14px;
            font-weight: 700;
            color: #0B1220;
        }
        
        .strat-scope-out-select
        {
            appearance: none;
            -webkit-appearance: none;
            font-family: inherit;
            font-size: 12.5px;
            font-weight: 700;
            border: 1px solid #D5D9E0;
            border-radius: 9px;
            padding: 7px 30px 7px 12px;
            background: #EAF6EF;
            color: #1F7A4D;
            cursor: pointer;
            outline: none;
        }
        
        .strat-scope-out-select-down-arrow
        {
            position: absolute;
            right: 11px;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
            color: #8A93A0;
            font-size: 10px;
        }
        
        .strat-scope-out-out-of-scope-text-section
        {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        
        .strat-scope-out-out-of-scope-text-area-label-outer
        {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            
            height: 24px;
            
            .strat-scope-out-out-of-scope-text-area-label
            {
                font-size: 11px;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: .05em;
                color: #8A93A0;
                
                
            }
        }
            
        .strat-scope-out-out-of-scope-text-area
        {
            width: 100%;
            min-height: 90px;
            border: 1px solid #D5D9E0;
            border-radius: 9px;
            padding: 9px 11px;
            font-size: 12.5px;
            color: #0B1220;
            line-height: 1.5;
            outline: none;
            resize: vertical;
            font-family: inherit;
        }
        
        .ai-suggest-btn
        {
            font-family: inherit;
            font-size: 11px;
            font-weight: 700;
            color: #0A5AF5;
            background: #EEF3FF;
            border: none;
            border-radius: 7px;
            padding: 3px 9px;
            cursor: pointer;
        }
    }
}

.strat-scope-implications-text-area
{
    width: 100%;
    margin-top: 7px;
    min-height: 80px;
    border: 1px solid #D5D9E0;
    border-radius: 10px;
    padding: 11px 13px;
    font-size: 13px;
    color: #0B1220;
    line-height: 1.5;
    outline: none;
    resize: vertical;
    font-family: inherit;
}

.strat-scope-notes-text-area
{
    width: 100%;
    box-sizing: border-box;
    margin-top: 12px;
    min-height: 92px;
    border: 1px solid rgb(213, 217, 224);
    border-radius: 10px;
    padding: 11px 13px;
    font-size: 13.5px;
    color: rgb(11, 18, 32);
    outline: none;
    resize: vertical;
    font-family: inherit;
}

.strat-reset-btn
{
    background: rgb(255, 255, 255);
    color: rgb(91, 100, 112);
    border: 1px solid rgb(213, 217, 224);
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

.strat-save-btn
{
    background: rgb(255, 255, 255);
    color: rgb(10, 90, 245);
    border: 1px solid rgb(10, 90, 245);
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

.strat-continue-btn
{
    background: rgb(10, 90, 245);
    color: rgb(255, 255, 255);
    text-decoration: none;
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: rgba(10, 90, 245, 0.28) 0px 6px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    /* Held from the press until the Plan page loads. `pointer-events` rather than the disabled
       property because this is an anchor, and the shadow goes with it — a raised button that
       does nothing when pressed reads as broken. */
    &.is-busy
    {
        opacity: .55;
        cursor: not-allowed;
        pointer-events: none;
        box-shadow: none;
    }
}

.strat-type-heading
{
    padding: 8px 14px 4px;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #7D3C98;
    position: sticky;
    top: 0;
    background: #fff;
}

.strat-type-item
{
    font-family: inherit;
    display: block;
    width: 100%;
    text-align: left;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    background: rgb(255, 255, 255);
    padding: 9px 14px;
    font-size: 13px;
    color: rgb(11, 18, 32);
    cursor: pointer;
    border-radius: 8px;
    
    &:hover
    {
        background: rgb(234, 237, 242);
    }
    
    &:active
    {
        background: rgb(213, 217, 224);
    }
}

.strat-goal-grid
{
    display: grid;
    grid-template-columns: 44px 1fr 130px 110px;
    padding: 10px 14px;
    align-items: center;
    font-size: 13.5px;
    
    .pill
    {
        font-size: 11px;
        font-weight: 700;
        padding: 4px 11px;
        border-radius: 999px;
    }
    
    .pill-high
    {
        background: #FBEEF0;
        color: #B4232F;
    }
    
    .pill-medium
    {
        background: #FFF7E0;
        color: #9A7B12;
    }
    
    .pill-low
    {
        background: #EAF6EF;
        color: #1F7A4D;
    }
}

.strat-goal-grid-header
{
    background:#F7F9FC;
    border-top: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color:#8A93A0;
}

.strat-btn-black-1
{
    background: #0B1220;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.strat-sub-section
{
    border: 1px solid #E7E9EE;
    border-radius: 11px;
    overflow: hidden;
    margin-bottom: 10px;
    
    .strat-sub-section-header
    {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 11px 14px;
        background: #F7F9FC;
        font-size: 13.5px;
        font-weight: 700;
    }
    
    .strat-sub-section-body
    {
        padding: 12px 16px;
        
        textarea
        {
            font-family: inherit;
            font-size: 13px;
            width: 100%;
            border: 1px solid #D5D9E0;
            border-radius: 8px;
            padding: 9px 11px;
            resize: vertical;
        }
    }
}

.btn-ghost
{
    font-family: inherit;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12.5px;
    
    background: #fff;
    color: #5B6470;
    border: 1px solid #D5D9E0;
    padding: 6px 11px;
}

.btn-rerun
{
    font-family: inherit;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12.5px;
    
    background: #fff;
    color: #0A5AF5;
    border: 1px solid #C7DBFB;
    padding: 6px 11px;
}


/* Advice Strategy — Plan page. The run-lifecycle chrome and the linked-goal chips, scoped to
   the page container: `.chip`, `.hint`, `.disabled` and `.spin` are names generic enough that
   putting them on the globals would collide with something eventually. */
.strat-plan
{
    #as-goal-table .strat-goal-grid
    {
        border-top: 1px solid #F0F1F4;
    }

    .chip
    {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border-radius: 999px;
        padding: 4px 10px;
        font-size: 11.5px;
        font-weight: 600;
        border: 1px solid #C7DBFB;
        background: #EEF3FF;
        color: #0A5AF5;
    }

    /* Why a control is unavailable, said in words. A greyed-out button with no explanation
       reads as broken rather than as not-yet-applicable. */
    .hint
    {
        font-size: 11px;
        color: #8A93A0;
        margin-top: 4px;
        max-width: 190px;
    }

    .disabled
    {
        opacity: .55;
        cursor: not-allowed;
    }

    .spin
    {
        display: inline-block;
        width: 11px;
        height: 11px;
        margin-right: 7px;
        vertical-align: -1px;
        border: 2px solid rgba(255, 255, 255, .45);
        border-top-color: #fff;
        border-radius: 50%;
        animation: spin .7s linear infinite;
    }

    .strat-sub-section-body ul
    {
        margin: 0;
        padding-left: 18px;
    }

    .strat-sub-section-body li
    {
        font-size: 13px;
        color: #3A424E;
        line-height: 1.5;
        margin-bottom: 5px;
    }
}

@media (prefers-reduced-motion: reduce)
{
    .strat-plan .spin
    {
        animation: none;
    }
}

/* Advice Strategy — Build. The banner shown while Plan.AI prepares the case's modelling
   scenarios (PDEV-557). Informational by default; `-warn` when the adviser has to go and
   make one themselves. */
.strat-scenario-banner
{
    display: flex;
    align-items: center;
    gap: 10px;

    background: #EEF3FF;
    border: 1px solid #C7DBFB;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;

    font-size: 13.5px;
    color: #0B1220;
}

.strat-scenario-banner-warn
{
    background: #FFF8E1;
    border-color: #E0B000;
    color: #7A5E00;
}

.strat-scenario-spin
{
    display: inline-block;
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    border: 2px solid rgba(10, 90, 245, .25);
    border-top-color: #0A5AF5;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@media (prefers-reduced-motion: reduce)
{
    .strat-scenario-spin
    {
        animation: none;
    }
}

/* Advice Strategy — Build. A sequence row whose advice has been completed (PDEV-557). Removing
   one is refused until the adviser confirms, so the row says so before they try. */
.sequence-completed-tag
{
    display: inline-block;
    margin-left: 6px;
    padding: 2px 9px;
    border-radius: 999px;

    background: #EAF6EF;
    color: #1F7A4D;

    font-size: 10.5px;
    font-weight: 700;
    vertical-align: middle;
}

.sequence-completed-tag-stale
{
    background: #FFF7E0;
    color: #9A7B12;
}


/* ==========================================================================
   Documents (PDEV-285) — built from the "Files" artboard of the Plan.AI
   redesign canvas. Everything here sits on the strat-* system above; the
   generic pieces (page head, card head, column labels, pills, fields, icon
   buttons, drop zone) are named without a page prefix so the rest of the
   Page Tidy-Up screens can reuse them rather than restating the palette.
   ========================================================================== */

.strat-page-head
{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 22px;

    /* strat-heading-1 / strat-text-1 carry no margins of their own, so the
       heading block owns its rhythm rather than inheriting Bootstrap's. */
    h1
    {
        margin: 0;
    }

    p
    {
        margin: 6px 0 0;
    }
}

.strat-card-head
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;

    margin-bottom: 16px;
}

.strat-card-title
{
    margin: 0;

    font-size: 17px;
    font-weight: 800;
    color: #0B1220;
}

/* The "· 4" beside a card title — how many rows the card is holding. */
.strat-card-count
{
    color: #8A93A0;
    font-weight: 600;
    font-size: 14px;
}

/* Column heading inside a grid table. Same micro-caps as
   .strat-goal-grid-header, without that rule's grey band. */
.strat-col-label
{
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #8A93A0;
}

.strat-empty-1
{
    border-top: 1px solid #F0F1F4;
    padding: 34px 10px;

    text-align: center;
    font-size: 13.5px;
    color: #8A93A0;
}

/* Status pill. Standalone, unlike the .pill nested in .strat-goal-grid. */
.strat-pill-1
{
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;

    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;

    background: #F1F3F6;
    color: #8A93A0;

    &.is-done
    {
        background: #EAF6EF;
        color: #1F7A4D;
    }

    &.is-ready
    {
        background: #EEF3FF;
        color: #0A5AF5;
    }
}

/* A small neutral tag for provenance, e.g. "Imported from File Notes". */
.strat-tag-1
{
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;

    background: #F1F3F6;
    color: #5B6470;

    font-size: 10.5px;
    font-weight: 700;
}

/* Boxed select. Cannot use .form-control / .form-select — styles.css
   rewrites both into the old underline field. */
.strat-select-1
{
    position: relative;

    select
    {
        width: 100%;
        box-sizing: border-box;
        padding: 8px 28px 8px 10px;

        border: 1px solid #D5D9E0;
        border-radius: 8px;
        background: #fff;

        font-family: inherit;
        font-size: 13px;
        color: #0B1220;

        appearance: none;
        -webkit-appearance: none;

        &:focus
        {
            border-color: #0A5AF5;
            box-shadow: 0 0 0 3px rgba(10, 90, 245, .12);

            /* Reserved rather than removed. Forced-colors mode drops the
               box-shadow and repaints the border, so suppressing the outline
               outright would leave a keyboard user with no focus indicator at
               all; transparent here, system-coloured there. */
            outline: 2px solid transparent;
            outline-offset: 2px;
        }

        &:disabled
        {
            background: #F1F3F6;
            color: #8A93A0;
            cursor: not-allowed;
        }
    }

    /* The native arrow is suppressed above, so the chevron is drawn over
       the field and must not swallow the click that opens it. */
    .strat-select-chevron
    {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);

        display: flex;
        pointer-events: none;
        color: #8A93A0;
    }
}

/* Bootstrap pads .form-switch by 2.5em for a text label and pulls the input
   back by the same amount. There is no label here, so drop both halves rather
   than leave a column's worth of phantom padding cancelled by a negative
   margin — remove only one and the switch escapes its cell. */
.strat-switch-wrap.form-check
{
    min-height: 0;
    margin: 0;
    padding-left: 0;

    .form-check-input
    {
        margin-left: 0;
    }
}

/* Bootstrap's switch, resized to the canvas and given a white knob in both
   states — the default knob is a translucent black circle that muddies
   against the grey track. Bootstrap swaps the knob by redefining
   --bs-form-switch-bg, so setting background-image outright holds in both
   states while its :checked rule still slides the knob right. */
.strat-switch-1.form-check-input
{
    width: 44px;
    height: 26px;
    margin: 0;
    cursor: pointer;

    background-color: #D5D9E0;
    border-color: #D5D9E0;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");

    &:checked
    {
        background-color: #0A5AF5;
        border-color: #0A5AF5;
    }

    &:focus
    {
        box-shadow: 0 0 0 3px rgba(10, 90, 245, .15);
    }

    &:disabled
    {
        opacity: .45;
        cursor: not-allowed;
    }
}

/* Row action. Tinted rather than filled, so Download and Delete read as
   secondary to the page's one blue primary. */
.strat-icon-btn-1
{
    width: 32px;
    height: 32px;
    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;

    background: #EEF3FF;
    color: #0A5AF5;

    &:hover
    {
        background: #E0EAFF;
        color: #0A5AF5;
    }

    &.is-delete
    {
        background: #FDECEC;
        color: #E11900;

        &:hover
        {
            background: #FBDCDC;
            color: #E11900;
        }
    }
}

/* Held when there is nothing to act on. Matches .strat-continue-btn.is-busy
   in mechanism (pointer-events, not [disabled]) because this is an anchor. */
.strat-continue-btn.is-disabled
{
    background: #F1F3F6;
    color: #8A93A0;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}

/* Upload drop zone. A <label for> so the whole panel opens the file picker
   without script; the drag handlers only add .is-dragover. */
.strat-dropzone
{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;

    margin: 0;
    padding: 30px;

    border: 1.5px dashed #9CBBFB;
    border-radius: 14px;
    background: #F7FAFF;
    cursor: pointer;

    transition: background .15s ease, border-color .15s ease;

    &:hover,
    &.is-dragover
    {
        background: #EEF3FF;
        border-color: #0A5AF5;
    }

    .strat-dropzone-icon
    {
        width: 52px;
        height: 52px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 13px;
        background: #0A5AF5;
        color: #fff;
    }

    .strat-dropzone-title
    {
        font-size: 15px;
        font-weight: 700;
        color: #0B1220;
    }

    .strat-dropzone-action
    {
        color: #0A5AF5;
    }

    .strat-dropzone-hint
    {
        font-size: 12.5px;
        color: #8A93A0;
    }
}

/* The file input is clipped, not removed, so it still takes focus; the drop
   zone is what the user can see, so it shows that focus on the input's behalf. */
.strat-upload-input:focus-visible + .strat-dropzone
{
    background: #EEF3FF;
    border-color: #0A5AF5;
    box-shadow: 0 0 0 3px rgba(10, 90, 245, .12);
}

.strat-upload-list
{
    list-style: none;
    margin: 14px 0 0;
    padding: 0;

    li
    {
        padding: 2px 0;
        font-size: 13px;
        color: #5B6470;
    }
}

/* --- Documents page ------------------------------------------------------ */

.strat-docs
{
    margin: 0 30px 20px;

    .strat-discrete-section-1
    {
        margin-bottom: 20px;
    }
}

.strat-docs-scroll
{
    overflow-x: auto;
}

.strat-docs-table
{
    min-width: 960px;
}

.strat-docs-grid
{
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 165px 185px 110px 96px 88px;
    gap: 12px;
    align-items: center;

    padding: 12px 4px;
    border-top: 1px solid #F0F1F4;
}

.strat-docs-grid-head
{
    padding: 0 4px 10px;
    border-top: none;
}

.strat-docs-file
{
    display: flex;
    align-items: center;
    gap: 10px;

    /* Without this the name cannot shrink, so the ellipsis never engages
       and the row pushes the grid wider than its column. */
    min-width: 0;
}

.strat-docs-file-icon
{
    width: 32px;
    height: 32px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
    background: #EEF3FF;
    color: #0A5AF5;
}

/* Stacked so a provenance tag sits under the name rather than sharing its
   single nowrap line — inline, the tag is wide enough to ellipsis the filename
   away entirely once the grid is at its minimum width. */
.strat-docs-file-text
{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;

    min-width: 0;
}

.strat-docs-file-name
{
    max-width: 100%;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 13px;
    font-weight: 600;
    color: #0B1220;
}

.strat-docs-actions
{
    display: flex;
    gap: 7px;
}

@media (max-width: 767.98px)
{
    .strat-docs
    {
        margin: 0 16px 20px;
    }
}
