/* Minimal Custom Styles - Most styling is handled by Tailwind CSS */

/* Sidebar Mobile Toggle */
#sidebar.active {
    transform: translateX(0) !important;
}

/* Calendar Grid Styles - Month View */
.calendar-grid {
    display: block;
    background-color: #e5e7eb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.calendar-grid.month-view {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
}

.calendar-header-cell {
    background-color: white;
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
}

.calendar-cell {
    background-color: white;
    padding: 0.5rem;
    min-height: 120px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.calendar-cell:hover:not(.past-date) {
    background-color: #f9fafb;
}

.calendar-cell.past-date {
    background-color: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.6;
}

.calendar-cell.other-month {
    opacity: 0.5;
}

.calendar-cell-date {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 6px;
}

.calendar-cell.today .calendar-cell-date {
    background-color: #667eea;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-event {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.calendar-event:hover {
    transform: translateX(2px);
}

.event-blue {
    background-color: #dbeafe;
    color: #1e40af;
}

.event-pink {
    background-color: #fce7f3;
    color: #9f1239;
}

.event-green {
    background-color: #d1fae5;
    color: #065f46;
}

.event-orange {
    background-color: #fed7aa;
    color: #92400e;
}

.event-purple {
    background-color: #e9d5ff;
    color: #6b21a8;
}

.event-yellow {
    background-color: #fef3c7;
    color: #92400e;
}

/* Event Category Colors */
.event-meeting {
    background-color: #dbeafe;
    color: #1e40af;
}

.event-call {
    background-color: #d1fae5;
    color: #065f46;
}

.event-follow_up {
    background-color: #fef3c7;
    color: #92400e;
}

.event-other {
    background-color: #e5e7eb;
    color: #374151;
}

.event-red {
    background-color: #fee2e2;
    color: #991b1b;
}

.event-gray {
    background-color: #e5e7eb;
    color: #374151;
}

.event-more {
    font-size: 11px;
    color: #6b7280;
    cursor: pointer;
    margin-top: 4px;
    font-weight: 500;
}

.event-more:hover {
    color: #667eea;
}

/* Week View Grid */
.week-view-grid {
    display: grid;
    gap: 0;
    background-color: white;
    width: 100%;
}

.week-view-grid.week-layout {
    grid-template-columns: 80px repeat(7, 1fr);
}

.week-view-grid.day-layout {
    grid-template-columns: 80px 1fr;
}

.time-slot {
    padding: 0.75rem;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.day-column {
    border-right: 1px solid #e5e7eb;
}

.day-column:last-child {
    border-right: none;
}

.hour-slot {
    min-height: 60px;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    position: relative;
    cursor: pointer;
    background-color: white;
    transition: background-color 0.15s ease;
}

.hour-slot:hover:not(.past-slot) {
    background-color: #f9fafb;
}

.hour-slot.past-slot {
    background-color: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Week/Day View Events */
.week-event {
    position: absolute;
    left: 2px;
    right: 2px;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: all 0.15s ease;
    border-left: 3px solid currentColor;
}

.week-event:hover {
    transform: translateX(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Modal Styles */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 400;
    animation: fadeIn 0.2s ease;
}

.modal-backdrop.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.875rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.2s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #1a1a1a;
}

.modal-body {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a1a1a;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.modal-footer .flex-1 {
    flex: 1;
}

.modal-footer .flex {
    display: flex;
    align-items: center;
}

.modal-footer .gap-2 {
    gap: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    min-height: 40px;
    background-color: #ffffff;
    color: #414651;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    border: 1px solid #D5D7DA;
    box-shadow: 0px 1px 2px rgba(10, 13, 18, 0.05), inset 0px -1px 0px rgba(10, 13, 18, 0.05);
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;

    
}

.btn:hover {
    background-color: #f5f8fa;
}

.btn img,
.btn svg {
    width: 20px;
    height: 20px;
}

.btn--icon {
    gap: 10px;
}

.btn--icon-only {
    padding: 0 12px;
}

.btn--sm {
    min-height: 36px;
    padding: 0 12px;
}

.btn--full {
    width: 100%;
}

.btn--square {
    width: 40px;
    height: 40px;
    padding: 0;
}

.btn--accent {
    background-color: #667eea;
    border-color: #667eea;
    color: #ffffff;
    box-shadow: none;
}

.btn--accent:hover {
    background-color: #5568d3;
}

.btn--gray {
    background-color: #f5f8fa;
    border-color: #cacaca;
    color: #252525;
    box-shadow: none;
}

.btn--ghost {
    background-color: transparent;
    box-shadow: none;
}

.btn.is-active {
    background-color: #ffffff;
    color: #252525;
}

.btn-group {
    display: flex;
    border: 1px solid #d5d7da;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0px 0px 0px 1px rgba(10, 13, 18, 0.18), inset 0px -2px 0px 0px rgba(10, 13, 18, 0.05);
    background-color: #f5f8fa;
}

.btn-group .btn {
    border: 0;
    border-right: 1px solid #cacaca;
    border-radius: 0;
    box-shadow: none;
    background-color: #f5f8fa;
    color: #252525;
    min-height: 40px;
}

.btn-group .btn:last-child {
    border-right: 0;
}

.btn-group .btn.btn--strong-divider {
    border-right-color: #5e6676;
}

.btn-group .btn.is-active {
    background-color: #ffffff;
}

.btn-group .btn:hover {
    background-color: #eaeff3;
}

.page-title {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.52px;
    color: #000000;
    line-height: 1.2;
}

.page-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #717680;
    line-height: 20px;
}

.table-caption {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #535862;
    line-height: 18px;
}

.table-heading {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #535862;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pagination-divider {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #535862;
}

.pagination-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #535862;
}

.prospect-name {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #181d27;
    line-height: 20px;
}

.prospect-email {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #535862;
    line-height: 18px;
}

.prospect-phone,
.prospect-detail {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #181d27;
    line-height: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 9999px;
    border: 1px solid #e9eaeb;
    background-color: #fafafa;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #414651;
    line-height: 18px;
    text-align: center;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    color: #535862;
}

.tag--warning {
    background-color: #fffaeb;
    border-color: #fef0c7;
}

.tag__icon {
    width: 14px;
    height: 14px;
}

.status-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    background-color: #e5e7eb;
    color: #181d27;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.status-button img {
    width: 16px;
    height: 16px;
}

.status-button--warm {
    background-color: #eddc87;
    border:1px solid #caba6e;
}

.status-button--hot {
    background-color: #eeaa59;
    border: 1px solid #d2944b;
}

.status-button--qualified {
    background-color: #95c3e7;
    border:1px solid #739ab9;
}

.status-button--prospect {
    background-color: #c4dbf1;
    border:1px solid #a6bed4;
}

.status-button--hold {
    background-color: #9ca3af;
    border:1px solid #738a9f;
}

.status-button--client {
    background-color: #c0dcb1;
    border:1px solid #96b783;
}

.status-button--client-success {
    background-color: #93c57b;
    border:1px solid #7ab460;
}

.status-button--danger {
    background-color: #ce4e4e;
    color: #ffffff;
    border: 1px solid #9e3131;
}

.status-button--default {
    background-color: #e5e7eb;
    border: 1px solid #d2d2d2;
}

.nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Responsive Form Row */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .calendar-cell {
        min-height: 80px;
        padding: 0.25rem;
    }
    
    .calendar-event {
        font-size: 10px;
        padding: 2px 4px;
    }
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    min-height: 40px;
    border: 1px solid #D5D7DA;
    box-shadow: 0px 1px 2px rgba(10, 13, 18, 0.05), inset 0px -1px 0px rgba(10, 13, 18, 0.05);
    border-radius: 8px;
    background-color: #ffffff;
    color: #414651;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: #f5f8fa;
}

