        .main-content {
            width: 100%;
            max-width: 100%;
            margin: 0;
            padding: 30px 40px;
            background-color: #fff;
            border-radius: 0;
            box-shadow: none;
            position: relative;
            top: 0px;
            font-family: Arial, sans-serif;
        }


        h2 {
            font-size: 22px;
            margin-bottom: 20px;
            font-weight: 600;
            cursor: pointer;
        }

        /* Tabs */
        .tabs {
            display: flex;
            list-style: none;
            margin-bottom: 30px;
            padding: 0;
            border-bottom: 1px solid #ccc;
        }

        .tabs li {
            margin-right: 40px;
            font-size: 14px;
            font-weight: 600;
            padding-bottom: 10px;
            cursor: pointer;
            color: #000;
            user-select: none;
        }

        .tabs li.active {
            border-bottom: 3px solid #003366;
            font-weight: 700;
            color: #003366;
        }

        /* Form Thông tin chung */
        .merchant-form {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .merchant-form label {
            font-weight: 600;
            font-size: 13px;
            color: #333;
            margin-bottom: 6px;
            display: block;
        }

        .merchant-form input,
        .merchant-form select {
            padding: 10px;
            font-size: 14px;
            border: 1px solid #ccc;
            border-radius: 8px;
            width: 100%;
            box-sizing: border-box;
            outline: none;
            transition: border-color 0.2s ease;
        }

        .merchant-form input:disabled {
            background-color: #f9f9f9;
            cursor: not-allowed;
        }

        .merchant-form input:focus,
        .merchant-form select:focus {
            border-color: #003366;
        }

        /* Status indicator */
        .status-indicator {
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 600;
            font-size: 14px;
        }

        .status-indicator .dot {
            width: 12px;
            height: 12px;
            background-color: #00c853;
            border-radius: 50%;
            display: inline-block;
        }

        /* Last payment info & request support */
        .last-payment-info,
        .request-support {
            font-size: 14px;
            color: #333;
            margin-bottom: 20px;
            grid-column: span 2;
            background: #f5f5f5;
            padding: 15px 20px;
            border-radius: 8px;
        }

        .last-payment-info h3,
        .request-support h3 {
            font-size: 16px;
            font-weight: 700;
            margin-top: 0;
            margin-bottom: 10px;
            color: #003366;
        }

        .last-payment-info p,
        .request-support p {
            margin: 4px 0;
        }

        /* Save button */
        .save-button {
            display: flex;
            justify-content: flex-end;
            margin-top: 30px;
            grid-column: span 2;
        }

        .save-button button {
            padding: 10px 36px;
            background-color: #003366;
            color: #fff;
            font-size: 14px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: background-color 0.2s ease;
        }

        .save-button button:hover {
            background-color: #002244;
        }

        /* Tab nội dung chung và mail */
        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /* Lịch sử mail */
        .tab-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            font-size: 14px;
            font-weight: 600;
            position: relative;
        }

        .tab-header span {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .tab-header span.green-dot {
            color: #00c853;
        }

        .tab-header span.red-dot {
            color: #d50000;
        }

        .tab-header input[type="text"] {
            padding: 6px 10px;
            border: 1px solid #ccc;
            border-radius: 6px;
            width: 240px;
            font-size: 14px;
        }

        .tab-header button {
            padding: 6px 14px;
            border-radius: 6px;
            border: 1px solid #ccc;
            background: white;
            cursor: pointer;
            font-size: 16px;
        }

        /* Bảng mail */
        table.mail-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 12px;
            font-size: 14px;
        }

        table.mail-table thead {
            background-color: #003366;
            color: white;
            font-weight: 700;
        }

        table.mail-table th,
        table.mail-table td {
            padding: 12px 10px;
            border: 1px solid #ddd;
            text-align: left;
            vertical-align: middle;
        }

        table.mail-table tbody tr:hover {
            background-color: #f1f7ff;
        }

        /* Status màu xanh đỏ trong bảng */
        .status-success {
            color: #00c853;
            font-weight: 600;
        }

        .status-fail {
            color: #d50000;
            font-weight: 600;
        }

        /* Filter popup */
        .filter-popup {
            position: absolute;
            top: 40px;
            right: 0;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 8px 24px rgb(0 0 0 / 0.15);
            padding: 20px 24px;
            width: 23%;
            font-family: Arial, sans-serif;
            font-size: 14px;
            color: #222;
            display: none;
            z-index: 1000;
        }

        .filter-popup label {
            font-weight: 700;
            margin-bottom: 10px;
            display: block;
        }

        .filter-popup input[type="date"] {
            width: 110px;
            padding: 8px 10px;
            margin-right: 10px;
            border: 1px solid #ccc;
            border-radius: 6px;
            font-size: 14px;
            box-sizing: border-box;
        }

        .filter-popup .checkbox-group {
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .filter-popup .checkbox-group input[type="checkbox"] {
            width: 16px;
            height: 16px;
            cursor: pointer;
        }

        .filter-popup .checkbox-group label {
            font-weight: 600;
            cursor: pointer;
        }

        .filter-popup button {
            width: 100%;
            background-color: #003366;
            color: white;
            padding: 10px 0;
            font-weight: 700;
            font-size: 14px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .filter-popup button:hover {
            background-color: #001f4d;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .merchant-form {
                grid-template-columns: 1fr;
            }

            .save-button {
                justify-content: center;
            }

            .filter-popup {
                right: 10px;
                top: 140px;
                width: 90%;
            }
        }

        /* ô có status nổi */
        .merchant-form .cell-with-status {
            position: relative;
        }

        .merchant-form .status-indicator.floating {
            position: absolute;
            right: 0;
            /* chỉnh nếu cần: 8px/12px */
            top: -2px;
            /* chỉnh nếu cần */
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .merchant-form .status-indicator .dot {
            width: 10px;
            height: 10px;
            border-radius: 999px;
            display: inline-block;
        }