 :root {
            --primary-color: #2563eb;
            --primary-hover: #1d4ed8;
            --secondary-color: #64748b;
            --success-color: #059669;
            --danger-color: #dc2626;
            --warning-color: #d97706;
            --info-color: #0891b2;
            --dark-color: #1f2937;
            --light-color: #f8fafc;
            --border-color: #e2e8f0;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --plain-color: #ffffff;
            --background-color: #f8fafc;
        }

        body {
            background-color: var(--background-color);
            font-family: 'Inter', sans-serif;
            color: var(--text-primary);
            padding: 0;
            margin: 0;
        }

        .container-fluid {
            width: 100%;
            padding-right: 1.5rem;
            padding-left: 1.5rem;
            margin-right: auto;
            margin-left: auto;
        }

        /* Unified Customer Profile Card */
        .customer-profile-card {
            background-color: var(--plain-color);
            box-shadow: var(--shadow-sm);
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 2rem;
            position: relative;
        }

        .header-top-border {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background-color: var(--primary-color);
        }

        .header-content-wrapper {
            padding: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1.5rem;
        }

        .customer-info-section {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .customer-avatar-container {
            width: 80px;
            height: 80px;
        }

        .customer-avatar {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }

        .customer-details {
            color: var(--text-primary);
        }

        .customer-name {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

        .customer-address {
            font-size: 0.95rem;
            color: var(--text-secondary);
            margin-bottom: 0.5rem;
        }

        .customer-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            color: var(--text-secondary);
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
        }

        .header-actions {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 0.5rem;
        }

        .customer-id-display {
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        .btn-primary-action, .btn-secondary-action {
            background: var(--primary-color);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: background 0.2s ease, transform 0.2s ease;
            box-shadow: var(--shadow-sm);
            border: none;
            font-size: 0.9rem;
        }

        .btn-primary-action:hover, .btn-secondary-action:hover {
            background: var(--primary-hover);
            transform: translateY(-1px);
        }

        /* Navigation Styles */
        .customer-nav-container {
            background: var(--light-color);
            padding: 0.5rem 2rem;
            border-top: 1px solid var(--border-color);
        }

        .customer-nav {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            gap: 0.25rem;
            overflow-x: auto;
        }

        .customer-nav .nav-item {
            flex-shrink: 0;
        }

        .customer-nav .nav-link {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.25rem;
            border-radius: 8px;
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .customer-nav .nav-link:hover {
            background: var(--plain-color);
            color: var(--text-primary);
        }

        .customer-nav .nav-link.active {
            background: var(--primary-color);
            color: white;
            box-shadow: var(--shadow-sm);
        }

        /* General Content Card Styling */
        .content-card {
            background: var(--plain-color);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            margin-bottom: 2rem;
            border-radius: 12px;
        }

        .card-header {
            padding: 1.5rem 2rem;
            background: #fafbfc;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            border-bottom: 1px solid var(--border-color);
        }

        .card-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-primary);
            margin: 0;
        }

        .card-body {
            padding: 2rem;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .info-item {
            display: flex;
            flex-direction: column;
            border-radius: 8px;
            padding: 1.5rem;
            background: #fdfdfe;
            box-shadow: var(--shadow-sm);
        }

        .info-item.full-width {
            grid-column: 1 / -1;
        }

        .info-item label {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.25rem;
        }

        .info-item span {
            font-size: 1.1rem;
            color: var(--text-primary);
            font-weight: 500;
        }

        .table-container {
            overflow-x: auto;
        }

        .professional-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.9rem;
        }

        .professional-table thead tr {
            border-bottom: 2px solid #f0f0f0;
        }

        .professional-table th {
            text-align: left;
            padding: 1rem;
            color: var(--text-secondary);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .professional-table td {
            padding: 1rem;
            border-bottom: 1px solid #f9f9f9;
            vertical-align: middle;
            color: var(--text-primary);
        }

        .professional-table tbody tr:last-child td {
            border-bottom: none;
        }

        .pan-number {
            font-family: 'Courier New', Courier, monospace;
            font-weight: 600;
            color: var(--primary-color);
        }

        .expiry-badge {
            background-color: #eef2ff;
            color: var(--info-color);
            padding: 0.3em 0.7em;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.75rem;
        }

        .empty-state {
            text-align: center;
            color: var(--text-secondary);
            padding: 3rem 0;
            font-style: italic;
        }

        .empty-state i {
            font-size: 3rem;
            margin-bottom: 1rem;
            opacity: 0.3;
        }

        .action-dropdown {
            position: relative;
            display: inline-block;
        }

        .action-btn {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-secondary);
            padding: 0.5rem;
            border-radius: 8px;
            transition: background 0.2s ease;
        }

        .action-btn:hover {
            background: var(--light-color);
        }


        .dropdown-menu {
            display: none;
            position: absolute;
            right: 0;
            top: 100%;
            background: white;
            border: none;
            border-radius: 8px;
            box-shadow: var(--shadow-md);
            z-index: 100;
            min-width: 150px;
            padding: 0.5rem 0;
            list-style: none;
            margin: 0.25rem 0 0 0;
        }

        .dropdown-menu.show {
            display: block;
        }

        .dropdown-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1.25rem;
            color: var(--text-primary);
            text-decoration: none;
            transition: background 0.2s ease;
            white-space: nowrap;
        }

        .dropdown-item:hover {
            background: var(--light-color);
        }

        .dropdown-item i {
            font-size: 0.9rem;
            width: 1rem;
        }

        .dropdown-item.text-danger:hover {
            background: #fecaca;
            color: var(--danger-color);
        }

        .dropdown-divider {
            margin: 0.5rem 0;
            border-color: #e0e0e0;
        }

     .filter-group {
    display: flex;
    align-items: end;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group .form-group {
    flex: 1;
    min-width: 200px;
}

.filter-group .form-group input {
    height: 45px;
    font-size: 16px; /* Optional: larger text in inputs */
}

.btn-filter {
    height: 48px;                /* Match or slightly exceed input height */
    padding: 0 70px;             /* More horizontal padding for a bigger look */
    font-size: 16px;             /* Bigger text */
    font-weight: 500;            /* Slightly bolder */
    white-space: nowrap;
}
 #transactions-container {
    margin-top: 2rem; /* or any spacing you prefer */
}

   /* Default tab look */
.nav-pills.customer-nav .nav-link {
    color: #555555; /* normal text color */
    background-color: #f8f9fa; /* normal background */
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* When hovered */
.nav-pills.customer-nav .nav-link:hover {
    color: #0d6efd; /* Bootstrap primary blue */
}

/* When clicked (active) */
.nav-pills.customer-nav .nav-link.active {
    background-color: #0d6efd; /* blue background */
    color: #fff !important; /* white text */
}