.btn--icon {
    padding-inline: 16px;
}

.btn--icon-only {
    padding-inline: 12px;
}

.btn--sm {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
    line-height: 18px;
}

.btn--full {
    width: 100%;
}

.btn--square {
    min-width: 40px;
    padding-inline: 0;
}

.btn--accent {
    background-color: #667eea;
    border-color: #667eea;
    color: #ffffff;
}

.btn--accent:hover {
    background-color: #5568d3;
}

.btn--gray {
    border-color: #E1E3E6;
    background-color: #F8FAFC;
    color: #414651;
}

.btn--ghost {
    border-color: transparent;
    background-color: transparent;
    color: #414651;
}

.btn-group {
    display: inline-flex;
    border: 1px solid #D5D7DA;
    border-radius: 8px;
    overflow: hidden;
    background-color: #FFFFFF;
    box-shadow: 0px 4px 10px rgba(10, 13, 18, 0.05);
}

.btn-group .btn {
    border-radius: 0;
    border-left: 1px solid #D5D7DA;
    box-shadow: none;
    min-height: 40px;
    font-weight: 600;
}

.btn-group .btn:first-child {
    border-left: none;
}

.btn-group .btn:hover {
    background-color: #F5F8FA;
}

.btn-group .btn.is-active {
    background-color: #F0F2F5;
    color: #252B37;
}

.btn--strong-divider {
    border-right: 1px solid rgba(213, 215, 218, 0.6);
}

.is-active {
    background-color: #F0F2F5;
    color: #252B37;
}

.page-title {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.52px;
    color: #000000;
    line-height: 1.2;
}

.page-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #717680;
    line-height: 20px;
}

.table-caption {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #717680;
    line-height: 18px;
}

.table-heading {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #717680;
}

.prospect-name {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #252B37;
}

.prospect-email {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #717680;
}

.prospect-phone {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #414651;
}

.prospect-phone-link {
    color: #0091AE;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.prospect-phone-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Prospect Name Link */
.prospect-name-link {
    color: #181d27;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.prospect-name-link:hover {
    color: #0091AE;
    text-decoration: underline;
}

/* Prospect Email Link */
.prospect-email-link {
    color: #535862;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

.prospect-email-link:hover {
    color: #0091AE;
    text-decoration: underline;
}

.prospect-detail {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #414651;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
}

.tag--warning {
    background-color: #FDF4E7;
    color: #B56F28;
    border: 1px solid rgba(181, 111, 40, 0.2);
}

.tag__icon {
    width: 16px;
    height: 16px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 6px 12px;
    background-color: #F0F2F5;
    color: #414651;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    border-radius: 999px;
}


.pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    padding: 12px 24px;
    min-height: 68px;
    border: 1px solid #e9eaeb;
    border-radius: 12px;
    background-color: #ffffff;
}

.pagination-meta {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #414651;
}

.pagination-meta__separator {
    font-weight: 500;
    color: #717680;
}

.pagination-meta__text {
    font-weight: 500;
    color: #414651;
}

.pagination-per-page {
    position: relative;
}

.pagination-per-page__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    min-height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(213, 215, 218, 1);
    background-color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #414651;
    box-shadow: inset 0px 0px 0px 1px rgba(10, 13, 18, 0.08), inset 0px -2px 0px rgba(10, 13, 18, 0.05);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pagination-per-page__button:hover {
    background-color: #f5f8fa;
}

.pagination-per-page__icon {
    width: 20px;
    height: 20px;
}

.pagination-per-page__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 168px;
    padding: 8px 0;
    background-color: #ffffff;
    border: 1px solid rgba(213, 215, 218, 1);
    border-radius: 8px;
    box-shadow: 0px 16px 32px rgba(15, 23, 42, 0.12);
    z-index: 40;
}

.pagination-per-page__option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #414651;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination-per-page__option:hover {
    background-color: #f5f8fa;
}

.pagination-per-page__option.is-active {
    background-color: #fafafa;
    color: #252b37;
    font-weight: 600;
}

