﻿/*reset css starts*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
h1 {
    font-size: 28px !important;
}

h2 {
    font-size: 24px !important;
}

h3 {
    font-size: 20px !important;
}

h4 {
    font-size: 18px !important;
}

h5 {
    font-size: 16px !important;
}

h6 {
    font-size: 14px !important;
}

p, span {
    font-size: 13px !important;
}


body {
    line-height: 1.5;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}
/*reset css ends*/
/*custom css starts*/
@font-face {
    font-family: 'poppinsregular';
    src: url('fonts/poppins-regular-webfont.woff2') format('woff2'), url('fonts/poppins-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'poppinsmedium';
    src: url('fonts/poppins-medium-webfont.woff2') format('woff2'), url('fonts/poppins-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'poppinsregular' !important;
    font-size: 13px;
    color: #00194c;
    letter-spacing: 0.5px;
    background-position-x: right;
    min-height: 100vh;
    background-position-y: bottom;
    line-height: 1.5
}

:root {
    --orange-primary: #FF8500;
    --orange-light: #FFF1E6;
    --blue-primary: #00194c;
    --blue-light: #EBF3FF;
    --green-primary: #00C292;
    --green-light: #E8F7F3;
    --red-primary: #FF4C4C;
    --red-light: #FFEDED;
    --bg-light: #F8F9FA;
    --border-color: #E5E7EB;
    /* Chart Colors */
    --chart-blue: #2CAFFE;
    --chart-orange: #FEB56A;
    --chart-green: #00D069;
    --chart-purple: #544FC5;
    --chart-red: #DA4453;
    --bg-blue: #F3F6FE;
    --bs-btn-hover-color: #00194c;
    --warning-color: yellow;
    --danger-color: red;
    --success-color: green;
    --danger-gradient: linear-gradient(135deg, #ff4757, #ff3838);
    --warning-gradient: linear-gradient(135deg, #ffa502, #ff6348);
    --success-gradient: linear-gradient(135deg, #2ed573, #1e90ff);
    --primary-color: #00194c;
}

body {
    background: linear-gradient(71deg, #E6EDFF 9.35%, #F4F6FA 58.36%, #FFF8E8 97.81%);
    color: #00194c !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Previous styles remain same, updating only colors */

.nav-link.active {
    border-radius: 10px;
    background: #FF8500;
    color: #FFF;
}
.nav-link:hover {
    background:#fff;
    color: #FF8500;
}
    .nav-link:hover svg {
        fill: #FF8500;
    }
/* Sidebar */
.sidebar {
    width: 230px;
    min-height: 100vh;
    background: white;
    position: fixed;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 1px 0 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
    .sidebar nav {
        padding: 14px 10px;
    }
    .sidebar.collapsed {
        width: 70px;
    }

        .sidebar.collapsed .nav-text {
            display: none;
            transition: all 0.4s;
        }

        .sidebar.collapsed .sidebar-logo {
            width: 30px;
        }


.main-content {
    margin-left: 230px;
    transition: all 0.3s;
    font-size: 13px;
    line-height: normal
}

    .main-content.expanded {
        margin-left: 70px;
        transition: all 0.3s;
    }

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 7px;
    color: #0C016F;
    border-radius: 8px;
    margin: 4px 0;
    border-left: 7px solid transparent;
}

p {
    line-height: 1.5;
}



.nav-link i {
    width: 20px;
    text-align: center;
}

.orange-font {
    color: #ff8500
}
/* Header */
.dashboard-header {
    background: #fff;
    padding: 16px 24px;
    position: fixed;
    top: 0;
    right: 0;
    width: calc(100% - 230px);
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.main-content .p-4 {
    padding-top: 80px !important;
}

.main-content.expanded .dashboard-header {
    width: calc(100% - 70px);
}

.toggle-switch {
    width: 48px;
    height: 24px;
    background: var(--primary-orange);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
}

.dashboard-title {
    font-weight: 600;
    padding-right: 1rem;
}

.btn-link {
    --bs-btn-font-weight: 400;
    --bs-btn-color: #00194c;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #00193c;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-color: #00194c;
    --bs-btn-active-border-color: transparent;
    --bs-btn-disabled-color: #6c757d;
    --bs-btn-disabled-border-color: transparent;
    --bs-btn-box-shadow: 0 0 0 #00194c;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    text-decoration: underline;
}
/*dashboard css starts*/
.alert-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    overflow: hidden;
    position: relative;
}

    .alert-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: var(--primary-gradient);
        transition: width 0.3s ease;
    }

    .alert-card:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: var(--card-shadow-hover);
    }

        .alert-card:hover::before {
            width: 8px;
        }

.alert-info::before {
    background: var(--info-gradient);
}

.alert-high::before {
    background: var(--danger-gradient);
}

.alert-medium::before {
    background: var(--warning-gradient);
}

.alert-low::before {
    background: var(--success-gradient);
}

/* Card Body Enhancements */
.alert-card .card-body {
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 2;
}

.alert-card .fa-2x {
    background: linear-gradient(135deg, #667eea, #00194c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Metric Values */
.metric-value {
    font-size: 30px;
    font-weight: 700;
    background: linear-gradient(135deg, #00194c, #4a5568);
    line-height: 1.2;
}

.metric-label {
    color: #718096;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Chart Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 24px 0 rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 12px 12px 12px;
}

    .card:hover {
        box-shadow: var(--card-shadow-hover);
        transform: translateY(-2px);
    }

.card-header {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.9));
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 1.5rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    backdrop-filter: blur(10px);
}

.card-title {
    font-weight: 600;
    color: #00194c;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

    .card-title i {
        background: linear-gradient(135deg, #667eea, #00194c);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

/* Chart Container */
.chart-container {
    position: relative;
    height: 320px;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-sm);
}

/* Navigation Pills */
.nav-pills {
    gap: 0.5rem;
}

    .nav-pills .nav-link {
        border-radius: var(--border-radius-sm);
        padding: 0.75rem 1.5rem;
        font-weight: 500;
        color: #64748b;
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(226, 232, 240, 0.8);
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }

        .nav-pills .nav-link:hover {
            background: rgba(102, 126, 234, 0.1);
            color: #667eea;
            transform: translateY(-1px);
        }

        .nav-pills .nav-link.active {
            background: var(--primary-gradient);
            border: none;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

/* Table Enhancements */
.table-responsive {
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background: white;
}

.table {
    margin-bottom: 0;
    font-size: 0.9rem;
}

    .table thead th {
        background: #00194c;
        color: white;
        font-weight: 600;
        padding: 1rem 0.75rem;
        border: none;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 13px;
        white-space:nowrap
    }

    .table tbody tr {
        transition: all 0.2s ease;
        border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    }


    .table tbody td {
        padding: 1rem 0.75rem;
        vertical-align: middle;
        border: none;
        font-size: 13px;
        line-height: 1.5;
    }

/* Status Badges */
.badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}
/* Status Badge Specific */
.status-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
}

/* Button Enhancements */
.btn {
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border: none;
    font-size:13px;
    padding: 10px 30px;
    border-radius: 8px;
}

.btn-outline-primary {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    backdrop-filter: blur(10px);
}

    .btn-outline-primary:hover {
        background: var(--primary-gradient);
        border: none;
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }



/* Small Text Enhancement */
small.text-muted {
    font-size: 0.8rem;
    color: #a0aec0;
    font-weight: 500;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-card,
.card {
    animation: fadeInUp 0.6s ease forwards;
}

    .alert-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .alert-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .alert-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .alert-card:nth-child(4) {
        animation-delay: 0.4s;
    }

/* Responsive Enhancements */
@media (max-width: 768px) {
    .container-fluid {
        padding: 1rem;
    }

    .metric-value {
        font-size: 2rem;
    }

    .alert-card .card-body {
        padding: 1.5rem 1rem;
    }

    .chart-container {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .nav-pills .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .metric-value {
        font-size: 1.8rem;
    }

    .table {
        font-size: 0.8rem;
    }
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

    .loading::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        animation: loading 1.5s infinite;
    }

@keyframes loading {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Focus States */
.nav-link:focus,
.btn:focus {
    outline: 2px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .alert-card,
    .card {
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }

    .btn {
        display: none;
    }
}
/*dashboard css ends*/
/*financial alerts starts*/
.alert-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    flex: 1;
    transition: transform 0.3s ease;
}

    .stat-card:hover {
        transform: translateY(-2px);
    }

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.9));
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 2rem;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #00194c;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filters {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-select, .form-control {
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}
.form-label{
    white-space:nowrap
}
/* KF Score Styling */
.kf-score {
    font-weight: 700;
    font-size: 13px;
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
}
.table #alertTableBody td:nth-child(8) {
    display: flex;
    align-items: center;
}
.kf-score-red {
    background: var(--danger-gradient);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.kf-score-amber {
    background: var(--warning-gradient);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 165, 2, 0.3);
}

/* Priority Badge */
.priority-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-critical {
    background: var(--danger-gradient);
    color: white;
    animation: pulse 2s infinite;
}

.priority-high {
    background: var(--warning-gradient);
    color: white;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* Action Buttons */
.action-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 8px;
    font-weight: 500;
    border: none;
    transition: all 0.3s ease;
    margin-right: 0.3rem;
}

.btn-review {
    background: linear-gradient(135deg, #667eea, #00194c);
    color: white;
}

    .btn-review:hover {
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        color: white;
    }

.btn-contact {
    background: linear-gradient(135deg, #ff8400, #1e90ff);
    color: white;
}

    .btn-contact:hover {
        box-shadow: 0 4px 12px rgba(46, 213, 115, 0.4);
        color: white;
    }

/* Loan Amount Formatting */
.loan-amount {
    font-weight: 600;
    color: #00194c;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container-fluid {
        padding: 1rem;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
    }

    .stat-card {
        margin-bottom: 1rem;
    }

    .table {
        font-size: 0.8rem;
    }

    .kf-score {
        font-size: 0.9rem;
        min-width: 60px;
    }
}

/* Sorting Icons */
.sortable {
    cursor: pointer;
    user-select: none;
}

.sort-icon {
    margin-left: 0.5rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.sortable:hover .sort-icon {
    opacity: 1;
}

/* Loading States */
.loading-row {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}
/*financial alerts ends*/
/*EWS reports css starts*/
.report-header {
    background: linear-gradient(135deg, #00194c 0%, #0094ff 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.company-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #ea580c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.company-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
}

.company-info p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.report-meta {
    position: relative;
    z-index: 2;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 24px 0 rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.9));
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.score-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

    .score-card:hover {
        transform: translateY(-4px);
    }

.score-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.score-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin: 0.5rem 0;
}

.star {
    font-size: 1.2rem;
}

    .star.filled {
        color: #fbbf24;
    }

    .star.empty {
        color: #d1d5db;
    }

.methodology-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

    .methodology-table th,
    .methodology-table td {
        padding: 0.75rem;
        text-align: left;
        border-bottom: 1px solid #e2e8f0;
    }

    .methodology-table th {
        background: #f8fafc;
        font-weight: 600;
        color: var(--primary-color);
    }

    .methodology-table tbody tr:hover {
        background: #f8fafc;
    }

.chart-container {
    position: relative;
    height: 300px;
    margin: 1rem 0;
}

.alert-parameters {
    overflow-y: auto;
}

.parameter-row {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}

    .parameter-row:hover {
        background: #f8fafc;
    }

.parameter-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.parameter-text {
    flex: 1;
    font-size: 0.9rem;
}

.parameter-status {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-checked {
    background: #dcfce7;
    color: #166534;
}

.status-triggered {
    background: #fee2e2;
    color: #991b1b;
}

.status-not-applicable {
    background: #f1f5f9;
    color: #475569;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.report-meta div {
    line-height: 1.5;
}

.data-table th,
.data-table td {
    padding: 0.6rem;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.data-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.data-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.rating-label {
    font-weight: 600;
    color: var(--primary-color);
}

.rating-value {
    font-size: 13px;
    font-weight: 700;
}

.tabs-nav {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 1rem 2rem;
    background: none;
    border: none;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

    .tab-button.active {
        color: var(--primary-color);
        border-bottom-color: var(--primary-color);
        background: rgba(30, 58, 138, 0.05);
    }

#EwsReport .tab-content {
    display: none;
}

    #EwsReport .tab-content.active {
        display: block;
    }

.list-unstyled {
    line-height: 1.5;
    padding: 10px 0;
}

ul li {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 10px;
}
h6.fw-bold.text-secondary {
    font-size: 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding: 5px 0;
}
.small{
    font-size:13px;
}
.small span {
    font-size: 13px;
    color: #00194c;
    padding: 5px 0;
}
.small div {
    align-items: center;
}
@media (max-width: 768px) {
    .container-fluid {
        padding: 1rem;
    }

    .score-grid {
        grid-template-columns: 1fr;
    }

    .company-info h1 {
        font-size: 2rem;
    }

    .parameter-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
}

    .floating-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }

    .floating-btn.los {
        background: linear-gradient(135deg, #667eea 0%, #00194c 100%);
    }

    .floating-btn.l2 {
        background: linear-gradient(135deg, #FF5722 0%, #ff8500 100%);
    }

    .floating-btn.rm {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    }

.btn-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .btn-tooltip::after {
        content: '';
        position: absolute;
        left: 100%;
        top: 50%;
        transform: translateY(-50%);
        border: 5px solid transparent;
        border-left-color: #333;
    }

.floating-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Modal Enhancements */
.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

.form-label {
    font-weight: 600;
    color: #495057;
}

.form-control, .form-select {
    border: 2px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 12px;
    transition: border-color 0.3s ease;
    font-size: 13px;
}
label {
    font-size: 13px;
    line-height: 1.5;
}

    .form-control:focus, .form-select:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    }

.btn-primary {
    background: #0C016F;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 13px
}

  

.btn-secondary {
    background: #6c757d;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1100;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

    .notification.show {
        transform: translateX(0);
    }

    .notification i {
        margin-right: 10px;
    }

@media (max-width: 768px) {
    .floating-buttons {
        right: 20px;
        bottom: 20px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 12px;
    }

    .btn-tooltip {
        display: none;
    }
}
/*Ews report css ends*/
/*customs css ends*/
/* fraud detection  Styling */
.form-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.input-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

    .form-header h4 {
        margin-bottom: 10px;
        font-weight: 600;
        color: #495057;
    }

    .form-header p {
        color: #6c757d;
    }

.input-group-modern {
    margin-bottom: 24px;
}

    .input-group-modern label {
        font-weight: 600;
        margin-bottom: 8px;
        color: #495057;
        display: block;
    }

.form-control-modern {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
}

    .form-control-modern:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
        outline: none;
    }

.btn-generate {
    background: #007bff;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    min-width: 200px;
    transition: all 0.3s ease;
    color: white;
}

    .btn-generate:hover {
        background: #0056b3;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,123,255,0.3);
    }

/* Entity Summary Card */
.entity-summary-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.entity-type-badge {
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid;
}

    .entity-type-badge.individual {
        background: #e3f2fd;
        color: #1976d2;
        border-color: #1976d2;
    }

    .entity-type-badge.company {
        background: #fff3e0;
        color: #f57c00;
        border-color: #f57c00;
    }

/* Modern Tab Styling */
.tab-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.nav-tabs-modern {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 0;
    margin: 0;
}

    .nav-tabs-modern .nav-link {
        border: none;
        padding: 20px 25px;
        font-weight: 600;
        color: #6c757d;
        transition: all 0.3s ease;
        position: relative;
        background: transparent;
    }

        .nav-tabs-modern .nav-link:hover {
            background: #e9ecef;
            color: #495057;
        }

        .nav-tabs-modern .nav-link.active {
            background: white;
            color: #007bff;
            border-bottom: 3px solid #007bff;
        }

.tab-content {
    padding: 40px;
    min-height: 500px;
}

.tab-content-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

/* Overview Grid */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.overview-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .overview-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    }

    .overview-card h5 {
        margin-bottom: 24px;
        color: #495057;
        font-weight: 600;
    }

.risk-metrics, .verification-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.risk-metric, .verification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

    .metric-value, .verification-item i {
        font-weight: 600;
    }
.risk-metric .metric-value{
    font-size:15px;
}
.risk-high {
    color: #dc3545;
}

.risk-medium {
    color: #f57c00;
}

.risk-low {
    color: #28a745;
}

.verification-item.verified {
    border-left: 4px solid #28a745;
}

.verification-item.pending {
    border-left: 4px solid #f57c00;
}

.verification-item.warning {
    border-left: 4px solid #dc3545;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Enhanced Data Sections */
.data-section {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .data-section:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    }

.section-header {
    background: #f8f9fa;
    padding: 24px 30px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .section-header h5 {
        margin: 0;
        color: #495057;
        font-weight: 600;
    }

.section-badge {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 600;
}

.data-section > .row,
.data-section > .info-grid,
.data-section > .table-responsive {
    padding: 30px;
}

/* Info Grid Layout */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-height: 310px;
    overflow-y: auto;
}
.vertical-label-value .info-item {
    display: flex;
    flex-direction: column;
}
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

    .info-item:hover {
        background: #e9ecef;
        border-color: #007bff;
    }

.info-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 14px;
}

.info-value {
    font-weight: 500;
    color: #212529;
}

/* Platform Presence */
.platform-presence {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    max-height: 200px;
    overflow-y: auto;
    
}
.platform-section {
    max-height: 250px;
    overflow-y: auto;
}
h6 {
    margin-bottom: 5px;
}
.platform-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid;
}

    .platform-item.verified {
        background: #d4edda;
        color: #155724;
        border-color: #c3e6cb;
    }

    .platform-item.not-found {
        background: #f8d7da;
        color: #721c24;
        border-color: #f5c6cb;
    }

/* Score Badges */
.score-badge {
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 12px;
    border: 1px solid;
}
.risk-indicators .score-value {
    font-size: 16px;
    font-weight: 700;
    margin: 10px;
    display: inline-block;
}
.score-low {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.score-medium {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.score-high {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.score-perfect {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

/* Risk Flags */
.risk-flag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 6px;
    border: 1px solid;
}

    .risk-flag.high {
        background: #f8d7da;
        color: #721c24;
        border-color: #f5c6cb;
    }

    .risk-flag.medium {
        background: #fff3cd;
        color: #856404;
        border-color: #ffeaa7;
    }

    .risk-flag.low {
        background: #d4edda;
        color: #155724;
        border-color: #c3e6cb;
    }

/* Tables */
.table-modern {
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

    .table-modern th {
        background: #f8f9fa;
        border: none;
        padding: 16px 20px;
        font-weight: 600;
        color: #495057;
        border-bottom: 2px solid #dee2e6;
    }

    .table-modern td {
        padding: 16px 20px;
        border-bottom: 1px solid #e9ecef;
        vertical-align: middle;
    }

    .table-modern tbody tr:hover {
        background: #f8f9fa;
    }

.table .accordion-toggle {
    background-color: #ffffff;
    border-bottom: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: background-color 0.3s ease;
}

    .table .accordion-toggle:hover {
        background-color: #f9f9f9;
    }

.table .accordion-body {
    background-color: #ffffff;
    padding: 0;
    border-top: none;
    border-bottom: 1px solid #dee2e6;
}

    .table .accordion-body td {
        padding: 0;
        border: none;
    }


.table .accordion-toggle:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.table .accordion-body:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Arrow rotation */
.toggle-icon {
    transition: transform 0.3s ease;
}

.accordion-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

/* Directors Grid */
.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.director-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

    .director-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    }

.director-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.director-flags {
    margin-bottom: 12px;
}

.subsidiaries-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.subsidiary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .subsidiary-item:hover {
        background: #e9ecef;
    }

/* Case Match Scores */
.match-scores {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
}

.match-score {
    text-align: center;
}

.score-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    border: 3px solid;
    background: white;
}

    .score-circle.score-high {
        color: #fff;
        border-color: #f57c00;
    }

    .score-circle.score-perfect {
        color: #fff;
        border-color: #28a745;
    }

.score-label {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
}

.case-alert {
    background: #fff3cd;
    border: 2px solid #f57c00;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

    .case-alert i {
        font-size: 28px;
        color: #f57c00;
        margin-bottom: 12px;
    }

.case-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-tabs-modern .nav-link {
        padding: 15px;
        font-size: 14px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .match-scores {
        flex-direction: column;
        gap: 20px;
    }

    .directors-grid {
        grid-template-columns: 1fr;
    }

    .case-actions {
        flex-direction: column;
    }

    .tab-content {
        padding: 20px;
    }
}

/* Loading Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

input:focus {
    outline: none !important;
    box-shadow: none !important;
}


input[type="text"] {
    text-transform: capitalize;
}

/* Print Styles */
@media print {
    .nav-tabs-modern,
    .action-buttons,
    .case-actions {
        display: none !important;
    }

    .tab-content {
        padding: 0;
    }

    .data-section {
        break-inside: avoid;
        margin-bottom: 20px;
    }
}
.capitalize-input {
    text-transform: capitalize;
}

.chart-container {
    height: 450px;
}

canvas {
    height: 400px !important;
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain;
}

.daterangepicker .drp-buttons .btn {
    margin-left: 8px;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 10px;
    background: #667eea;
    border-radius: 5px;
    font-family: poppinsmedium !important;
}

.cancelBtn {
    border: 1px solid #667eea;
    background: none !important;
    color: #667eea !important;
}
.row.mb-3.p-3.border {
    box-shadow: 0 0 2px 2px #f1f1f1;
    border-radius: 10px;
}
.score-board-img {
    position: relative;
    display: inline-block;
}

.score {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 15px;
    color: #000;
    pointer-events: none;
    user-select: none;
}
.riskometer-pointer img {
    width: 15%;
    position: absolute;
    bottom: 0;
}

.purple-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.pink-bg {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.blue-bg {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}
.alert {
    font-size: 13px;
    line-height: 1.5;
}

.input-group-modern {
    margin-bottom: 25px;
}

.form-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    display: block;
}

    .form-label i {
        margin-right: 8px;
        color: #667eea;
    }

.form-control-modern {
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

    .form-control-modern:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
        outline: none;
    }

.btn-generate {
    background: linear-gradient(135deg, #667eea 0%, #00194c 100%);
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .btn-generate:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    }

.btn-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

.entity-summary-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0fe 100%);
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    border: 1px solid #e0e6ed;
}

.entity-type-badge {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

    .entity-type-badge.individual {
        background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
        color: white;
    }

    .entity-type-badge.company {
        background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
        color: white;
    }

.nav-tabs-modern {
    border-bottom: 2px solid #e0e6ed;
    background: #f8f9fa;
    padding: 0 20px;
    border-radius: 15px 15px 0 0;
}

    .nav-tabs-modern .nav-link {
        border: none;
        color: #666;
        font-weight: 600;
        padding: 15px 20px;
        margin-right: 5px;
        border-radius: 10px 10px 0 0;
        transition: all 0.3s ease;
        position: relative;
    }

        .nav-tabs-modern .nav-link:hover {
            background: rgba(102, 126, 234, 0.1);
            color: #667eea;
        }

        .nav-tabs-modern .nav-link.active {
            background: #667eea;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
        }

.tab-content {
    padding: 30px;
}

.tab-content-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e6ed;
}

    .tab-content-header h4 {
        color: #333;
        margin-bottom: 10px;
    }

.data-section {
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.section-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e6ed;
}

    .section-header h5 {
        margin: 0;
        color: #333;
        font-weight: 600;
    }

.section-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Verification Table Styles */
.verification-table {
    font-size: 14px;
}

    .verification-table th {
        background: #343a40;
        color: white;
        font-weight: 600;
        text-align: center;
        vertical-align: middle;
        border: 1px solid #495057;
    }

    .verification-table td {
        text-align: center;
        vertical-align: middle;
        border: 1px solid #dee2e6;
        padding: 12px 8px;
    }

    .verification-table .match {
        background-color: #d4edda;
        color: #155724;
        font-weight: 500;
    }

    .verification-table .mismatch {
        background-color: #f8d7da;
        color: #721c24;
        font-weight: 500;
    }

    .verification-table .not-available {
        background-color: #e2e3e5;
        color: #6c757d;
        font-style: italic;
    }

.verification-stat {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e6ed;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* Credit Summary Cards */
.credit-summary-card {
    background: white;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

    .credit-summary-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.credit-score .score-number {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.credit-score .score-label {
    color: #666;
    font-weight: 500;
    font-size: 14px;
}

.score-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

.credit-info .info-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.credit-info .info-label {
    color: #666;
    font-weight: 500;
    font-size: 14px;
}

/* Financial Cards */
.financial-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
}

    .financial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.card-content .amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.card-content .label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Risk Indicators */
.risk-indicators {
    margin-top: 20px;
}

.risk-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid;
    transition: all 0.3s ease;
}

    .risk-item.high-risk {
        border-left-color: #dc3545;
        background: #fff5f5;
    }

    .risk-item.medium-risk {
        border-left-color: #ffc107;
        background: #fffbf0;
    }

    .risk-item.low-risk {
        border-left-color: #28a745;
        background: #f8fff8;
    }

.risk-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.high-risk .risk-icon {
    background: #dc3545;
}

.medium-risk .risk-icon {
    background: #ffc107;
}

.low-risk .risk-icon {
    background: #28a745;
}

.risk-content h6 {
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.risk-content p {
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.risk-level {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.high-risk .risk-level {
    background: #dc3545;
    color: white;
}

.medium-risk .risk-level {
    background: #ffc107;
    color: #333;
}

.low-risk .risk-level {
    background: #28a745;
    color: white;
}

/* Financial Ratios */
.ratios-grid {
    margin-top: 20px;
}

.ratio-card {
    background: white;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

    .ratio-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

.ratio-name {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.ratio-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.ratio-status {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Document Grid */
.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.document-item {
    background: white;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

    .document-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .document-item.verified {
        border-color: #28a745;
        background: #f8fff8;
    }

    .document-item.pending {
        border-color: #ffc107;
        background: #fffbf0;
    }

    .document-item.failed {
        border-color: #dc3545;
        background: #fff5f5;
    }

.document-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.verified .document-icon {
    background: #28a745;
}

.pending .document-icon {
    background: #ffc107;
}

.failed .document-icon {
    background: #dc3545;
}

.document-info h6 {
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

.document-info p {
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.verification-details {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .verification-details small {
        color: #666;
        font-size: 12px;
    }

/* Analysis Cards */
.analysis-card {
    background: white;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

    .analysis-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

.analysis-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.analysis-content .analysis-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.analysis-content .analysis-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Overview Grid */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.overview-card {
    background: white;
    border: 1px solid #e0e6ed;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

    .overview-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .overview-card h5 {
        color: #333;
        margin-bottom: 20px;
        font-weight: 600;
    }

.risk-metrics {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.risk-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.metric-label {
    font-weight: 500;
    color: #666;
}

.metric-value {
    font-weight: 700;
    padding: 12px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.risk-low {
    background: #28a745;
    color: white;
}

.bureau-info-grid .info-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.bureau-info-grid .info-label {
    font-weight: 500;
    color: #666;
}

.bureau-info-grid .info-value {
    color: #333;
}

.credit-score-display {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    color: white;
}

.score-circle-large {
    width: 120px;
    height: 120px;
    border: 4px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.score-number-large {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.score-label-large {
    font-size: 0.9rem;
    opacity: 0.9;
}

.score-status-large {
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-section {
    margin-bottom: 20px;
}

.contact-list .contact-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

    .contact-list .contact-item i {
        margin-right: 10px;
        width: 20px;
    }

.address-timeline .address-item {
    display: flex;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.address-date {
    min-width: 100px;
    font-weight: 600;
    color: #666;
}

.address-details {
    flex: 1;
    margin-left: 15px;
}

.address-category {
    margin-bottom: 5px;
}

.address-text {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
}

.portfolio-breakdown .portfolio-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.portfolio-bar {
    width: 50%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    margin-right: 15px;
}

    .portfolio-bar .bar-fill {
        height: 100%;
        border-radius: 4px;
    }

.portfolio-info {
    display: flex;
    flex-direction: column;
}

.portfolio-name {
    font-weight: 500;
    color: #333;
    line-height:1.5;
}

.portfolio-count {
    font-size: 0.85rem;
    color: #666;
}

.account-summary-grid .summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.summary-label {
    font-weight: 500;
    color: #666;
}

.summary-value {
    font-weight: 600;
    color: #333;
}

.enquiry-summary-cards .enquiry-stat-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.enquiry-stat-card .stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.enquiry-stat-card .stat-label {
    font-size: 0.9rem;
    color: #666;
}

.payment-legend {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.legend-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.payment-patterns .pattern-item {
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.pattern-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.pattern-timeline .timeline-months {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.month-item {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

    .month-item.standard {
        background: #d4edda;
        color: #155724;
    }

    .month-item.no-history {
        background: #fff3cd;
        color: #856404;
    }

    .month-item.overdue {
        background: #f8d7da;
        color: #721c24;
    }

.pattern-note {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
}

.payment-history-bar {
    display: inline-block;
    width: 100px;
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    margin-right: 10px;
}

    .payment-history-bar .bar-fill {
        height: 100%;
        border-radius: 3px;
    }

.summary-card {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.summary-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.summary-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

.risk-factors .alert {
    border-left: 4px solid #ffc107;
}
.risk-medium {
    background: #ffc107;
    color: #333;
}

.risk-high {
    background: #dc3545;
    color: white;
}

.verification-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.verification-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    font-weight: 500;
}

    .verification-item.verified {
        color: #28a745;
    }

    .verification-item.pending {
        color: #ffc107;
    }

    .verification-item.warning {
        color: #dc3545;
    }

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .action-buttons .btn {
        justify-content: flex-start;
        text-align: left;
        border-radius: 8px;
        padding: 8px 15px;
        font-size: 13px;
        font-weight: 500;
    }

/* Transaction Pattern Analysis */
.pattern-analysis {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.transaction-metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e0e6ed;
}

    .metric-row:last-child {
        border-bottom: none;
    }

.metric-name {
    color: #666;
    font-weight: 500;
}

.metric-value {
    font-weight: 600;
    color: #333;
}

.transaction-categories {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.category-breakdown {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-bar {
    background: #e0e6ed;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.category-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-name {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.category-percent {
    font-weight: 600;
    color: #667eea;
    font-size: 14px;
}

/* Case Analysis Styles */
.case-match-details {
    padding: 20px;
}

.match-scores {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
}

.match-score {
    text-align: center;
}

.score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

    .score-circle.score-high {
        background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    }

    .score-circle.score-perfect {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    }

.score-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.case-alert {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

    .case-alert i {
        font-size: 2rem;
        margin-bottom: 10px;
        display: block;
    }

    .case-alert h6 {
        margin-bottom: 8px;
        font-weight: 600;
    }

.case-info-grid h6, .party-details h6 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0e6ed;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.info-label {
    font-weight: 500;
    color: #666;
    font-size: 14px;
}

.info-value {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    text-align: right;
}

.case-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

    .case-actions .btn {
        border-radius: 8px;
        padding: 10px 20px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

        .case-actions .btn:hover {
            transform: translateY(-2px);
        }

/* Responsive Design */
@media (max-width: 768px) {
    .main-card {
        margin: 10px;
    }

    .form-section {
        padding: 20px;
    }

    .tab-content {
        padding: 20px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .document-grid {
        grid-template-columns: 1fr;
    }

    .match-scores {
        flex-direction: column;
        gap: 20px;
    }

    .case-actions {
        flex-direction: column;
    }

        .case-actions .btn {
            width: 100%;
        }

    .financial-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .risk-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Utility Classes */
.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-info {
    color: #17a2b8 !important;
}

.text-primary {
    color: #667eea !important;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-info {
    background-color: #17a2b8 !important;
}

.bg-primary {
    background-color: #667eea !important;
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

/* Print Styles */
@media print {
    .main-card {
        box-shadow: none;
        margin: 0;
    }

    .nav-tabs-modern,
    .case-actions,
    .action-buttons {
        display: none !important;
    }

    .tab-content {
        padding: 0;
    }

    .data-section {
        break-inside: avoid;
        margin-bottom: 20px;
        border: 1px solid #ccc;
    }
}
.utilization-metrics .metric-item {
    margin-bottom: 50px;
}
.green-bg {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}
.financial-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid transparent;
    transition: transform 0.2s;
    margin-bottom: 15px;
}

.financial-card:hover {
    transform: translateY(-2px);
}

.financial-card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
}

.financial-card .amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.financial-card .label {
    color: #666;
    font-size: 0.9rem;
}

.financial-metric {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: bold;
}

.category-breakdown .category-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.category-bar {
    width: 80px;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    margin-right: 15px;
}

    .category-bar .bar-fill {
        height: 100%;
        border-radius: 4px;
    }

.category-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.category-name {
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.category-percent {
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
}

.category-amount {
    font-size: 0.8rem;
    color: #28a745;
    font-weight: 500;
    margin-top: 2px;
}

.balance-stat {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
}

    .balance-stat .stat-number {
        font-size: 1.3rem;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .balance-stat .stat-label {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 3px;
    }

.section-badge {
    font-size: 0.8rem;
}

.data-section {
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

    .section-header h5, .section-header h6 {
        margin: 0;
        color: #333;
    }

.balance-tracking-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.income-obligations-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.recurring-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}
.utilization-chart{
    width:100%;
    height:100%;
}
.pageheading {
    font-size: 17px !important;
    color:#0C016F;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.085px;
    margin-bottom:20px;
}
.pageSubheading {
    font-size: 14px !important;
    color: #0C016F;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.085px;
    margin-bottom: 10px;
}
.date-range-group {
    border: 2px solid #E5E7EF;
    border-radius: 10px;
    background: #fff !important;
}
.date-range-group input {
    border:none !important;
    background:#fff !important;
    border-radius:10px 0px 0px 10px !important;
    
}
.date-range-group span{
    background:#fff  !important;
    border:none!important;
    border-radius:0px 10px 10px 0px !important;
}
.form-group {
    margin-bottom: 16px;
}
.userName{
    font-size:14px;
    font-weight:600;
}
    .userName .cstId {
        font-weight: 400;
        margin-left: 20px;
        color: #8C8AA2;
    }

.alertcard {
    border-radius: 10px;
    padding: 12px 16px;
    background: #FFF;
    margin: 10px 0px;
    box-shadow: 0 5px 24px 0 rgba(0, 0, 0, 0.08);
}
    .alertcard table{
        margin:10px 0px;
    }
    .alertcard table thead th {
        background: #fff;
        color: #8C8AA2 !important;
        font-weight: 400;
        padding: 5px;
        text-transform:capitalize;
    }
    .alertcard table td {
        padding: 5px;
    }
    .alertcard table tr{
        border:none;
    }
.notebar {
    padding: 10px;
   
    display:flex;
}
.bgnote {
    background: linear-gradient(90deg, #FFF8E8 0%, #E6EDFF 100%);
}
.notelabel {
    color: #8C8AA2;
    font-size: 11px;
    margin: 0px 5px;
}
.noteval {
    color: #0C016F;
    font-size:12px;
}
.notebarvalues {
    padding:0px 15px;
    position:relative;
    
}
.notebarvalues:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background-color: #ccc;
}
.alrtdetailsBox {
    display:flex;
    flex-wrap:wrap;
    padding: 10px;
}
.alrtdetailslabel {
    color: #8C8AA2;
    font-size: 11px;
    white-space:nowrap;
    display:block;
}
.alrtval {
    color: #0C016F;
    font-size: 12px;
}
p.alrtdetailsValue {
    padding: 10px 15px !important;
    
}
.alertaccordionbody {
    border-top: 1px solid #C8CDE5;
}
.table-primary th {
    background: #FCF8EC !important;
    color: #00194C !important;
    font-size: 11px !important;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    white-space:nowrap;
}
table td {
    font-size: 11px !important;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    white-space: nowrap;
    line-height: 16px;
}
.alertcard table td {
    white-space: normal;
}

.subtitleNote {
    padding: 0px 12px;
    font-size: 15px !important;
    background: linear-gradient(90deg, #0329FF 0%, #9E0DB7 100%);
    background-clip: initial;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.listCard {
    border-radius: 10px;
    background: rgba(255, 225, 189, 0.50);
    padding: 16px 12px;
    height:100px;
}
    .listCard div{
padding:4px 4px;
    }
    .bgVoilet {
        background: rgba(221, 216, 253, 0.50);
    }
.bggreen {
    background: rgba(207, 254, 172, 0.50);
}
.listCard .listName {
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    color: #0C016F;
}
.listCard .listcount {
    font-size: 17px;
    font-weight: 600;
    color: #0C016F;
}
.portfolioslistbox {
    border-radius: 10px;
    background: linear-gradient(180deg, #77A9FF 0%, #B4EEEF 100%);
}

.custom-legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    margin-right:5px;
}

.color-box {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border-radius: 3px;
}

.count-text {
    font-weight: bold;
    width: 50px;
    text-align: right;
    margin-left: auto;
}

.percentage-text {
    width: 40px;
    text-align: right;
    color: #6c757d; /* Muted gray for percentage */
}
#caseStatusChart{
    height:200px !important;
    padding:10px;
    display:flex;
    justify-content:center;
    align-items:center;
}
.chartheading {
    font-size: 14px !important;
    font-style: normal;
    font-weight: 600;
    color: #0C016F;
    padding-bottom:14px;
}

.portfolioslistbox {
    padding: 16px;
    border-radius: 10px;
    background: linear-gradient(180deg, #77A9FF 0%, #B4EEEF 100%);
    height:500px;
    overflow-x:auto;
}
.portfolioheading {
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
}
.listtableheader{
    padding-top:20px;
    display:flex;
    justify-content:space-between;
    color:#FFF;
    width:100%;
    font-size:12px;
}
.portlist{
   margin:5px 0px;
   background:#FFF;
   padding:10px 12px;
   display:flex;
   font-size:10px;
   justify-content:space-between;
   border-radius:2px;
}
.dashboardews .card{
    padding:10px;
    margin-bottom:16px;
}
.highriskImgbox{
    height:100px;
    width:100px;
}
.highriskImgbox img{
    width:100%;
    height:100%;
}
.highriskHeading {
    color: #0C016F;
    font-size:24px;
    font-weight:600;
    padding:10px 0px;
}
.highriskSubheading {
    color: #FF8500;
}
.listicon {
    margin-bottom:8px;
    height:14px;
}
#alertListTable_wrapper .dt-length, #alertListTable_wrapper .dt-search {
    display: none !important;
}
#SignalMasterListTable_wrapper .dt-length,
#SignalMasterListTable_wrapper .dt-search,
#CasesListTable_wrapper .dt-search,
#CasesListTable_wrapper .dt-length,
#BorrowerMasterTable_wrapper .dt-search,
#BorrowerMasterTable_wrapper .dt-length,
#BulkActionTable_wrapper .dt-length,
#BulkActionTable_wrapper .dt-search,
#HousingPriceTrend_wrapper .dt-length,
#HousingPriceTrend_wrapper .dt-search {
    display: none !important;
}
.clickrow {
    cursor: pointer;
}
.nav-link svg path {
    fill: #0C016F !important;
}
.nav-link:hover svg path {
    fill: #FF8500 !important;
}
.nav-link.active svg path {
    fill: #fff !important;
}
.DetailsInfoHeader {
    font-size: 14px !important;
    font-style: normal;
    font-weight: 600;
}
.updateCaseBox {
    background: #F2F5FF;
    border-radius:6px;
    padding:16px;
}
    .updateCaseBox .notebar {
        padding: 10px 0px;
    }
    .updateCaseBox .notelabel{
        margin:0px 5px 0px 0px;
    }
    .updateCaseBox .notebarvalues{
        padding:0px 15px 0px 0px;
    }
::-webkit-scrollbar {
    width: 2px;
    height:5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
.dt-length .form-control, .dt-length .form-select {
    padding: 5px !important;
}
.SumoSelect {
    width: 100% !important;
}

    .SumoSelect > .CaptionCont > span.placeholder {
        color: #000 !important;
        font-style: unset !important;
        min-height: 100% !important;
        height: 21px !important;
        margin: 0px 0px !important;
        font-size: 13px !important;
    }

    .SumoSelect > .CaptionCont {
        border: 1px solid #ccc !important;
        border-radius: 3px !important;
    }

    .SumoSelect .placeholder {
        background: unset !important;
    }

    .SumoSelect > .CaptionCont {
        padding: 8px !important;
    }

.CaptionCont span {
    color: #000 !important;
    font-weight: 500 !important;
}

.SumoSelect > .optWrapper > .options li label {
    text-overflow: initial;
    white-space: normal;
}
.table td,.table th{
    text-align:left !important;
}
.textarea.form-control{
    text-align:left;
}
.nav-link.active-parent {
    background: #FFEEDC;
    
}
.rotate-icon {
    transform: rotate(180deg);
    transition: 0.3s;
}
.subtitledis{
    font-weight:400;
}
.subtitledis strong{
    font-weight:600
}
.pageSubtitle {
    font-size: 12px;
    font-weight: 500;
    color: #0C016F;
}
.maxheighedtable{
    height:200px;
    overflow-y:auto;
}
.portfoliotab .nav-link {
    background: transparent;
    border: none;
    padding: 5px 10px;
    border-radius: 0px;
}

    .portfoliotab .nav-link .pageheading {
        color: #8C8AA2 !important;
    }

    .portfoliotab .nav-link.active {
        background: transparent;
    }

        .portfoliotab .nav-link.active .pageheading {
            color: #0C016F !important;
        }
.redirectionLink {
    text-decoration: none;
    cursor: pointer;
    color: #FF8500;
}

.nav.nav-pills {
    padding: 5px;
    border-radius: 5px;
}

.nav-pills .nav-link {
    color: #00194c;
    padding: 12px 20px;
}

    .nav-pills .nav-link.active {
        background: #FF8500;
        color: #fff;
        border-radius: 10px;
        box-shadow: 0 8px 6px rgba(0, 0, 0, 0.12);
    }

.nav-pills {
    border-radius: 3px;
}

.signalEditContainer .tab-content {
    min-height: auto;
    padding: 20px;
}

.btn-orange {
    background: unset;
    border: 1px solid #FF8500;
    color: #FF8500;
}

.porfolioListgrp {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.portfolioList {
    background: #FFF;
    margin: 2px 5px;
    padding: 8px 14px;
    border-radius: 3px;
    color: #0C016F;
}
.link-btn {
    font-size: 16px;
    text-decoration: none;
    color: #0C016F;
    font-weight: 600;
    margin:20px 0px;
}
.currentFilterBox {
    
    padding: 14px;
    border-radius: 6px;
    background: #EFF3FC;
}
.ruleExicutedBlock{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
}
.rulePositive {
    border: 1px solid #2CA02C;
    background: #D3F2D3;
}
.ruleResultPositive {
   color: #2CA02C;
}
.ruleNegative {
    border: 1px solid #D62728;
    background: #FFE5E5;
}
.ruleResultNegative {
    color: #D62728;
}
.finalRule-list {
    padding: 8px;
    margin: 5px 5px;
    padding: 8px 14px;
    border-radius: 3px;
    color: #0C016F;
}
.portLink{
    font-size:12px;
}
.reports a {
    color: #fff;
}
.report-box {
    display: flex;
    /*justify-content: center;*/
    margin-bottom: 30px;
    align-items: center;
    background: #1f4495;
    /*background-color: #36096d;
    background-image: linear-gradient(315deg, #5f0257 0%, #0e396f 74%);*/
    padding: 12px;
    border-radius: 30px;
}

.reports .report-box:nth-child(odd) {
    background-color: #021a5a;
}

.reports .report-box:nth-child(even) {
    background-color: #1f4495;
}

.report-box h3 {
    font-size: 13px !important;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: #fff !important;
    line-height:2;
}

.colending-wrapper .report-box {
    background: linear-gradient( 135deg,#f26522 0,#fda23f 100%) !important;
}

.reports a {
    color: #fff;
}
 .tool-icon {
     height:30px;
     width:30px;
    background: #fff;
    padding: 8px 10px;
    border-radius: 50%;
    color: #ff8500;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-right:10px;
}

.outline-btn{
    background:none !important;
    border:1px solid #00194c !important;
    color:#00194c;
}
    .outline-btn:hover {
        background: none !important;
        border: 1px solid #00194c !important;
        color: #00194c;
    }