.roa-green-text {
    color: #1A9175 !important;
}

.roa-red-text {
    color: #DB1263 !important;
}

.roa-blue-text {
    color: #10295A !important;
}

.roa-gray-text {
    color: #E6E7E8 !important;
}

.roa-green-background {
    background-color: #1A9175 !important;
    color: #ffffff !important;
}

.roa-red-background {
    background-color: #DB1263 !important;
}

.roa-blue-background {
    background-color: #10295A !important;
}

.roa-gray-background {
    background-color: #E6E7E8 !important;
}

.custom-card-border {
    border: 1px solid #10295A !important;
    transition: border-color 0.2s ease !important;
}

.floating-buttons {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1050; /* higher than cards/forms */
}

.page-header {
    border-bottom: 2px solid #1A9175 !important;
    margin-bottom: 24px !important;
    padding-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

    .page-header h4 {
        font-size: 1.5rem !important;
        font-weight: 600 !important;
        color: #10295A !important;
        margin: 0 !important;
    }

.card-header {
    background-color: #E6E7E8 !important;
    color: #000000 !important;
    border-bottom: 3px solid #10295A !important;
}

.card-header2 {
    background-color: #10295A !important;
    color: #ffffff !important;
    border-bottom: 3px solid #10295A !important;
}

.row {
    margin-bottom: 20px !important;
}

.table-roa {
    border: 1px solid #E6E7E8 !important;
}

    .table-roa th {
        color: #000000 !important;
    }

/* Change color of pagination links */
#example2_paginate .paginate_button a {
    color: #ffffff;
    background-color: #1A9175 !important;
}

    /* Change color of pagination links */
    #example2_paginate .paginate_button a:hover:not(.active) {
        color: #ffffff;
        background-color: #DB1263 !important;
    }

    /* Optional: also change hover/focus/active colors */
    #example2_paginate .paginate_button a:hover {
        color: #ffffff !important;
        background-color: #DB1263 !important;
        text-decoration: underline;
        border-color: #DB1263 !important;
    }

.nav-item-roa {
    color: #ffffff !important;
}

    .nav-item-roa a {
        color: #ffffff !important;
    }

.btn-primary-roa {
    background-color: #1A9175 !important;
    border-color: #1A9175 !important;
}

    .btn-primary-roa:hover {
        background-color: #DB1263 !important;
        border-color: #DB1263 !important;
    }

.custom-currency-group .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-currency-group .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.custom-percent-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Avatar CSS */
.btn-rounded {
    border-radius: 999px;
}

.avatar-shell {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
    border: 1px solid rgba(0,0,0,.10);
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.avatar-edit {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0,0,0,.45);
    color: #fff;
    display: grid;
    place-content: center;
    gap: 6px;
    opacity: 0;
    transition: opacity .15s ease;
    cursor: pointer;
}

.avatar-shell:hover .avatar-edit {
    opacity: 1;
}

.avatar-edit i {
    font-size: 20px;
    line-height: 1;
}

.avatar-edit span {
    font-size: 12px;
    letter-spacing: .2px;
}
/* Avatar CSS End */

/* Resource Section Home Page */
/* Resource cards */
.resource-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    transition: box-shadow 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
    background-color: #ffffff;
}

    .resource-card:hover {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.06);
        transform: translateY(-1px);
        border-color: rgba(0, 0, 0, 0.08);
    }

.resource-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.08); /* can swap to your ROA/Realty Core green */
    font-size: 1rem;
}

.resource-title {
    line-height: 1.2;
}

/* Clamp long descriptions so cards stay tidy */
.resource-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* Soft state badge if you decide to use it */
.badge.bg-soft-green {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.25);
    font-weight: 500;
}
/* Resource Section Home Page End */

/* AdminLTE widget-user-image floats; reserve vertical space below it */
.avatar-spacer {
    height: 40px;
}

/* Crop area */
.cropper-wrap {
    width: 100%;
    max-height: 52vh;
    overflow: hidden;
    border-radius: 16px;
    background: #0b0f14;
}

#cropperImage {
    max-width: 100%;
    display: block;
}

/* Agent Stage */
/* Early funnel */
.stage-1 {
    background-color: #6c757d;
}
/* Prospect - gray */
.stage-2 {
    background-color: #0dcaf0;
}
/* Initial Contact - info */
.stage-3 {
    background-color: #0d6efd;
}
/* Conversation Held - primary */
.stage-4 {
    background-color: #ffc107;
    color: #212529;
}
/* Needs Follow-Up */

/* Recruiting / active */
.stage-5 {
    background-color: #6610f2;
}
/* Actively Recruiting */
.stage-6 {
    background-color: #20c997;
}
/* Application Sent */
.stage-7 {
    background-color: #198754;
}
/* Application In Progress */

/* Conversion */
.stage-8 {
    background-color: #0d6efd;
}
/* Signed / Joining */
.stage-9 {
    background-color: #28a745;
}
/* Joined Brokerage */

/* Negative / closed */
.stage-10 {
    background-color: #adb5bd;
    color: #212529;
}
/* Not Interested */
.stage-11 {
    background-color: #dc3545;
}
/* Lost to Competitor */
.stage-12 {
    background-color: #343a40;
}
/* Left Industry */
.stage-13 {
    background-color: #212529;
}
/* Do Not Contact */