.pagination-button-group {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #d5d7da;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.pagination-nav,
.pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 40px;
    min-height: 40px;
    padding: 0 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #717680;
    background-color: #ffffff;
    border-left: 1px solid #d5d7da;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.pagination-nav:first-child,
.pagination-page:first-child {
    border-left: none;
}

.pagination-nav:hover,
.pagination-page:hover {
    background-color: #f5f8fa;
    color: #252b37;
}

.pagination-nav.is-disabled,
.pagination-nav.is-disabled:hover {
    color: #a4a7ae;
    background-color: #ffffff;
    cursor: not-allowed;
}

.pagination-nav__icon {
    width: 20px;
    height: 20px;
}

.pagination-pages {
    display: inline-flex;
    align-items: stretch;
}

.pagination-page {
    padding: 0;
}

.pagination-page--active {
    background-color: #f9fafb;
    color: #252b37;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #717680;
    border-left: 1px solid #d5d7da;
}

@media (max-width: 768px) {
    .pagination-container {
        padding: 16px;
    }

    .pagination-button-group {
        width: 100%;
    }

    .pagination-nav {
        flex: 1 1 auto;
    }

    .pagination-pages {
        flex: 2 1 auto;
        overflow-x: auto;
    }
}

/* Row contact recency states */
.last-contacted-2-weeks-ago {
    background-color: rgba(255, 243, 205, 0.35);
}

.last-contact-month-ago {
    background-color: #FEF2F2;
}

.last-contacted-90-days-ago {
    background-color: #f8e2e2;
}

.prospect-row.last-contacted-2-weeks-ago:hover {
    background-color: rgba(255, 243, 205, 0.65);
}

.prospect-row.last-contact-month-ago:hover {
    background-color: rgba(255, 226, 210, 0.65);
}

.prospect-row.last-contacted-90-days-ago:hover {
    background-color: rgba(255, 214, 214, 0.65);
}

.last-contact-label {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    color: #B54708;
    background-color: #FFF7ED;
    border: 1px solid rgba(245, 158, 11, 0.15);
}
.last-contact-month-ago .last-contact-label{
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    color:#991B1B;
}
.last-contacted-2-weeks-ago .last-contact-label{
    background: #FDF9C9;
    border: 1px solid #F8E164;
    color:#7E501F;
}
.last-contacted-90-days-ago .last-contact-label{
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    color:#991B1B;
}

.last-contact-label span {
    flex: 1;
}

.close-na-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    margin-left: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: currentColor;
    opacity: 0.6;
    transition: all 0.2s ease;
    border-radius: 3px;
    flex-shrink: 0;
}

.close-na-btn:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
}

.close-na-btn svg {
    width: 14px;
    height: 14px;
    display: block;
}

/* Expandable client rows */
.client-row {
    cursor: pointer;
    user-select: none;
}

.client-row:active {
    background-color: #f3f4f6;
}

.expand-collapse-btn {
    transition: transform 0.2s ease;
}

.expand-collapse-btn i {
    transition: transform 0.2s ease;
}

.deal-row {
    background-color: #f9fafb;
}

.deal-row:hover {
    background-color: #f3f4f6;
}

/* Checkbox Styles */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 1.5px solid #D0D5DD;
    border-radius: 6px;
    background-color: #FFFFFF;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

input[type="checkbox"]:hover {
    border-color: #0091AE;
}

input[type="checkbox"]:checked {
    background-color: #0091AE;
    border-color: #0091AE;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

input[type="checkbox"]:indeterminate {
    background-color: #0091AE;
    border-color: #0091AE;
}

input[type="checkbox"]:indeterminate::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 8px;
    width: 12px;
    height: 2px;
    background-color: white;
}

input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 145, 174, 0.1);
}

/* Filter Overlay */
.filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.filter-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Filter Options Left Panel */
.filter-options-panel {
    position: fixed;
    right: 360px; /* Position to the left of filters panel */
    top: 0;
    bottom: 0;
    width: 320px;
    background: #FFFFFF;
    border-right: 1px solid #DBDBDB;
    border-left: 1px solid #DBDBDB;
    z-index: 101;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.filter-options-panel.show {
    transform: translateX(0);
}

.filter-options-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #E5E7EB;
}

.filter-options-panel__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: #1F2937;
    margin: 0;
}

.filter-options-panel__close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.filter-options-panel__close:hover {
    background-color: #F3F4F6;
}

.filter-options-panel__search {
    padding: 16px 20px;
    border-bottom: 1px solid #E5E7EB;
}

.filter-options-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #374151;
}

.filter-options-search-input:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-options-search-input::placeholder {
    color: #9CA3AF;
}

.filter-options-panel__content {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.filter-option-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.filter-option-item:hover {
    background-color: #F9FAFB;
}

.filter-option-item.selected {
    background-color: #EFF6FF;
}

.filter-option-item__text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #374151;
}

.filter-option-item.selected .filter-option-item__text {
    color: #2563EB;
    font-weight: 600;
}

.filter-option-item__check {
    margin-left: auto;
    width: 16px;
    height: 16px;
    display: none;
}

.filter-option-item.selected .filter-option-item__check {
    display: block;
}

/* Filters Panel */
.filters-panel {
    background: #F5F8FA;
    border-left: 1px solid #DBDBDB;
    width: 360px;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    overflow-y: auto;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.filters-panel.show {
    transform: translateX(0);
}

.filters-panel__header {
    padding: 17px 16px;
    border-bottom: 1px solid #D9D9D9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.filters-panel__title {
    font-family: 'Gilroy-SemiBold', sans-serif;
    font-size: 14px;
    line-height: 18px;
    color: #000000;
    margin: 0;
}

.btn-add-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #2563EB;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-add-filter:hover {
    background-color: #EFF6FF;
}

.add-filter-dropdown {
    position: absolute;
    top: 100%;
    right: 16px;
    background: white;
    border: 1px solid #D5D7DA;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 10;
    margin-top: 4px;
}

.add-filter-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    background: white;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: background-color 0.2s;
}

.add-filter-option:hover {
    background-color: #F9FAFB;
}

.add-filter-option:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.add-filter-option:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.add-filter-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #F3F4F6;
}

.filters-panel__content {
    padding: 0;
}

.filter-group {
    padding: 20px;
    border-bottom: 1px solid #D9D9D9;
}

.filter-group__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.filter-group__title-row {
    display: flex;
    align-items: center;
    gap: 7px;
    position: relative;
}

.filter-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #414651;
}

.filter-operator {
    position: relative;
    margin-bottom: 6px;
}

.filter-operator__btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.filter-operator__text {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #2563EB;
}

.filter-operator__icon {
    width: 12px;
    height: 12px;
}

.filter-operator__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #D5D7DA;
    border-radius: 4px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    z-index: 10;
    margin-top: 4px;
}

.filter-operator__option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    background: white;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #414651;
    cursor: pointer;
    transition: background-color 0.2s;
}

.filter-operator__option:hover {
    background-color: #F5F8FA;
}

.filter-remove-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.filter-remove-btn:hover {
    opacity: 1;
}

.filter-input-wrapper {
    position: relative;
}

.filter-input {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #D5D7DA;
    border-radius: 4px;
    padding: 8px 12px;
    padding-right: 36px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #717680;
}

.filter-input:focus {
    outline: none;
    border-color: #2563EB;
}

.filter-input__icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.filter-checkbox-item input[type="checkbox"] {
    flex-shrink: 0;
}

.filter-checkbox-item span {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #414651;
}

.filter-show-more {
    background: transparent;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #2563EB;
    cursor: pointer;
    padding: 0;
    text-align: left;
    margin-top: 10px;
}

.filter-show-more:hover {
    text-decoration: underline;
}

