﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');


*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    /*font-family: Roboto, 'Open Sans' sans-serif;*/
    background-color: white;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #767373;
}

.text-smaller {
    color: #98A2B3;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
}

.text.small {
    color: #98A2B3;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
}

.text-gray {
    color: #98A2B3;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.navigation{
    display: flex;
    flex-direction:row;
    align-items:center;
}

.pointer{
    cursor: pointer;
}

.pill
{
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    border-radius: 16px;
    letter-spacing: 0.3px;
    display: inline-block;
}

.pill-blue {
    border: solid 1px #175CD3;
    color: #175CD3;
    background: #EFF8FF;
}
.pill-green {
    border: solid 1px #027A48;
    color: #027A48;
    background: #ECFDF3;
}
.pill-purple {
    border: solid 1px #7f56d9;
    color: #7f56d9;
    background: #7f56d95e;
}
.pill-yellow {
    border: solid 1px #B54708;
    color: #B54708;
    background: #FFFAEB;
}
.pill-red {
    border: solid 1px #B42318;
    color: #B42318;
    background: #FEF3F2;
}

/* Participant grid status pills (from mockup) */
.pill-status-blue {
    background-color: #e3f2fd;
    color: #0066cc;
    border: none;
}
.pill-status-red {
    background-color: #ffebee;
    color: #d32f2f;
    border: none;
}
.pill-criteria-green {
    background-color: #d4edda;
    color: #28a745;
    border: none;
}
.pill-criteria-red {
    background-color: #f8d7da;
    color: #d32f2f;
    border: none;
}

/* ── Participants Page Styles ── */

.participants-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #e5e5e7;
}

.participants-count {
    font-size: 14px;
    color: #1d1d1f;
    font-weight: 500;
    white-space: nowrap;
}

.participants-count-number {
    color: #7c5cdb;
    font-weight: 700;
}

.participants-toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.participants-search-box {
    width: 400px;
    flex-shrink: 1;
    min-width: 200px;
}

.participants-search-box .rz-textbox {
    width: 100%;
    padding: 10px 16px;
    border: 1.5px solid #d2d2d7;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

.participants-search-box .rz-textbox:focus {
    border-color: #7c5cdb;
    box-shadow: 0 0 0 3px rgba(124, 92, 219, 0.1);
    outline: none;
}

.match-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 500;
    color: #6e6e73;
    text-transform: uppercase;
    white-space: nowrap;
}

.toolbar-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: none;
    background: none;
    color: #6e6e73;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
}

.toolbar-icon-btn:hover {
    color: #7c5cdb;
}

.toolbar-icon-btn.active {
    color: #7c5cdb;
}

/* Filter modal radio groups */
.filter-section {
    margin-bottom: 20px;
}

.filter-section-label {
    font-size: 14px;
    font-weight: 700;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: block;
}

.filter-radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.filter-radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #1d1d1f;
    font-weight: 400;
    transition: background-color 0.2s;
}

.filter-radio-group label:hover {
    background-color: #f5f5f7;
}

.filter-radio-group input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    accent-color: #7c5cdb;
}

.filter-radio-group input[type="radio"]:checked {
    border-color: #7c5cdb;
    background-color: #7c5cdb;
}

.filter-radio-group input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

.filter-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    width: 100%;
    border-top: 1px solid #e5e5e7;
}

.filter-footer .btn-reset {
    flex: 1;
    padding: 12px 20px;
    border: 1.5px solid #d2d2d7;
    border-radius: 8px;
    background: #fff;
    color: #1d1d1f;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-footer .btn-reset:hover {
    background-color: #f5f5f7;
    border-color: #86868b;
}

.filter-footer .btn-apply {
    flex: 2;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #7c5cdb 0%, #8b6ce8 100%);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-footer .btn-apply:hover {
    background: linear-gradient(135deg, #6d4dcb 0%, #7c5cdb 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 92, 219, 0.3);
}

/* Selected plan pills in filter */
.selected-plan-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #f3f0ff;
    border: 1px solid #ddd6fe;
    border-radius: 16px;
    color: #7c5cdb;
    font-size: 13px;
    font-weight: 500;
}

