@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.bundle.scp.css';

/* _content/Entity8/Components/Layout/AddressLookup.razor.rz.scp.css */
.address-lookup[b-1tu6uljwsm] {
    margin-bottom: 20px;
}

.form-group[b-1tu6uljwsm] {
    margin-bottom: 15px;
}

.form-row[b-1tu6uljwsm] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .form-row .form-group[b-1tu6uljwsm] {
        flex: 1 1 calc(50% - 5px);
    }

.form-group.postcode[b-1tu6uljwsm] {
    flex: 1 1 100%;
}

.postcode-group[b-1tu6uljwsm] {
    display: flex;
    gap: 10px;
}

    .postcode-group .form-control[b-1tu6uljwsm] {
        flex: 1 1 calc(50% - 5px);
    }

    .postcode-group .btn[b-1tu6uljwsm] {
        flex: 1 1 calc(50% - 5px);
    }

.input-group[b-1tu6uljwsm] {
    display: flex;
}

    .input-group .form-control[b-1tu6uljwsm] {
        flex: 1;
    }

#addressSelect[b-1tu6uljwsm] {
    width: 100%;
    margin-bottom: 15px;
}

/* Ensure consistent height for inputs and buttons */
.form-control[b-1tu6uljwsm],
.btn[b-1tu6uljwsm] {
    height: 38px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
}