/* Filter Switch Toggle */
.filter-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin-top: 8px;
}

.filter-switch-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.filter-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #E5E7EB;
    transition: 0.3s;
    border-radius: 24px;
}

.filter-switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.filter-switch-input:checked + .filter-switch-slider {
    background-color: #2563EB;
}

.filter-switch-input:checked + .filter-switch-slider:before {
    transform: translateX(20px);
}

.filters-panel__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 21px;
    background: white;
    border-top: 1px solid #DBDBDB;
}

.btn-filter-reset {
    background: #FFFFFF;
    border: 1px solid #D5D7DA;
    border-radius: 8px;
    padding: 8px 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #414651;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: inset 0px 0px 0px 1px rgba(10, 13, 18, 0.18), inset 0px -2px 0px 0px rgba(10, 13, 18, 0.05);
}

.btn-filter-reset:hover {
    background: #F5F8FA;
}

.btn-filter-apply {
    background: #2563EB;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 8px 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 146px;
    box-shadow: inset 0px 0px 0px 1px rgba(10, 13, 18, 0.18), inset 0px -2px 0px 0px rgba(10, 13, 18, 0.05);
}

.btn-filter-apply:hover {
    background: #1d4ed8;
}

/* Table Header Container */
.table-header-container {
    position: relative;
}

/* Selection Bar */
.selection-bar {
    background: #F5F8FA;
    border-bottom: 1px solid #DFE3EB;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 28px;
    gap: 30px;
}

.selection-bar__count {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    color: #000000;
    margin: 0;
}

.selection-bar__actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.selection-bar__action {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    color: #0091AE;
    padding: 0;
    transition: opacity 0.2s ease;
}

.selection-bar__action:hover {
    opacity: 0.8;
}

.selection-bar__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.prospect-details-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.prospect-avatar {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #E5F5D5 0%, #C5E5A4 100%);
    color: #1F2933;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.prospect-details-name {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    color: #101828;
}

.prospect-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .prospect-details-layout {
        grid-template-columns: 1fr;
    }
}

.prospect-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.prospect-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.prospect-card {
    background-color: #ffffff;
    border: 1px solid #e9eaeb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0px 12px 24px rgba(15, 23, 42, 0.04);
}

.prospect-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.prospect-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #101828;
}

.prospect-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.prospect-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prospect-info-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #717680;
}

.prospect-info-value {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #252b37;
}

.prospect-note {
    background-color: #f9fafb;
    border: 1px dashed rgba(213, 215, 218, 0.9);
    border-radius: 12px;
    padding: 16px;
}

.prospect-note__title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.prospect-note__body {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #414651;
    line-height: 1.6;
}

.prospect-timeline {
    position: relative;
    margin: 0;
    padding: 0 0 0 24px;
    list-style: none;
}

.prospect-timeline::before {
    content: '';
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 8px;
    width: 2px;
    background: linear-gradient(180deg, #d5d7da 0%, rgba(213, 215, 218, 0.2) 100%);
}

.prospect-timeline__item {
    position: relative;
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.prospect-timeline__item:last-child {
    margin-bottom: 0;
}

.prospect-timeline__marker {
    position: absolute;
    top: 4px;
    left: -16px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #9fcc7a;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px rgba(159, 204, 122, 0.35);
}

.prospect-timeline__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.prospect-timeline__title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #101828;
}

.prospect-timeline__date {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #717680;
}

.prospect-timeline__description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #414651;
    line-height: 1.6;
}

.prospect-note-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prospect-note-list__item {
    padding: 16px;
    border-radius: 12px;
    background-color: #f5f8fa;
    border: 1px solid rgba(213, 215, 218, 0.6);
}

.prospect-note-list__content {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #252b37;
    margin-bottom: 8px;
}

.prospect-note-list__meta {
    display: flex;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #717680;
}

.prospect-meetings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.prospect-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 12px;
}

.prospect-meetings__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prospect-meetings__item {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(213, 215, 218, 0.6);
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.04);
}

.prospect-meetings__title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #252b37;
}

.prospect-meetings__date {
    display: block;
    margin-top: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #717680;
}

.prospect-meetings__description {
    display: block;
    margin-top: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #414651;
}

.prospect-team {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prospect-team__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(213, 215, 218, 0.5);
}

.prospect-team__item:last-child {
    border-bottom: none;
}

.prospect-team__contact {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #717680;
}

.prospect-documents {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prospect-documents__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(213, 215, 218, 0.5);
}

.prospect-documents__item:last-child {
    border-bottom: none;
}

.prospect-documents__name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #252b37;
}

.prospect-documents__meta {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #717680;
    margin-right: auto;
    margin-left: 12px;
}

.prospect-details {
    background-color: #f5f7fa;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.prospect-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.prospect-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #414651;
}

.prospect-back-btn__icon {
    width: 20px;
    height: 20px;
}

.prospect-stage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0px;
    background-color: #ffffff;
    border: 0px;
    border-radius: 0px;
    padding: 0;
    overflow: hidden;
}

.prospect-stage__item {
    position: relative;
    flex: 1 1 0;
    text-align: center;
    padding: 10px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #2d323a;
    background-color: #D1D5DB;
}

.prospect-stage__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 9px;
    right: -23px;
    transform: translateY(-50%) rotate(45deg);
    width: 46px;
    height: 16px;
    background-color: inherit;
    border-right: 1px solid inherit;
    border-top: 1px solid inherit;
    z-index: 1;
    background: #fff;
}
.prospect-stage__item:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 31px;
    right: -22px;
    transform: translateY(-50%) rotate(-45deg);
    width: 46px;
    height: 16px;
    background-color: inherit;
    border-right: 1px solid inherit;
    border-top: 1px solid inherit;
    z-index: 1;
    background: #fff;
}

.prospect-stage__item--complete {
}

.prospect-stage__item--complete:not(:last-child)::after {
}

.prospect-stage__item--active {
}

.prospect-stage__item--active:not(:last-child)::after {

}

.prospect-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.prospect-card--summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prospect-summary__name {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #101828;
}

.prospect-summary__status {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #717680;
}

.prospect-info-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.prospect-info-list__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.prospect-info-list__icon {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.prospect-info-list__label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #717680;
}

.prospect-info-list__value {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #252b37;
}

.prospect-summary__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background-color: #f0f2f5;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #414651;
}

.meta-chip__icon {
    width: 16px;
    height: 16px;
}