.selected-plan-pill .remove-btn {
    cursor: pointer;
    font-size: 11px;
    opacity: 0.7;
}

.selected-plan-pill .remove-btn:hover {
    opacity: 1;
}

/* Filter purple checkboxes */
.filter-section .form-check-input:checked {
    background-color: #7c5cdb;
    border-color: #7c5cdb;
}

.filter-section .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(124, 92, 219, 0.25);
    border-color: #7c5cdb;
}

/* Filter plan search input */
.filter-search-input {
    position: relative;
    margin-bottom: 8px;
}

.filter-search-input .filter-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
}

.filter-search-input .filter-search-field {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1.5px solid #d2d2d7;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    color: #1d1d1f;
    transition: all 0.2s;
}

.filter-search-input .filter-search-field:focus {
    border-color: #7c5cdb;
    box-shadow: 0 0 0 3px rgba(124, 92, 219, 0.1);
}

.filter-search-input .filter-search-field::placeholder {
    color: #9ca3af;
}

/* Contact hover popup */
.contact-popup {
    z-index: 9999;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    min-width: 240px;
    max-width: 360px;
    font-size: 14px;
    color: #374151;
}

.contact-count-link {
    color: #7c5cdb;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    margin-left: 4px;
}

.contact-count-link:hover {
    text-decoration: underline;
}

/* Actions dropdown for plan context */
.actions-dropdown {
    position: relative;
    display: inline-block;
}

.actions-dropdown .actions-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #7c5cdb 0%, #8b6ce8 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(124, 92, 219, 0.3);
    transition: all 0.3s ease;
}

.actions-dropdown .actions-btn:hover {
    background: linear-gradient(135deg, #6d4dcb 0%, #7c5cdb 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 92, 219, 0.4);
}

.actions-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1049;
}

.actions-dropdown .actions-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1050;
    overflow: hidden;
}

.actions-dropdown .actions-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: background-color 0.2s;
}

.actions-dropdown .actions-menu-item:hover {
    background-color: #f5f5f7;
}

.actions-dropdown .actions-menu-item i {
    width: 18px;
    color: #7c5cdb;
}

/* Name cell stacked layout */
.participant-name-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.participant-name-cell .name {
    font-weight: 600;
    color: #424245;
}

.participant-name-cell .ssn {
    font-size: 12px;
    color: #86868b;
    margin-top: 1px;
}

/* Notice Request action link in grid */
.action-link {
    color: #7c5cdb;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

.action-link:hover {
    background-color: #f3f0ff;
    text-decoration: none;
}

/* Add Participant form styles (matching mockup) */
.add-participant-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #6e6e73;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.add-participant-label .required-asterisk {
    color: #dc3545;
}

.add-participant-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d2d2d7;
    border-radius: 8px;
    font-size: 14px;
    background-color: white;
    transition: all 0.2s;
}

.add-participant-input:focus {
    outline: none;
    border-color: #7c5cdb;
    box-shadow: 0 0 0 3px rgba(124, 92, 219, 0.1);
}

.add-participant-input::placeholder {
    color: #86868b;
}

/* Add Participant footer buttons */
.add-participant-footer {
    display: flex;
    gap: 12px;
    padding: 20px 0 0;
    border-top: 1px solid #e5e5e7;
    margin-top: 16px;
}

.add-participant-footer .btn-cancel {
    flex: 1;
    padding: 12px 20px;
    border: 1.5px solid #d2d2d7;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background-color: white;
    color: #1d1d1f;
    transition: all 0.2s;
}

.add-participant-footer .btn-cancel:hover {
    background-color: #f5f5f7;
    border-color: #86868b;
}