/* Remove default button styles */
.btn[b-1tu6uljwsm] {
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn-primary[b-1tu6uljwsm] {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

    .btn-primary:hover[b-1tu6uljwsm] {
        background-color: #0056b3;
        border-color: #0056b3;
    }

/* Ensure all labels are positioned consistently */
label[b-1tu6uljwsm] {
    display: block;
    margin-bottom: 5px;
}
/* _content/Entity8/Components/Layout/CompanySearch.razor.rz.scp.css */
/* CompanySearch Component Styles */
.company-search .company-panel[b-bqffue8uid] {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}

    .company-search .company-panel .fa[b-bqffue8uid],
    .company-search .company-panel .far[b-bqffue8uid],
    .company-search .company-panel .fas[b-bqffue8uid] {
        font-size: 1rem;
    }

    .company-search .company-panel.open[b-bqffue8uid] {
        right: 0;
    }

.company-search .company-panel-content[b-bqffue8uid] {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}

.company-search .close-panel[b-bqffue8uid] {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.company-search .company-list[b-bqffue8uid],
.company-search .assigned-company-list[b-bqffue8uid] {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    margin-top: 10px;
}

.company-search .company-item[b-bqffue8uid] {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .company-search .company-item:hover[b-bqffue8uid] {
        background-color: #e9ecef;
    }

.company-search .company-avatar[b-bqffue8uid] {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 18px;
}

    .company-search .company-avatar img[b-bqffue8uid] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.company-search .company-info[b-bqffue8uid] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.company-search .company-name[b-bqffue8uid] {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.company-search .company-email[b-bqffue8uid],
.company-search .company-phone[b-bqffue8uid] {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .company-search .company-email[b-bqffue8uid]  .rz-icon,
    .company-search .company-phone[b-bqffue8uid]  .rz-icon {
        font-size: 1rem;
    }

.company-search .company-item .btn[b-bqffue8uid] {
    align-self: center;
}

.company-search .mt-3[b-bqffue8uid] {
    margin-top: 1rem;
}
.overlay[b-bqffue8uid] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

    .overlay.active[b-bqffue8uid] {
        display: block;
    }

.company-search .company-panel[b-bqffue8uid] {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}

    .company-search .company-panel.open[b-bqffue8uid] {
        right: 0;
    }
/* _content/Entity8/Components/Layout/CompanySearchList.razor.rz.scp.css */
/* CompanySearch Component Styles */
.company-search .company-panel[b-ert816ft77] {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}

    .company-search .company-panel .fa[b-ert816ft77],
    .company-search .company-panel .far[b-ert816ft77],
    .company-search .company-panel .fas[b-ert816ft77] {
        font-size: 1rem;
    }

    .company-search .company-panel.open[b-ert816ft77] {
        right: 0;
    }

.company-search .company-panel-content[b-ert816ft77] {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}

.company-search .close-panel[b-ert816ft77] {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.company-search .company-list[b-ert816ft77],
.company-search .assigned-company-list[b-ert816ft77] {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    margin-top: 10px;
}

.company-search .company-item[b-ert816ft77] {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .company-search .company-item:hover[b-ert816ft77] {
        background-color: #e9ecef;
    }

.company-search .company-avatar[b-ert816ft77] {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 18px;
}

    .company-search .company-avatar img[b-ert816ft77] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.company-search .company-info[b-ert816ft77] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.company-search .company-name[b-ert816ft77] {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.company-search .company-email[b-ert816ft77],
.company-search .company-phone[b-ert816ft77] {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .company-search .company-email[b-ert816ft77]  .rz-icon,
    .company-search .company-phone[b-ert816ft77]  .rz-icon {
        font-size: 1rem;
    }

.company-search .company-item .btn[b-ert816ft77] {
    align-self: center;
}

.company-search .mt-3[b-ert816ft77] {
    margin-top: 1rem;
}

.overlay[b-ert816ft77] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

    .overlay.active[b-ert816ft77] {
        display: block;
    }

.company-search .company-panel[b-ert816ft77] {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}

    .company-search .company-panel.open[b-ert816ft77] {
        right: 0;
    }
/* _content/Entity8/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-p0ryom0q5w] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-p0ryom0q5w] {
    flex: 1;
}


.top-row[b-p0ryom0q5w] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-p0ryom0q5w]  a, .top-row[b-p0ryom0q5w]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-p0ryom0q5w]  a:hover, .top-row[b-p0ryom0q5w]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-p0ryom0q5w]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-p0ryom0q5w] {
        justify-content: space-between;
    }

    .top-row[b-p0ryom0q5w]  a, .top-row[b-p0ryom0q5w]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-p0ryom0q5w] {
        flex-direction: row;
    }

    .sidebar[b-p0ryom0q5w] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-p0ryom0q5w] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-p0ryom0q5w]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-p0ryom0q5w], article[b-p0ryom0q5w] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-p0ryom0q5w] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-p0ryom0q5w] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* _content/Entity8/Components/Layout/PersonSearch.razor.rz.scp.css */
/* PersonSearch Component Styles */

/* Adjusted the z-index to ensure the panel is on top */
.person-search .person-panel[b-td7524zs4h] {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000; /* Ensure the panel is above other elements */
}

    .person-search .person-panel .fa[b-td7524zs4h],
    .person-search .person-panel .far[b-td7524zs4h],
    .person-search .person-panel .fas[b-td7524zs4h] {
        font-size: 1rem;
    }

    .person-search .person-panel.open[b-td7524zs4h] {
        right: 0;
    }

.person-search .person-panel-content[b-td7524zs4h] {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
    position: relative; /* Establish a new stacking context */
    z-index: 1;
}

.person-search .close-panel[b-td7524zs4h] {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2; /* Ensure the close button is above other content */
}

/* Adjusted max-height and overflow to accommodate dynamic content */
.person-search .person-list[b-td7524zs4h],
.person-search .assigned-person-list[b-td7524zs4h] {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.person-search .person-item[b-td7524zs4h] {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1; /* Ensure buttons inside are clickable */
}

    .person-search .person-item:hover[b-td7524zs4h] {
        background-color: #e9ecef;
    }

.person-search .person-avatar[b-td7524zs4h] {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 18px;
}

    .person-search .person-avatar img[b-td7524zs4h] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.person-search .person-info[b-td7524zs4h] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.person-search .person-name[b-td7524zs4h] {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.person-search .person-email[b-td7524zs4h],
.person-search .person-phone[b-td7524zs4h] {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .person-search .person-email[b-td7524zs4h]  .rz-icon,
    .person-search .person-phone[b-td7524zs4h]  .rz-icon {
        font-size: 1rem;
    }

.person-search .person-item .btn[b-td7524zs4h] {
    align-self: center;
    position: relative;
    z-index: 2; /* Ensure buttons are above any overlapping elements */
}

/* Ensure the remove button is clickable */
.person-search .person-item .remove-button[b-td7524zs4h] {
    position: relative;
    z-index: 2;
}

/* Added pointer-events to prevent overlays from blocking clicks */
.inactive-overlay[b-td7524zs4h] {
    pointer-events: none;
}

.person-search .mt-3[b-td7524zs4h] {
    margin-top: 1rem;
}

/* Ensure overlays or panels do not block interactions */
.company-search[b-td7524zs4h],
.person-search[b-td7524zs4h] {
    position: relative;
    z-index: 1000; /* Adjust as necessary to stack correctly */
}

/* Additional styles for the inactive overlay */
.inactive-overlay[b-td7524zs4h] {
    display: none; /* Hide by default */
}

    .inactive-overlay.show[b-td7524zs4h] {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999; /* Ensure it's below the person panel */
        pointer-events: none; /* Allow clicks to pass through */
    }
/* _content/Entity8/Components/Pages/ClientLook/Clientlook.razor.rz.scp.css */
.clientlook-container[b-u0dvrnc05o] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.clientlook-header[b-u0dvrnc05o] {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #0078d4;
    color: white;
}

.clientlook-logo[b-u0dvrnc05o] {
    font-size: 24px;
    font-weight: bold;
    margin-right: 20px;
}

.clientlook-search[b-u0dvrnc05o] {
    flex-grow: 1;
}

    .clientlook-search input[b-u0dvrnc05o] {
        width: 100%;
        padding: 8px;
        border: none;
        border-radius: 4px;
    }

.clientlook-main[b-u0dvrnc05o] {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}

.clientlook-sidebar[b-u0dvrnc05o] {
    width: 200px;
    background-color: #f3f2f1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.compose-btn[b-u0dvrnc05o] {
    background-color: #0078d4;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 20px;
}

    .compose-btn:hover[b-u0dvrnc05o] {
        background-color: #106ebe;
    }

.folder-list[b-u0dvrnc05o] {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

    .folder-list li[b-u0dvrnc05o] {
        padding: 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
    }

        .folder-list li:hover[b-u0dvrnc05o] {
            background-color: #e1dfdd;
        }

        .folder-list li.active[b-u0dvrnc05o] {
            background-color: #c7e0f4;
        }

        .folder-list li i[b-u0dvrnc05o] {
            margin-right: 10px;
        }

.clientlook-content[b-u0dvrnc05o] {
    display: flex;
    flex-grow: 1;
}

.email-list[b-u0dvrnc05o] {
    width: 350px;
    border-right: 1px solid #e1e1e1;
    overflow-y: auto;
}

.email-item[b-u0dvrnc05o] {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #e1e1e1;
    cursor: pointer;
}

    .email-item:hover[b-u0dvrnc05o] {
        background-color: #f5f5f5;
    }

    .email-item.selected[b-u0dvrnc05o] {
        background-color: #c7e0f4;
    }

.email-item-avatar[b-u0dvrnc05o] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0078d4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
}

.email-item-details[b-u0dvrnc05o] {
    flex-grow: 1;
    overflow: hidden;
}

.email-item-sender[b-u0dvrnc05o] {
    font-weight: bold;
    margin-bottom: 5px;
}

.email-item-subject[b-u0dvrnc05o] {
    font-size: 14px;
    margin-bottom: 5px;
}

.email-item-preview[b-u0dvrnc05o] {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-item-date[b-u0dvrnc05o] {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.email-content[b-u0dvrnc05o] {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
}

.email-header[b-u0dvrnc05o] {
    margin-bottom: 20px;
}

    .email-header h2[b-u0dvrnc05o] {
        margin-bottom: 10px;
    }

.email-meta[b-u0dvrnc05o] {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 14px;
}

.email-body[b-u0dvrnc05o] {
    line-height: 1.6;
}

.compose-overlay[b-u0dvrnc05o] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.compose-window[b-u0dvrnc05o] {
    background-color: white;
    border-radius: 4px;
    width: 600px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.compose-header[b-u0dvrnc05o] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e1e1e1;
}

    .compose-header h3[b-u0dvrnc05o] {
        margin: 0;
    }

.close-btn[b-u0dvrnc05o] {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.compose-body[b-u0dvrnc05o] {
    padding: 15px;
}

    .compose-body input[b-u0dvrnc05o],
    .compose-body textarea[b-u0dvrnc05o] {
        width: 100%;
        margin-bottom: 10px;
        padding: 8px;
        border: 1px solid #e1e1e1;
        border-radius: 4px;
    }

    .compose-body textarea[b-u0dvrnc05o] {
        height: 200px;
        resize: vertical;
    }

.compose-footer[b-u0dvrnc05o] {
    padding: 15px;
    border-top: 1px solid #e1e1e1;
    display: flex;
    justify-content: flex-end;
}

.send-btn[b-u0dvrnc05o], .discard-btn[b-u0dvrnc05o] {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
}

.send-btn[b-u0dvrnc05o] {
    background-color: #0078d4;
    color: white;
}

    .send-btn:hover[b-u0dvrnc05o] {
        background-color: #106ebe;
    }

.discard-btn[b-u0dvrnc05o] {
    background-color: #f3f2f1;
    color: #333;
}

    .discard-btn:hover[b-u0dvrnc05o] {
        background-color: #e1dfdd;
    }
.folder-list li[b-u0dvrnc05o] {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .folder-list li i[b-u0dvrnc05o] {
        margin-right: 10px;
    }

.email-count[b-u0dvrnc05o] {
    font-size: 12px;
    color: #666;
    background-color: #e1e1e1;
    border-radius: 10px;
    padding: 2px 6px;
}
.modal-overlay[b-u0dvrnc05o] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content[b-u0dvrnc05o] {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-btn[b-u0dvrnc05o] {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}
/* _content/Entity8/Components/Pages/Dashboard/Dashboard.razor.rz.scp.css */
/* User Dropdowns and Search Bar Container */
.user-controls[b-si7jau98hf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Search Box */
.search-box[b-si7jau98hf] {
    position: relative;
    flex-grow: 1;
    max-width: 300px;
}

    .search-box input[b-si7jau98hf] {
        width: 100%;
        padding: 10px 15px 10px 40px;
        border: 1px solid #ccc;
        border-radius: 25px;
        font-size: 14px;
        outline: none;
    }

    .search-box[b-si7jau98hf]::before {
        content: "\1F50D"; /* Unicode for magnifying glass */
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #888;
    }

/* User Dropdowns */
.user-dropdowns[b-si7jau98hf] {
    display: flex;
    gap: 20px;
}

.dropdown[b-si7jau98hf] {
    display: flex;
    flex-direction: column;
}

    .dropdown label[b-si7jau98hf] {
        margin-bottom: 5px;
        font-weight: bold;
        color: #333;
    }

    .dropdown select[b-si7jau98hf] {
        padding: 8px;
        border-radius: 5px;
        border: 1px solid #ccc;
        background-color: white;
        font-size: 14px;
        min-width: 200px;
    }

/* Dashboard Container */
.dashboard[b-si7jau98hf] {
    font-family: Arial, sans-serif;
    background-color: #f0e6ff;
    padding: 20px;
    border-radius: 10px;
}

/* Summary Boxes */
.summary-boxes[b-si7jau98hf] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.summary-box[b-si7jau98hf] {
    padding: 15px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.6);
}

    .summary-box:hover[b-si7jau98hf] {
        transform: scale(1.05) translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 12px 40px rgba(0, 0, 0, 0.7);
    }

    .summary-box.selected[b-si7jau98hf] {
        transform: scale(1.3) translateY(-10px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 18px 60px rgba(0, 0, 0, 0.8);
        z-index: 1;
    }

    .summary-box h3[b-si7jau98hf] {
        margin: 0 0 10px 0;
        font-size: 18px;
        font-weight: bold;
    }

    .summary-box p[b-si7jau98hf] {
        margin: 5px 0;
        font-size: 14px;
    }

/* Progress Bar */
.progress-bar[b-si7jau98hf] {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    height: 10px;
    margin-top: 10px;
    overflow: hidden;
}

.progress[b-si7jau98hf] {
    background-color: white;
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s ease-in-out;
}

/* Query Box */
.query-box[b-si7jau98hf] {
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

    .query-box h2[b-si7jau98hf] {
        margin: 0 0 15px 0;
        font-size: 24px;
        font-weight: bold;
    }

    .query-box p[b-si7jau98hf] {
        margin: 10px 0;
        font-size: 16px;
    }

    .query-box strong[b-si7jau98hf] {
        font-weight: bold;
    }
/* _content/Entity8/Components/Pages/OpportunityOverview/OpportunityOverview.razor.rz.scp.css */
:root[b-6xax5x9suf] {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --background-color: #f0f4f8;
    --card-background: #ffffff;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Policy Colors */
    --mortgage-color: #27ae60;
    --life-insurance-color: #e74c3c;
    --income-protection-color: #f39c12;
    --health-insurance-color: #8e44ad;
    /* Staff Colors */
    --help-desk-color: #3498db;
    --opportunity-manager-color: #e67e22;
    --mortgage-admin-color: #16a085;
    --protection-admin-color: #9b59b6;
    /* Notes Panel */
    --notes-panel-width: 300px;
    --notes-panel-background: #f8f9fa;
    --notes-panel-border: #dee2e6;
}

body[b-6xax5x9suf] {
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
}

.opportunity-overview[b-6xax5x9suf] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto 1fr auto;
    gap: 20px;
    padding: 20px;
    height: 100vh;
    box-sizing: border-box;
    color: var(--text-color);
    transition: margin-right 0.3s ease-in-out;
}

.page-title[b-6xax5x9suf] {
    grid-column: 1 / -1;
    color: var(--secondary-color);
    text-align: center;
    margin: 0;
    font-size: 2em;
    font-weight: 300;
}

.opportunity-number[b-6xax5x9suf] {
    grid-column: 1 / -1;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
}

.client-overview[b-6xax5x9suf] {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.policy-opportunity[b-6xax5x9suf] {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

.staff-panel[b-6xax5x9suf] {
    grid-column: 1 / -1;
    grid-row: 4 / 5;
}

.panel[b-6xax5x9suf] {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    .panel h2[b-6xax5x9suf] {
        color: var(--primary-color);
        margin: 0 0 15px 0;
        font-size: 1.4em;
        font-weight: 500;
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 5px;
    }

.overview-summary[b-6xax5x9suf], .policy-summary[b-6xax5x9suf] {
    background-color: #e8f4f8;
    border-radius: var(--border-radius);
    padding: 10px;
    margin-bottom: 15px;
    font-size: 0.9em;
}

    .overview-summary p[b-6xax5x9suf], .policy-summary p[b-6xax5x9suf] {
        margin: 5px 0;
        display: flex;
        justify-content: space-between;
    }

    .overview-summary strong[b-6xax5x9suf], .policy-summary strong[b-6xax5x9suf] {
        color: var(--secondary-color);
        font-weight: 600;
    }

.scrollable-content[b-6xax5x9suf] {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.client-card[b-6xax5x9suf] {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

    .client-card:hover[b-6xax5x9suf] {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .client-card h3[b-6xax5x9suf] {
        color: var(--primary-color);
        margin: 0 0 5px 0;
        font-size: 1.1em;
        font-weight: 500;
    }

    .client-card p[b-6xax5x9suf] {
        margin: 3px 0;
        font-size: 0.9em;
        display: flex;
        justify-content: space-between;
    }

.policy-legend[b-6xax5x9suf] {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
    flex-wrap: wrap;
    background-color: #e8f4f8;
    border-radius: var(--border-radius);
    padding: 10px;
}

.policy-legend-item[b-6xax5x9suf] {
    display: flex;
    align-items: center;
    margin: 5px 10px;
}

.policy-legend-color[b-6xax5x9suf] {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-right: 5px;
}

.policy-card[b-6xax5x9suf] {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border-left: 10px solid;
}

    .policy-card:hover[b-6xax5x9suf] {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .policy-card h3[b-6xax5x9suf] {
        color: var(--secondary-color);
        margin: 0 0 5px 0;
        font-size: 1.1em;
        font-weight: 700;
    }

    .policy-card p[b-6xax5x9suf] {
        margin: 3px 0;
        font-size: 0.9em;
        display: flex;
        justify-content: space-between;
    }

.policy-details[b-6xax5x9suf] {
    margin-top: 5px;
    border-top: 1px solid #e0e0e0;
    padding-top: 5px;
}

.policy-card.Mortgage[b-6xax5x9suf] {
    border-left-color: var(--mortgage-color);
    background-color: rgba(39, 174, 96, 0.1);
}

.policy-card.Life[b-6xax5x9suf],
.policy-card.LifeAndCriticalIllness[b-6xax5x9suf] {
    border-left-color: var(--life-insurance-color);
    background-color: rgba(231, 76, 60, 0.1);
}

.policy-card.IncomeProtection[b-6xax5x9suf] {
    border-left-color: var(--income-protection-color);
    background-color: rgba(243, 156, 18, 0.1);
}

.policy-card.HealthInsurance[b-6xax5x9suf] {
    border-left-color: var(--health-insurance-color);
    background-color: rgba(142, 68, 173, 0.1);
}

.policy-card.Mortgage h3[b-6xax5x9suf] {
    color: var(--mortgage-color);
}

.policy-card.Life h3[b-6xax5x9suf],
.policy-card.LifeAndCriticalIllness h3[b-6xax5x9suf] {
    color: var(--life-insurance-color);
}

.policy-card.IncomeProtection h3[b-6xax5x9suf] {
    color: var(--income-protection-color);
}

.policy-card.HealthInsurance h3[b-6xax5x9suf] {
    color: var(--health-insurance-color);
}

.policy-legend-color.Mortgage[b-6xax5x9suf] {
    background-color: var(--mortgage-color);
}

.policy-legend-color.Life[b-6xax5x9suf],
.policy-legend-color.LifeAndCriticalIllness[b-6xax5x9suf] {
    background-color: var(--life-insurance-color);
}

.policy-legend-color.IncomeProtection[b-6xax5x9suf] {
    background-color: var(--income-protection-color);
}

.policy-legend-color.HealthInsurance[b-6xax5x9suf] {
    background-color: var(--health-insurance-color);
}

.staff-cards[b-6xax5x9suf] {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.staff-card[b-6xax5x9suf] {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border-top: 5px solid var(--primary-color);
    flex: 1;
    min-width: 200px;
}

    .staff-card:hover[b-6xax5x9suf] {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .staff-card h3[b-6xax5x9suf] {
        color: var(--secondary-color);
        margin: 0 0 10px 0;
        font-size: 1.2em;
        font-weight: 600;
    }

    .staff-card p[b-6xax5x9suf] {
        margin: 5px 0;
        font-size: 0.95em;
        display: flex;
        justify-content: space-between;
    }

    .staff-card.HelpDesk[b-6xax5x9suf] {
        border-top-color: var(--help-desk-color);
        background-color: rgba(52, 152, 219, 0.1);
    }

    .staff-card.OpportunityManager[b-6xax5x9suf] {
        border-top-color: var(--opportunity-manager-color);
        background-color: rgba(230, 126, 34, 0.1);
    }

    .staff-card.MortgageAdmin[b-6xax5x9suf] {
        border-top-color: var(--mortgage-admin-color);
        background-color: rgba(22, 160, 133, 0.1);
    }

    .staff-card.ProtectionAdmin[b-6xax5x9suf] {
        border-top-color: var(--protection-admin-color);
        background-color: rgba(155, 89, 182, 0.1);
    }

    .staff-card.HelpDesk h3[b-6xax5x9suf] {
        color: var(--help-desk-color);
    }

    .staff-card.OpportunityManager h3[b-6xax5x9suf] {
        color: var(--opportunity-manager-color);
    }

    .staff-card.MortgageAdmin h3[b-6xax5x9suf] {
        color: var(--mortgage-admin-color);
    }

    .staff-card.ProtectionAdmin h3[b-6xax5x9suf] {
        color: var(--protection-admin-color);
    }

.loading[b-6xax5x9suf], .no-data[b-6xax5x9suf] {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.2em;
    color: #7f8c8d;
    margin-top: 50px;
}

.notes-panel[b-6xax5x9suf] {
    position: fixed;
    top: 0;
    right: calc(-1 * var(--notes-panel-width));
    width: var(--notes-panel-width);
    height: 100vh;
    background-color: var(--notes-panel-background);
    border-left: 1px solid var(--notes-panel-border);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

    .notes-panel.open[b-6xax5x9suf] {
        right: 0;
    }

.notes-toggle[b-6xax5x9suf] {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(100%) rotate(-90deg);
    transform-origin: left top;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 0 0 5px 5px;
    transition: right 0.3s ease-in-out;
}

.notes-panel.open .notes-toggle[b-6xax5x9suf] {
    right: var(--notes-panel-width);
}

.notes-content[b-6xax5x9suf] {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}

.note[b-6xax5x9suf] {
    background-color: white;
    border: 1px solid var(--notes-panel-border);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.note-header[b-6xax5x9suf] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: var(--secondary-color);
}

.note-user[b-6xax5x9suf] {
    font-weight: bold;
}

.note-date[b-6xax5x9suf] {
    font-style: italic;
}

.note-body[b-6xax5x9suf] {
    font-size: 0.95em;
    line-height: 1.4;
}

/* Scrollbar styling */
[b-6xax5x9suf]::-webkit-scrollbar {
    width: 6px;
}

[b-6xax5x9suf]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

[b-6xax5x9suf]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

    [b-6xax5x9suf]::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* Responsive adjustments */
@media (max-width: 1200px) {
    .opportunity-overview[b-6xax5x9suf] {
        grid-template-columns: 1fr;
    }

    .client-overview[b-6xax5x9suf], .policy-opportunity[b-6xax5x9suf] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .opportunity-overview[b-6xax5x9suf] {
        height: auto;
    }

    .staff-cards[b-6xax5x9suf] {
        flex-direction: column;
    }

    .staff-card[b-6xax5x9suf] {
        width: 100%;
    }

    .notes-panel[b-6xax5x9suf] {
        width: 100%;
        right: -100%;
    }

    .notes-toggle[b-6xax5x9suf] {
        left: -60px;
        padding: 5px 10px;
        font-size: 0.9em;
    }

    .notes-panel.open + .opportunity-overview[b-6xax5x9suf] {
        margin-right: 0;
    }
}

.opportunity-overview.panel-open[b-6xax5x9suf] {
    margin-right: var(--notes-panel-width);
}