.prospect-card--actions {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.prospect-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.prospect-owner__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.prospect-card__divider {
    width: 100%;
    height: 1px;
    background-color: #e9eaeb;
}

.prospect-note-editor {
    border: 1px solid #d5d7da;
    border-radius: 12px;
    padding: 16px;
    background-color: #fafcff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.prospect-note-editor textarea {
    width: 100%;
    min-height: 120px;
    border: none;
    resize: vertical;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #252b37;
    background: transparent;
}

.prospect-note-editor textarea:focus {
    outline: none;
}

.prospect-note-editor__actions {
    display: flex;
    justify-content: flex-end;
}

.prospect-history__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.prospect-purchase__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.prospect-purchase__option {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid #d5d7da;
    border-radius: 12px;
    padding: 18px;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.prospect-purchase__option.is-active {
    border-color: #9fcc7a;
    box-shadow: 0px 12px 24px rgba(159, 204, 122, 0.18);
}

.prospect-purchase__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(180deg, #eef3ff 0%, #d7e2ff 100%);
}

.prospect-purchase__title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #101828;
}

.prospect-purchase__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #717680;
    margin-top: 4px;
}

.prospect-purchase__documents {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.prospect-purchase__documents span {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: #f0f2f5;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #414651;
}

.prospect-client-info__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.prospect-client-info__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.prospect-invoice__table {
    border: 1px solid #d5d7da;
    border-radius: 12px;
    overflow: hidden;
}

.prospect-invoice__header,
.prospect-invoice__row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 12px;
    padding: 12px 16px;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.prospect-invoice__header {
    background-color: #f5f8fa;
    font-weight: 600;
    color: #414651;
}

.prospect-invoice__row {
    border-top: 1px solid #e9eaeb;
    color: #252b37;
}

.prospect-invoice__summary {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.prospect-invoice__summary div {
    display: flex;
    justify-content: space-between;
}

.prospect-invoice__total {
    font-weight: 700;
    color: #101828;
}

.prospect-documents__list {
    list-style: disc;
    margin: 0 0 16px 20px;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #414651;
}

.prospect-documents__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prospect-performance__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.prospect-performance__value {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #101828;
}

.prospect-performance__table {
    border: 1px solid #d5d7da;
    border-radius: 12px;
    overflow: hidden;
}

.prospect-performance__header,
.prospect-performance__row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr;
    gap: 12px;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.prospect-performance__header {
    background-color: #f5f8fa;
    font-weight: 600;
    color: #414651;
}

.prospect-performance__row {
    border-top: 1px solid #e9eaeb;
    color: #252b37;
}

.prospect-empty {
    background-color: #ffffff;
    border: 1px solid #e9eaeb;
    border-radius: 12px;
    padding: 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.prospect-results__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prospect-results__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    background-color: #fdfbf3;
    border: 1px solid rgba(249, 214, 107, 0.35);
    border-radius: 12px;
    padding: 16px 20px;
}

.prospect-results__badge {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #92400e;
    text-transform: uppercase;
}

.prospect-results__title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #101828;
    margin: 0 0 6px;
}

.prospect-results__meta {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #717680;
}

.prospect-results__actions {
    display: flex;
    gap: 8px;
}

.prospect-history {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prospect-documents__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prospect-documents .btn {
    min-height: 34px;
    padding: 0 14px;
}

/* ========================================
   PROSPECT DETAILS - FIGMA EXACT MATCH
   ======================================== */

/* Personal Info Card */
.prospect-card--personal {
    background: #ffffff;
    border: 1px solid #e9eaeb;
    border-radius: 10px;
    padding: 30px;
}

.prospect-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.prospect-avatar-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.prospect-name {
    font-family: 'Gilroy-SemiBold', sans-serif;
    font-size: 17px;
    line-height: 17px;
    color: #1e293b;
    margin: 0;
}

.prospect-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prospect-info-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    position: relative;
}

.prospect-info-icon {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.prospect-info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.prospect-info-label {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: #64748b;
}

.prospect-info-value {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #1e293b;
}

.prospect-info-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    color: #42307d;
    text-decoration: none;
    margin-left: auto;
    white-space: nowrap;
}

/* Actions Card */
.prospect-card--actions {
    background: #ffffff;
    border: 1px solid #e9eaeb;
    border-radius: 10px;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.prospect-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 20px 20px 0;
}

.btn-action-card {
    height: 40px;
    background: #ffffff;
    border: 1px solid #dfe3eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    padding: 0 16px;
}

.btn-action-card:hover {
    border-color: #c4c4c4;
}

.btn-action-card svg {
    flex-shrink: 0;
}

.prospect-sales-rep-section {
    padding: 30px;
    background: #f8f9fa;
}

.prospect-sales-rep-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    margin: 0 0 20px;
}

.prospect-owner-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.prospect-owner-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prospect-owner-label {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #64748b;
}