.agent-stage-badge {
    font-size: 0.85rem;
    padding: 0.45em 0.7em;
    border-radius: 0.5rem;
    white-space: nowrap;
}

/* ============================
   Lead Summary Cards (AdminLTE-safe)
   ============================ */

.lead-summary-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border-radius: 12px;
}

    .lead-summary-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.75rem 1.25rem rgba(0, 0, 0, 0.08);
    }

/* Header container ensures equal height */
.lead-summary-header {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Badge text WRAPS and grows vertically */
.lead-summary-badge {
    white-space: normal !important;
    word-break: break-word;
    max-width: 100%;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    text-align: center;
    display: inline-block;
}

/* Center number – controlled size */
.lead-summary-count {
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.1;
}

/* Allow card to expand vertically */
.lead-summary-card .card-body {
    height: auto !important;
    min-height: 145px;
}

/* ============================
   Priority Colors
   ============================ */

.lead-summary-badge.priority-1 {
    background-color: #f8d7da;
    color: #842029;
}

.lead-summary-badge.priority-2 {
    background-color: #fff3cd;
    color: #664d03;
}

.lead-summary-badge.priority-3 {
    background-color: #d1e7dd;
    color: #0f5132;
}

.lead-summary-badge.stagenew {
    background-color: #6c757d;
    color: #ffffff;
}

/* ============================
   Analytics Cards
   ============================ */

.metric-row {
    margin-left: -.25rem;
    margin-right: -.25rem;
}

    .metric-row > [class*="col-"] {
        padding-left: .25rem;
        padding-right: .25rem;
    }

.metric-card {
    border: 1px solid #e3e6f0;
    border-radius: .75rem;
    transition: transform .1s ease, box-shadow .1s ease;
    background-color: #fff;
}

    .metric-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 .35rem .9rem rgba(0, 0, 0, 0.08);
    }

.metric-label {
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6c757d;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 600;
}

.metric-subtext {
    font-size: .8rem;
    color: #6c757d;
}

.metric-card-highlight {
    background: linear-gradient(135deg, #0d6efd, #4dabf7);
    color: #fff;
    border: none;
}

    .metric-card-highlight .metric-subtext {
        color: rgba(255, 255, 255, .9);
    }

.section-title {
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: .75rem;
}

/* Generic transaction / activity cards for mobile */
.tc-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
    background-color: #ffffff;
    transition: box-shadow 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

    .tc-card:hover {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.06);
        transform: translateY(-1px);
        border-color: rgba(0, 0, 0, 0.08);
    }

.tc-card-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.tc-card-subtitle {
    font-size: 0.8rem;
    color: #6c757d;
}

.tc-card-meta {
    font-size: 0.8rem;
}

.tc-badge-pill {
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
}

/* Address line wrapping nicely */
.tc-address-line {
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Make dropdown button less dominant on cards */
.tc-action-btn {
    padding: 0.15rem 0.4rem;
    font-size: 0.8rem;
}

/* Small label text used inside cards */
.tc-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
}

/* Desktop section header (inside card-body) */
.tc-desktop-section {
    font-size: 0.95rem;
    font-weight: 700;
    color: #10295A;
    border-left: 4px solid #1A9175;
    padding-left: 0.75rem;
}

.tc-desktop-title {
    line-height: 1.2;
}

/* Desktop wrapper for tables (align with cards above) */
.tc-desktop-wrapper {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

/* Mobile section titles */
.tc-mobile-section {
    font-size: 1.05rem;
    font-weight: 700;
    color: #10295A;
    padding: 0.25rem 0;
    margin: 1rem 0 0.5rem;
    border-left: 4px solid #1A9175;
    padding-left: 0.75rem;
}

/* Tighten horizontal padding for TC sections on mobile */
@media (max-width: 767.98px) {
    .tc-card-container {
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        padding-left: 0;
        padding-right: 0;
    }

    .tc-mobile-section {
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        padding-left: 1rem; /* pulls it out to align with tc-card edges */
    }
}

/* =========================================
   Transaction DataTables – force white background
   ========================================= */
#activityTable_wrapper,
#listingTable_wrapper,
#purchaseTable_wrapper {
    background-color: #ffffff;
}

/* Make sure the tables themselves stay white too */
#activityTable,
#listingTable,
#purchaseTable {
    background-color: #ffffff;
}

    #activityTable thead,
    #activityTable tbody,
    #listingTable thead,
    #listingTable tbody,
    #purchaseTable thead,
    #purchaseTable tbody {
        background-color: #ffffff;
    }


/* =========================================
  FAQ Cards
   ========================================= */
.faq-card {
    transition: all 0.2s ease-in-out;
    background: #fff;
}

    .faq-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }

.faq-question {
    font-size: 1.1rem;
    cursor: pointer;
    outline: none;
}

    .faq-question:focus {
        outline: none;
    }

    .faq-question .toggle-icon {
        transition: transform 0.2s ease;
    }

        .faq-question .toggle-icon.rotated {
            transform: rotate(180deg);
        }

.faq-answer {
    line-height: 1.6;
}