.add-participant-footer .btn-save {
    flex: 2;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #7c5cdb 0%, #8b6ce8 100%);
    color: white;
    transition: all 0.3s ease;
}

.add-participant-footer .btn-save:hover:not(:disabled) {
    background: linear-gradient(135deg, #6d4dcb 0%, #7c5cdb 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 92, 219, 0.3);
}

.add-participant-footer .btn-save:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Filter active indicator dot */
.filter-active-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #7c5cdb;
}

/* Toggle switch for IS MOBILE in Add form */
.toggle-switch-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Participant Status section in Add Participant form */
.participant-status-section {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-top: 4px;
}

.status-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.status-toggle-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.status-toggle-row:first-of-type {
    padding-top: 0;
}

.status-toggle-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
}

.status-toggle-description {
    font-size: 12px;
    color: #86868b;
}

.kpi-value {
    color: #F79009;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
}

.kpi-title {
    color: #101828;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
}

.header-house {
    height: 28px;
    width: 28px;
    font-size: 16px;
}

.header-arrow {
    /*padding: 4px;
    height: 16px;
    width:16px;
        */
    font-size: 12px;
    padding: 4px 2px 4px 2px;
}

.header-text {
    font-size: 14px;
    padding: 4px 4px 4px 4px;
}

.information-header {
    font-family:'Inter, '
    font-size:18px;
    color: black;
}

.information-text{
    font-size:14px;    
}

.information-circle {
    background: #F2F4F7;
    border-radius: 28px;
    width: 56px;
    height: 56px;
    line-height: 56px;
}


.pn-section {
    background-color: white;
    padding: 8px;
}

.pn-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-row {
    border-top: 1px solid #dee2e6;
    margin-top: 20px;
    padding-top: 10px;
}

    .btn-row .btn {
        margin-right: 10px;
        min-width: 100px
    }

.content {
    padding-top: 1.1rem;
    height: calc(100vh - 75px);
    width: calc(100vw - 260px);
    overflow-y: auto;
    padding-left: 8px;
    overflow-x: auto;
}

.content.menuminimized {
    width: calc(100vw - 60px) !important;
}


.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.nostylebutton {
    background-color: transparent;
    border: none;
}

    .nostylebutton:hover {
        border: none;
    }

.nostylelink {
    text-decoration: none;
    color: #767373;
}

.required {
    border-left: 3px solid maroon !important;
}

.invalid {
    outline: 1px solid maroon;
}

.validation-message {
    padding-top:2px;
    color: maroon;
    font-size:small;
}


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiI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yNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


.lds-ring {
    display: inline-block;
    position: relative;
    margin-left: -30%;
    margin-top:-20%;
}

    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        min-width: 30px;
        min-height: 30px;
        width: 80%;
        height:80%;
        border: 4px solid #fff;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #fff transparent transparent transparent;
    }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

button.btn.btn-secondary {
    line-height: 20px;
    min-width: 100px !important;
}

button.btn.btn-danger {
    line-height: 20px;
    min-width: 100px !important;
}

button.btn-primary {
    line-height: 20px;
    min-width: 100px !important;
 
}
/*.pn-label {
    min-height: 40px;
}*/

.btn-primary:focus {
    padding: 6px 20px;
}
.step-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 125px;
}

.step {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.line {
    flex: 1;
    height: 2px;
    background-color: #ccc;
}

.complete {
    background-color: green;
    color: white;
}

.running {
    background-color: blue;
    color: white;
}

.error {
    background-color: maroon;
    color: white;
}

.page {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    position: relative;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.collapse-toggle {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    border-top: 1px solid #eee;
}

.collapse-toggle span {
    font-size: 18px;
    color: #333;
}

.badge-census {
    background-color: #ede9fe;
    color: #5b21b6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 4px;
    font-weight: 500;
}

.badge-change-requested {
    background-color: #fef3c7;
    color: #92400e;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 4px;
    font-weight: 500;
}