.prospect-owner-value {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.btn-add-takeover {
    height: 36px;
    background: #ffffff;
    border: 1px solid #dfe3eb;
    border-radius: 6px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-takeover:hover {
    border-color: #c4c4c4;
}

.prospect-source-card {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prospect-source-card-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.prospect-source-card-label {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 12px;
    color: #64748b;
    display: block;
}

.prospect-source-card-value {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #1e293b;
    display: block;
}

/* Notes Card */
.prospect-notes-card {
    background: #ffffff;
    border: 1px solid #e9eaeb;
    border-radius: 10px;
    padding: 30px;
}

.prospect-card-header {
    margin-bottom: 20px;
}

.prospect-card-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 16px;
    color: #1e293b;
    margin: 0;
}

.prospect-notes-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.prospect-notes-textarea {
    width: 100%;
    height: 140px;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 13px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #1e293b;
    resize: none;
}

.prospect-notes-textarea::placeholder {
    color: #a1a1a1;
}

.btn--add-note {
    width: 150px;
    height: 40px;
    background: #000000;
    border-radius: 6px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #f9f9f9;
    border: none;
    cursor: pointer;
}

.prospect-notes-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.prospect-note-item {
    background: #ffffff;
    border: 1px solid #dfe3eb;
    border-radius: 5px;
    padding: 13px 17px;
    position: relative;
}

.prospect-note-item--pinned {
    background: #fef3c7;
    border: 1px solid #fcd34d;
}

.prospect-note-content {
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #535862;
    margin: 0 0 8px;
    letter-spacing: -0.32px;
}

.prospect-note-meta {
    font-family: 'Gilroy-SemiBold', sans-serif;
    font-size: 12px;
    line-height: 20px;
    color: #535862;
    margin: 0;
    letter-spacing: -0.24px;
}

.prospect-note-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
}

.prospect-note-action-btn {
    width: 16px;
    height: 16px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.prospect-note-action-btn img {
    width: 16px;
    height: 16px;
}

.btn--show-more {
    width: 154.55px;
    height: 36px;
    background: #ffffff;
    border: 1px solid #d4d4d8;
    border-radius: 6px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #52525b;
    cursor: pointer;
    margin: 0 auto;
    display: block;
}

/* Appointments Card */
.prospect-appointments-card {
    background: #ffffff;
    border: 1px solid #e9eaeb;
    border-radius: 10px;
    padding: 30px;
}

.prospect-appointments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.prospect-appointments-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.prospect-appointments-column-header h3 {
    font-family: 'Gilroy-SemiBold', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #656565;
    margin: 0;
}

.prospect-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    color: #0091ae;
    text-decoration: none;
}

.prospect-appointment-card {
    background: #ffffff;
    border: 1px solid #dfe3eb;
    border-radius: 5px;
    padding: 16px 17px;
    margin-bottom: 10px;
    position: relative;
}

.prospect-appointment-menu {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.prospect-appointment-title {
    font-family: 'Gilroy-SemiBold', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #020403;
    margin: 0 0 8px;
    letter-spacing: -0.28px;
}

.prospect-appointment-description {
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #494b4b;
    opacity: 0.7;
    margin: 0 0 12px;
    letter-spacing: -0.64px;
}

.prospect-appointment-pinned {
    background: #fffaeb;
    border: 1px solid #fef0c7;
    border-radius: 5px;
    padding: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}

.prospect-appointment-pinned img {
    width: 14px;
    height: 14px;
}

.prospect-appointment-pinned span {
    font-family: 'Gilroy-SemiBold', sans-serif;
    font-size: 14px;
    line-height: 18px;
    color: #535862;
}

.prospect-appointment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prospect-appointment-date {
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 12px;
    line-height: 20px;
    color: #494b4b;
    opacity: 0.7;
    letter-spacing: -0.48px;
}

.prospect-appointment-status {
    padding: 3px 9px;
    border-radius: 4px;
    font-family: 'Gilroy-SemiBold', sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: #01160e;
    opacity: 0.6;
}

.prospect-appointment-status--warm {
    background: #eddc87;
}

.prospect-appointment-status--completed {
    background: rgba(171, 171, 171, 0.4);
}

/* Collapsible Card */
.prospect-collapsible-card {
    background: #ffffff;
    border: 1px solid #e9eaeb;
    border-radius: 10px;
    padding: 30px;
}

.prospect-collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prospect-collapsible-toggle {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Purchase Type Card */
.prospect-purchase-card {
    background: #ffffff;
    border: 1px solid #e9eaeb;
    border-radius: 10px;
    padding: 30px;
}

.prospect-card-header-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prospect-card-title-inline {
    font-family: 'Gilroy', sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 21px;
    color: #1e293b;
    margin: 0;
}

.prospect-purchase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 24px;
}

.prospect-purchase-option {
    background: #ffffff;
    border: 1px solid #dfe3eb;
    border-radius: 10px;
    padding: 20px;
    position: relative;
}

.prospect-purchase-option--active {
    border-color: #42307d;
    background: #faf9fc;
}

.prospect-purchase-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

.prospect-purchase-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: bold;
    font-size: 18px;
    line-height: 28px;
    color: #1e293b;
    margin: 0 0 4px;
}

.prospect-purchase-subtitle {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #64748b;
    margin: 0 0 16px;
}

.prospect-purchase-docs-label {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #1e293b;
    margin: 0 0 8px;
}

.prospect-purchase-docs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.prospect-purchase-doc-tag {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 5px 11px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 12px;
    line-height: 15px;
    color: #1e293b;
}

.prospect-purchase-checkmark {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
}

/* Client Form Card */
.prospect-client-form-card {
    background: #ffffff;
    border: 1px solid #e9eaeb;
    border-radius: 10px;
    padding: 30px;
}

.prospect-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.prospect-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prospect-form-label {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.prospect-form-input {
    height: 40px;
    background: #ffffff;
    border: 1px solid #dfe3eb;
    border-radius: 6px;
    padding: 0 12px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #1e293b;
}

/* Invoice Card */
.prospect-invoice-card {
    background: #ffffff;
    border: 1px solid #e9eaeb;
    border-radius: 10px;
    padding: 30px;
}

.btn--add-item {
    width: 118px;
    height: 40px;
    background: #000000;
    border-radius: 6px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #ffffff;
    border: none;
    cursor: pointer;
    margin-bottom: 16px;
}

.prospect-invoice-table {
    border: 1px solid #e9eaeb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}

.prospect-invoice-header {
    display: grid;
    grid-template-columns: 418px 165px 147px 146px 24px;
    gap: 20px;
    background: #f8f9fa;
    padding: 21px 28px;
    border-bottom: 1px solid #e9eaeb;
}

.prospect-invoice-header span {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.prospect-invoice-row {
    display: grid;
    grid-template-columns: 418px 165px 147px 146px 24px;
    gap: 20px;
    padding: 20px 24px;
    align-items: center;
}

.prospect-invoice-select,
.prospect-invoice-input {
    height: 40px;
    background: #ffffff;
    border: 1px solid #dfe3eb;
    border-radius: 6px;
    padding: 0 12px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #1e293b;
}

.prospect-invoice-total {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #1e293b;
}

.prospect-invoice-delete {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.prospect-invoice-input-wrapper {
    margin-bottom: 16px;
}

.prospect-invoice-discount-input {
    width: 217px;
    height: 66px;
    background: #ffffff;
    border: 1px solid #dfe3eb;
    border-radius: 6px;
    padding: 0 12px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #1e293b;
}

.prospect-invoice-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    padding: 20px 0;
}

.prospect-invoice-summary-row {
    display: flex;
    justify-content: space-between;
    width: 237px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
}

.prospect-invoice-summary-row span:first-child {
    color: #64748b;
}

.prospect-invoice-summary-row span:last-child {
    color: #1e293b;
    font-weight: 600;
}

.prospect-invoice-summary-divider {
    width: 237px;
    height: 1px;
    background: #e9eaeb;
}

.prospect-invoice-summary-row--total {
    font-size: 16px;
    font-weight: 700;
}

.text-red {
    color: #ef4444 !important;
}

/* Documents Card */
.prospect-documents-card {
    background: #ffffff;
    border: 1px solid #e9eaeb;
    border-radius: 10px;
    padding: 30px;
}

.prospect-documents-description {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #64748b;
    margin: 20px 0 16px;
}

.prospect-documents-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.prospect-documents-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.prospect-documents-icon {
    width: 20px;
    height: 20px;
}

.prospect-documents-item span {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #1e293b;
}

.prospect-documents-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn--secondary,
.btn--primary {
    height: 48px;
    padding: 0 24px;
    border-radius: 6px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn--secondary {
    background: #ffffff;
    border: 1px solid #dfe3eb;
    color: #1e293b;
}

.btn--primary {
    background: #42307d;
    border: none;
    color: #ffffff;
}

/* Metrics Card */
.prospect-metrics-card {
    background: #ffffff;
    border: 1px solid #e9eaeb;
    border-radius: 10px;
    padding: 30px;
}

.prospect-metrics-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.prospect-metric-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prospect-metric-label {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #64748b;
}

.prospect-metric-value {
    font-family: 'Gilroy', sans-serif;
    font-weight: bold;
    font-size: 32px;
    line-height: 38px;
    color: #1e293b;
}

.prospect-metrics-table {
    border: 1px solid #e9eaeb;
    border-radius: 10px;
    overflow: hidden;
}

.prospect-metrics-header {
    display: grid;
    grid-template-columns: 302px 92px 110px 122px 1fr;
    gap: 20px;
    background: #f8f9fa;
    padding: 21px 28px;
    border-bottom: 1px solid #e9eaeb;
}

.prospect-metrics-header span {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.prospect-metrics-row {
    display: grid;
    grid-template-columns: 302px 92px 110px 122px 1fr;
    gap: 20px;
    padding: 26px 24px;
    align-items: center;
    border-bottom: 1px solid #e9eaeb;
}

.prospect-metrics-row:last-child {
    border-bottom: none;
}

.prospect-metrics-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prospect-metrics-bullet {
    width: 5px;
    height: 5px;
    background: #64748b;
    border-radius: 50%;
}

.prospect-metrics-row span {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #1e293b;
}

/* Deals Table Styles */
.prospect-deals-table {
    margin-top: 20px;
}

.prospect-deals-header {
    display: grid;
    grid-template-columns: 120px 140px 140px 140px 140px 1fr;
    gap: 20px;
    padding: 12px 24px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9eaeb;
}

.prospect-deals-header span {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prospect-deals-row {
    display: grid;
    grid-template-columns: 120px 140px 140px 140px 140px 1fr;
    gap: 20px;
    padding: 20px 24px;
    align-items: center;
    border-bottom: 1px solid #e9eaeb;
}

.prospect-deals-row:last-child {
    border-bottom: none;
}

.prospect-deals-row:hover {
    background-color: #f8f9fa;
}

/* Prospect Deals Table */
.deal-row-prospect {
    transition: background-color 0.2s ease;
}

.deal-row-prospect:hover {
    background-color: #f9fafb !important;
}

.deal-expand-btn-prospect {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.deal-expand-btn-prospect i {
    transition: transform 0.2s ease;
}

.deal-expand-btn-prospect i.fa-chevron-down {
    transform: rotate(0deg);
}

.deal-expand-btn-prospect i.fa-chevron-right {
    transform: rotate(0deg);
}

.deal-details-row-prospect {
    transition: all 0.3s ease;
}

.deal-details-row-prospect.hidden {
    display: none;
}

.deal-details-row-prospect td {
    background-color: #f9fafb;
}

.edit-deal-btn-prospect {
    transition: all 0.2s ease;
}

.edit-deal-btn-prospect:hover {
    transform: scale(1.1);
}

/* Prospect Status Tags for Appointments */
.event-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag--hot {
    background-color: #fee2e2;
    color: #991b1b;
}

.tag--warm {
    background-color: #fed7aa;
    color: #9a3412;
}

.tag--qualified {
    background-color: #dbeafe;
    color: #1e40af;
}

.tag--prospect {
    background-color: #e0e7ff;
    color: #3730a3;
}

.tag--default {
    background-color: #f3f4f6;
    color: #6b7280;
}

.prospect-metrics-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn--sm {
    height: 36px;
    padding: 0 16px;
    background: #ffffff;
    border: 1px solid #dfe3eb;
    border-radius: 6px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #1e293b;
    cursor: pointer;
}

/* ========================================
   WORKFLOW CARD - SINGLE CARD WITH 4 STEPS
   ======================================== */

.prospect-workflow-card {
    background: #ffffff;
    border: 1px solid #e9eaeb;
    border-radius: 10px;
    padding: 0;
}

.prospect-workflow-step {
    padding: 30px;
}

.prospect-workflow-step-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 27px;
}

.prospect-workflow-step-number {
    width: 40px;
    height: 40px;
    background: #2563eb;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Gilroy', sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 16px;
    color: #ffffff;
    flex-shrink: 0;
}

.prospect-workflow-step-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 16px;
    color: #000000;
    margin: 0;
}

.prospect-workflow-divider {
    height: 1px;
    background: #e9eaeb;
    margin: 0;
}

/* Step 1: Purchase Options */
.prospect-purchase-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.prospect-purchase-option {
    background: #ffffff;
    border: 1px solid #dfe3eb;
    border-radius: 10px;
    padding: 20px 20px 30px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.prospect-purchase-option--active {
    background: #f0fdf4;
    border-color: #10b981;
}

.prospect-purchase-option-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.prospect-purchase-option-icon img {
    width: 100%;
    height: 100%;
}

.prospect-purchase-option-title {
    font-family: 'Gilroy', sans-serif;
    font-weight: bold;
    font-size: 18px;
    line-height: 28px;
    color: #1e293b;
    margin: 0 0 4px;
}

.prospect-purchase-option-subtitle {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #64748b;
    margin: 0 0 24px;
}

.prospect-purchase-option-docs-label {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #1e293b;
    margin: 0 0 8px;
    display: block;
}

.prospect-purchase-option-docs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.prospect-purchase-doc-tag {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 5px 11px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 12px;
    line-height: 15px;
    color: #1e293b;
}

.prospect-purchase-option-check {
    position: absolute;
    top: 16px;
    right: 16px;
}

/* Step 2: Client Form */
.prospect-client-form {
    background: #f8f9fa;
    border: 1px solid #dfe3eb;
    border-radius: 10px;
    padding: 30px;
}

.prospect-client-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 16px;
}

.prospect-client-form-row--full {
    grid-template-columns: 1fr;
}

.prospect-client-form-row--three {
    grid-template-columns: repeat(3, 1fr);
}

.prospect-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.prospect-form-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #414651;
}

.prospect-form-label .required {
    color: #2563eb;
}

.prospect-form-input {
    height: 40px;
    background: #ffffff;
    border: 1px solid #d5d7da;
    border-radius: 8px;
    padding: 8px 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #444444;
}

.prospect-form-input:focus {
    outline: none;
    border-color: #2563eb;
}

.prospect-client-form-divider {
    height: 1px;
    background: #dfe3eb;
    margin: 20px 0;
}

/* Step 3: Invoice Items */
.btn--add-item-workflow {
    width: auto;
    height: 40px;
    background: #2563eb;
    border: none;
    border-radius: 8px;
    padding: 0 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.btn--add-item-workflow span {
    font-size: 18px;
    line-height: 1;
}

.prospect-invoice-table-wrapper {
    background: #ffffff;
    border: 1px solid #e9eaeb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
}

.prospect-invoice-table-new {
    width: 100%;
    border-collapse: collapse;
}

.prospect-invoice-table-new thead {
    background: #f8f9fa;
}

.prospect-invoice-table-new th {
    padding: 21px 28px;
    text-align: left;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 1px solid #e9eaeb;
}

.prospect-invoice-table-new th .required {
    color: #2563eb;
}

.prospect-invoice-table-new td {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f1f1;
}

.prospect-invoice-table-new tbody tr:last-child td {
    border-bottom: none;
}

.prospect-invoice-select-new,
.prospect-invoice-input-new {
    width: 100%;
    height: 40px;
    background: #ffffff;
    border: 1px solid #dfe3eb;
    border-radius: 6px;
    padding: 0 12px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #1e293b;
}

.prospect-invoice-total-cell {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #1e293b;
}

.prospect-invoice-delete-btn {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.prospect-invoice-delete-btn:hover {
    opacity: 0.7;
}

.prospect-invoice-delete-btn svg {
    width: 24px;
    height: 24px;
}

.prospect-invoice-delete-btn:hover svg path {
    stroke: #ef4444;
}

.prospect-invoice-discount {
    margin-bottom: 24px;
}

.prospect-form-input--discount {
    max-width: 217px;
}

.prospect-invoice-summary-new {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    padding: 20px 0;
    background-color: #F8FAFC;
    border:1px solid #DFE3EB;
    border-radius: 8px;
    padding:30px;

}

.prospect-invoice-summary-row-new {
    display: flex;
    justify-content: space-between;
    width: 237px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
}

.prospect-invoice-summary-row-new span:first-child {
    color: #64748b;
}

.prospect-invoice-summary-row-new span:last-child {
    color: #1e293b;
    font-weight: 600;
}

.prospect-invoice-summary-divider-new {
    width: 237px;
    height: 1px;
    background: #e9eaeb;
}

.prospect-invoice-summary-total {
    font-size: 16px;
    font-weight: 700;
}

/* Step 4: Review Documents */
.prospect-workflow-description {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px;
}

.prospect-workflow-documents-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.prospect-workflow-document-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.prospect-workflow-document-icon {
    width: 20px;
    height: 20px;
}

.prospect-workflow-document-item span {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    color: #1e293b;
}

.prospect-workflow-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 24px;
    border-top: 1px solid #e9eaeb;
}

.btn--workflow-secondary,
.btn--workflow-primary {
    height: 48px;
    padding: 0 24px;
    border-radius: 6px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn--workflow-secondary {
    background: #ffffff;
    border: 1px solid #dfe3eb;
    color: #1e293b;
}

.btn--workflow-secondary img {
    width: 16px;
    height: 16px;
}

.btn--workflow-primary {
    background: #a78bfa;
    border: none;
    color: #ffffff;
}

.btn--workflow-primary img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}
.review-items-wrapper{
    background: #F8FAFC;
    padding:30px;
    margin-bottom: 30px;
    border:1px solid #DFE3EB;
    border-radius: 8px;
}
.btn.filter-btn.active{
    background: #fff;
}

/* User Menu Dropup */
#userMenuToggle {
    cursor: pointer;
    text-align: left;
}

#userMenuChevron {
    transition: transform 0.2s ease;
}

#userMenuChevron.rotate-180 {
    transform: rotate(180deg);
}

#userDropupMenu {
    z-index: 1000;
}

#userDropupMenu a {
    cursor: pointer;
}

/* Prospect Details - Editable Fields */
.prospect-info-row {
    position: relative;
}

.prospect-edit-btn,
.prospect-save-btn,
.prospect-cancel-btn {
    padding: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
    margin-left: 8px;
    opacity: 0;
    visibility: hidden;
}

.prospect-info-row:hover .prospect-edit-btn,
.prospect-info-row:hover .prospect-add-btn,
.prospect-info-row:hover .prospect-field-actions .prospect-edit-btn {
    opacity: 1;
    visibility: visible;
}

.prospect-save-btn,
.prospect-cancel-btn {
    opacity: 1 !important;
    visibility: visible !important;
}

.prospect-edit-btn:hover {
    background: #f3f4f6;
}

.prospect-save-btn:hover {
    background: #d1fae5;
}

.prospect-cancel-btn:hover {
    background: #fee2e2;
}

.prospect-info-input {
    width: 100%;
    padding: 6px 12px;
    border: 1px solid #d5d7da;
    border-radius: 6px;
    font-size: 14px;
    color: #414651;
    background: white;
    transition: border-color 0.2s;
}

.prospect-info-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.prospect-info-content {
    flex: 1;
    min-width: 0;
}

.editable-field {
    display: block;
    word-break: break-word;
}

.prospect-edit-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.prospect-add-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    opacity: 0;
    visibility: hidden;
}

.prospect-add-btn:hover {
    background-color: #EFF6FF;
}

.prospect-add-btn svg path {
    transition: stroke 0.2s;
}

.prospect-add-btn:hover svg path {
    stroke: #1D4ED8;
}

.prospect-field-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    position: relative;
}

.prospect-field-wrapper .editable-field,
.prospect-field-wrapper .prospect-info-input {
    flex: 1;
}

.prospect-field-actions {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-shrink: 0;
}
.stage-Qualified{
    background-color: #95c3e7;
}
.stage-Warm{
    background-color: #eddc87;
}
.stage-Hot{
    background-color: #eeaa59;
}
.stage-Client In Process{
    background-color: #c0dcb1;
}
.stage-Client{
    background-color: #93c57b;
}
.prospect-header-main{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.prospect-stage{
    flex: 0.8;
}