﻿body {
    background: #FFF;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* table css start */
.table thead th {
    background: #3c5aa0;
    color: #FFF;
    font-size: 0.85rem;
}

.table tbody td {
    vertical-align: middle;
    font-size: 0.88rem;
}

.table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.table tbody tr {
    border-radius: 12px;
}

.table-bordered {
    border-radius: 12px;
    overflow: hidden;
}
/* medium font weight to all body rows */
tbody tr {
    font-weight: 500
}
    /* Total row bold and with a subtle background */
    tbody tr.fw-bold {
        font-weight: 700;
        background-color: #f0f9ff;
    }
/* Zone column (first column) stronger */
tbody td:first-child {
    font-weight: 600;
    color: #b91c1c;
}
/* Color data cells */
tbody td:nth-child(2) {
    color: #0c4a6e;
}
/* Opening Demand ₹ */
tbody td:nth-child(3) {
    color: #0369a1;
}
/* Till Now Total Demand ₹ */
tbody td:nth-child(4) {
    color: #15803d;
}
/* Today's Live Collection ₹ */
tbody td:nth-child(5) {
    color: #15803d;
}
/* Challan Time ₹ */
tbody td:nth-child(6) {
    color: #15803d;
}
/* Total Collection ₹ */
tbody td:nth-child(7) {
    color: #15803d;
}
/* Net Collection ₹ */
tbody td:nth-child(8) {
    color: #15803d;
}
/* Property Tax Discount */
tbody td:nth-child(9) {
    color: #15803d;
}
/* Interest Discount */
tbody td:nth-child(10) {
    color: #166534;
}
/* Recovery % */
tbody td:nth-child(11) {
    color: #1e3a8a;
}
/* Balance ₹ */

/* Bold first cell (Zone name) */
tbody td:first-child {
    font-weight: bold;
    color: #b91c1c;
}
/* Total row background */
tbody tr.fw-bold td {
    font-weight: bold;
    background-color: #f0f9ff;
}
/* table css end */



/* search button css start */
.btn-success {
    background: linear-gradient(to right, #22c55e, #16a34a);
    border: none;
    font-weight: 600;
    color: white;
    transition: background 0.3s ease;
}

    .btn-success:hover {
        background: linear-gradient(to right, #16a34a, #15803d);
    }
/* search button css end */


/* filter and search input css start */
.form-select,
.form-control {
    border-radius: 10px;
    border: 1px solid #d1d5db;
}
/* filter and search input css end */


/* download button of cards start */
.custom-icon-btn {
    background: transparent;
    border: none;
}

    .custom-icon-btn:hover {
        background: #dbeafe;
        border: none;
    }

    .custom-icon-btn i {
        color: #16a34a;
        transition: color 0.3s ease;
    }

    .custom-icon-btn:hover i {
        color: #15803d;
    }
/* download button of cards end */


/* Custom card css start */
.box {
    color: #1f2937;
    padding: 20px;
    border-radius: 12px;
    border-color: #2563eb;
    text-align: center;
    margin-bottom: 9px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

    .box:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgb(200, 220, 250);
    }

.title {
    font-weight: 600;
    color: #111827;
    margin-bottom: 5px;
}

.value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 5px;
}
.bg-neft {
    background: linear-gradient(135deg, #dbeafe, #f0f6ff);
}
/* Custom card css end */


/* cards payment details css start */
.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
}

.epay {
    background-color: #4caf50;
}

.pos {
    background-color: #2196f3;
}

.cfc {
    background-color: #ff9800;
}

.offline {
    background-color: #9c27b0;
}
/* Custom cards payment details css end */


/* chart css start */
.card {
    border: 2px solid #dbeafe;
    box-shadow: 0 1px 15px rgba(59, 130, 246, 0.2) !important;
    transition: box-shadow 0.3s ease !important;
    background-color: #ffffff;
    border-radius: 1rem;
}
canvas {
    border-radius: 0.5rem;
}
/*  chart css end */


/*live payment card start*/
.chat-container {
    width: 320px;
    margin-left: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 12px;
    overflow: hidden;
}


.chat-header .title {
    font-weight: bold;
    font-size: 18px;
}

.live-indicator {
    display: flex;
    align-items: center;
    font-size: 14px;
}

    .live-indicator .dot {
        width: 10px;
        height: 10px;
        background: red;
        border-radius: 50%;
        margin-right: 8px;
        animation: blink 1s infinite;
    }

@@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.chat-body {
    max-height: 75px;
    overflow-y: auto;
    background: #f0f2f5;
}

.chat-bubble {
    background: #ffffff;
    padding: 9px 16px;
    border-radius: 12px;
    margin-bottom: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    animation: slideIn 0.4s ease forwards;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.bubble-left {
    border-left: 4px solid #0072ff;
}

.chat-info {
    flex-grow: 1;
}

    .chat-info .name {
        font-weight: bold;
        color: #333;
    }

    .chat-info .details {
        color: #555;
        font-size: 14px;
        margin-top: 4px;
    }

.timestamp {
    font-size: 12px;
    color: #999;
    margin-left: 12px;
    white-space: nowrap;
}

@@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*live payment card end*/


/*css form mobile screen start*/ 
@media (max-width: 767.98px) {
    .chat-container {
        margin-top: 1rem;
        width: 400px;
    }
}
@media (max-width: 520px) {
    .paymentchart {
        height: 290px;
    }   
}
/*css form mobile screen end*/ 